diff --git a/docsource/modules180-190.rst b/docsource/modules180-190.rst index e7f797ce0766..7551e4cb91e2 100644 --- a/docsource/modules180-190.rst +++ b/docsource/modules180-190.rst @@ -1138,13 +1138,13 @@ Module coverage 18.0 -> 19.0 +---------------------------------------------------+----------------------+-------------------------------------------------+ | website_crm_livechat | |No DB layout changes. | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| website_crm_partner_assign | | | +| website_crm_partner_assign |Done | | +---------------------------------------------------+----------------------+-------------------------------------------------+ | website_crm_sms | | | +---------------------------------------------------+----------------------+-------------------------------------------------+ | website_customer | | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| website_event | | | +| website_event |Done | | +---------------------------------------------------+----------------------+-------------------------------------------------+ | website_event_booth | | | +---------------------------------------------------+----------------------+-------------------------------------------------+ @@ -1164,7 +1164,7 @@ Module coverage 18.0 -> 19.0 +---------------------------------------------------+----------------------+-------------------------------------------------+ | |del| website_event_meet_quiz | | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| website_event_sale | | | +| website_event_sale |Done | | +---------------------------------------------------+----------------------+-------------------------------------------------+ | website_event_track | | | +---------------------------------------------------+----------------------+-------------------------------------------------+ @@ -1186,7 +1186,7 @@ Module coverage 18.0 -> 19.0 +---------------------------------------------------+----------------------+-------------------------------------------------+ | website_links | | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| website_livechat | | | +| website_livechat |Done | | +---------------------------------------------------+----------------------+-------------------------------------------------+ | website_mail | | | +---------------------------------------------------+----------------------+-------------------------------------------------+ @@ -1238,7 +1238,7 @@ Module coverage 18.0 -> 19.0 +---------------------------------------------------+----------------------+-------------------------------------------------+ | website_sale_wishlist | | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| website_slides | | | +| website_slides |Done | | +---------------------------------------------------+----------------------+-------------------------------------------------+ | website_slides_forum | | | +---------------------------------------------------+----------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/website_blog/19.0.1.1/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_blog/19.0.1.1/upgrade_analysis_work.txt new file mode 100644 index 000000000000..b56d919354a6 --- /dev/null +++ b/openupgrade_scripts/scripts/website_blog/19.0.1.1/upgrade_analysis_work.txt @@ -0,0 +1,42 @@ +---Models in module 'website_blog'--- +---Fields in module 'website_blog'--- +website_blog / blog.blog / is_seo_optimized (boolean) : is now stored +website_blog / blog.blog / sequence (integer) : NEW hasdefault: default +website_blog / blog.post / footer_visible (boolean) : NEW hasdefault: default +website_blog / blog.post / header_visible (boolean) : NEW hasdefault: default +website_blog / blog.post / is_seo_optimized (boolean) : is now stored +website_blog / blog.tag / is_seo_optimized (boolean) : is now stored + +# NOTHING TO DO + +---XML records in module 'website_blog'--- +DEL ir.asset: website_blog.s_blog_posts_000_js +NEW ir.ui.view: website_blog.blog_post_info +NEW ir.ui.view: website_blog.dynamic_filter_template_blog_post_single_aside +NEW ir.ui.view: website_blog.dynamic_filter_template_blog_post_single_badge +NEW ir.ui.view: website_blog.dynamic_filter_template_blog_post_single_circle +NEW ir.ui.view: website_blog.dynamic_filter_template_blog_post_single_full +NEW ir.ui.view: website_blog.s_blog_posts_big_picture +NEW ir.ui.view: website_blog.s_blog_posts_card +NEW ir.ui.view: website_blog.s_blog_posts_horizontal +NEW ir.ui.view: website_blog.s_blog_posts_list +NEW ir.ui.view: website_blog.s_blog_posts_single_aside +NEW ir.ui.view: website_blog.s_blog_posts_single_badge +NEW ir.ui.view: website_blog.s_blog_posts_single_circle +NEW ir.ui.view: website_blog.s_blog_posts_single_full +NEW ir.ui.view: website_blog.s_dynamic_snippet_blog_posts_card_preview_data +NEW ir.ui.view: website_blog.s_dynamic_snippet_blog_posts_horizontal_preview_data +NEW ir.ui.view: website_blog.s_dynamic_snippet_blog_posts_list_preview_data +NEW ir.ui.view: website_blog.s_dynamic_snippet_blog_posts_single_aside_preview_data +NEW ir.ui.view: website_blog.s_dynamic_snippet_blog_posts_single_badge_preview_data +NEW ir.ui.view: website_blog.s_dynamic_snippet_blog_posts_single_circle_preview_data +NEW ir.ui.view: website_blog.s_dynamic_snippet_blog_posts_single_full_preview_data +NEW ir.ui.view: website_blog.s_dynamic_snippet_template_category +DEL ir.ui.view: website_blog.blog_searchbar_input_snippet_options +DEL ir.ui.view: website_blog.opt_blog_post_select_to_comment +DEL ir.ui.view: website_blog.opt_blog_post_select_to_tweet +DEL ir.ui.view: website_blog.s_blog_posts_options +DEL ir.ui.view: website_blog.s_dynamic_snippet_options_template +DEL ir.ui.view: website_blog.snippet_options + +# NOTHING TO DO diff --git a/openupgrade_scripts/scripts/website_crm_iap_reveal/19.0.1.1/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_crm_iap_reveal/19.0.1.1/upgrade_analysis_work.txt new file mode 100644 index 000000000000..0b22401fe03e --- /dev/null +++ b/openupgrade_scripts/scripts/website_crm_iap_reveal/19.0.1.1/upgrade_analysis_work.txt @@ -0,0 +1,7 @@ +---Models in module 'website_crm_iap_reveal'--- +---Fields in module 'website_crm_iap_reveal'--- +---XML records in module 'website_crm_iap_reveal'--- +NEW ir.model.constraint: website_crm_iap_reveal.constraint_crm_reveal_view_ip_rule_id +NEW ir.model.constraint: website_crm_iap_reveal.constraint_crm_reveal_view_state_create_date + +# NOTHING TO DO diff --git a/openupgrade_scripts/scripts/website_crm_partner_assign/19.0.1.2/pre-migration.py b/openupgrade_scripts/scripts/website_crm_partner_assign/19.0.1.2/pre-migration.py new file mode 100644 index 000000000000..0d127a823231 --- /dev/null +++ b/openupgrade_scripts/scripts/website_crm_partner_assign/19.0.1.2/pre-migration.py @@ -0,0 +1,19 @@ +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.logged_query( + env.cr, + """ + DELETE FROM ir_rule WHERE id IN ( + SELECT imd.res_id FROM ir_model_data imd + WHERE imd.model = 'ir.rule' + AND imd.module = 'website_membership' + AND imd.name IN ( + 'membership_membership_line_public', + 'membership_product_product_public' + ) + ) + """, + ) diff --git a/openupgrade_scripts/scripts/website_crm_partner_assign/19.0.1.2/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_crm_partner_assign/19.0.1.2/upgrade_analysis_work.txt new file mode 100644 index 000000000000..41c426554cf0 --- /dev/null +++ b/openupgrade_scripts/scripts/website_crm_partner_assign/19.0.1.2/upgrade_analysis_work.txt @@ -0,0 +1,52 @@ +---Models in module 'website_crm_partner_assign'--- +model res.partner.grade (moved to partnership) + +# NOTHING TO DO + +---Fields in module 'website_crm_partner_assign'--- +website_crm_partner_assign / res.partner / grade_id (many2one) : module is now 'partnership' ('website_crm_partner_assign') +website_crm_partner_assign / res.partner.grade / _order : module is now 'partnership' ('website_crm_partner_assign') +website_crm_partner_assign / res.partner.grade / active (boolean) : module is now 'partnership' ('website_crm_partner_assign') +website_crm_partner_assign / res.partner.grade / display_name (char) : module is now 'partnership' ('website_crm_partner_assign') +website_crm_partner_assign / res.partner.grade / name (char) : module is now 'partnership' ('website_crm_partner_assign') +website_crm_partner_assign / res.partner.grade / sequence (integer) : module is now 'partnership' ('website_crm_partner_assign') +website_crm_partner_assign / res.users / grade_id (many2one) : module is now 'partnership' ('website_crm_partner_assign') + +# NOTHING TO DO + +---XML records in module 'website_crm_partner_assign'--- +DEL ir.actions.act_window: website_crm_partner_assign.res_partner_grade_action [renamed to partnership module] +DEL ir.model.access: website_crm_partner_assign.access_res_partner_grade [renamed to partnership module] +DEL ir.model.access: website_crm_partner_assign.access_res_partner_grade_employee +DEL ir.model.access: website_crm_partner_assign.access_res_partner_grade_manager [renamed to partnership module] +DEL ir.model.access: website_membership.access_membership_membership_line_portal +DEL ir.model.access: website_membership.access_membership_membership_line_public +DEL ir.model.access: website_membership.access_membership_product_product_public + +# NOTHING TO DO + +DEL ir.rule: website_membership.membership_membership_line_public (noupdate) +DEL ir.rule: website_membership.membership_product_product_public (noupdate) + +# DONE: pre-migration: delete noupdate ir.rule records + +DEL ir.ui.menu: website_crm_partner_assign.crm_menu_resellers +DEL ir.ui.menu: website_crm_partner_assign.menu_res_partner_grade_action [renamed to partnership module] +NEW ir.ui.view: website_crm_partner_assign.contact_details +NEW ir.ui.view: website_crm_partner_assign.index_filter_by_industry +DEL ir.ui.view: website_crm_partner_assign.res_partner_grade_view_search +DEL ir.ui.view: website_crm_partner_assign.snippet_options +DEL ir.ui.view: website_crm_partner_assign.view_partner_grade_tree +DEL ir.ui.view: website_crm_partner_assign.view_res_partner_filter_assign +DEL ir.ui.view: website_membership.index +DEL ir.ui.view: website_membership.opt_index_country +DEL ir.ui.view: website_membership.opt_index_google_map +DEL ir.ui.view: website_membership.partner +DEL ir.ui.view: website_membership.product_template_view_form +DEL ir.ui.view: website_membership.product_template_view_tree +DEL ir.ui.view: website_membership.snippet_options +DEL res.partner.grade: website_crm_partner_assign.res_partner_grade_data_bronze [renamed to partnership module] +DEL res.partner.grade: website_crm_partner_assign.res_partner_grade_data_gold [renamed to partnership module] +DEL res.partner.grade: website_crm_partner_assign.res_partner_grade_data_silver [renamed to partnership module] + +# NOTHING TO DO diff --git a/openupgrade_scripts/scripts/website_customer/19.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_customer/19.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..0e2734b8f8fb --- /dev/null +++ b/openupgrade_scripts/scripts/website_customer/19.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,6 @@ +---Models in module 'website_customer'--- +---Fields in module 'website_customer'--- +---XML records in module 'website_customer'--- +DEL ir.ui.view: website_customer.snippet_options + +# NOTHING TO DO diff --git a/openupgrade_scripts/scripts/website_event/19.0.1.4/post-migration.py b/openupgrade_scripts/scripts/website_event/19.0.1.4/post-migration.py new file mode 100644 index 000000000000..b4ce8a1c1842 --- /dev/null +++ b/openupgrade_scripts/scripts/website_event/19.0.1.4/post-migration.py @@ -0,0 +1,9 @@ +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + """Map menu_type values removed in 19.0 to the new "other" key.""" + env["website.event.menu"].search( + [("menu_type", "in", ("location", "track", "track_proposal"))] + ).menu_type = "other" diff --git a/openupgrade_scripts/scripts/website_event/19.0.1.4/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_event/19.0.1.4/upgrade_analysis_work.txt new file mode 100644 index 000000000000..cc58aca1217a --- /dev/null +++ b/openupgrade_scripts/scripts/website_event/19.0.1.4/upgrade_analysis_work.txt @@ -0,0 +1,65 @@ +---Models in module 'website_event'--- +---Fields in module 'website_event'--- +website_event / event.event / footer_visible (boolean) : NEW hasdefault: default +website_event / event.event / header_visible (boolean) : NEW hasdefault: default +website_event / event.event / is_seo_optimized (boolean) : is now stored +website_event / event.event / location_menu (boolean) : DEL +website_event / event.event / location_menu_ids (one2many) : DEL relation: website.event.menu +website_event / event.event / other_menu_ids (one2many) : NEW relation: website.event.menu +website_event / website.event.menu / is_seo_optimized (boolean) : NEW isfunction: function, stored +website_event / website.event.menu / menu_type (selection) : selection_keys added: [other], removed: [location] +website_event / website.event.menu / seo_name (char) : NEW translate +website_event / website.event.menu / website_meta_description (text): NEW translate +website_event / website.event.menu / website_meta_keywords (char) : NEW translate +website_event / website.event.menu / website_meta_og_img (char) : NEW +website_event / website.event.menu / website_meta_title (char) : NEW translate + +# DONE: remapped removed menu_type values in post-migration + +---XML records in module 'website_event'--- +DEL ir.asset: website_event.s_events_000_js +DEL ir.asset: website_event.s_searchbar_000_js +NEW ir.model.access: website_event.access_event_event_slot_employee +NEW ir.model.access: website_event.access_event_event_slot_portal +NEW ir.model.access: website_event.access_event_event_slot_public +NEW ir.rule: website_event.ir_rule_event_slot_public (noupdate) +NEW ir.ui.view: website_event.dynamic_filter_template_event_event_single_aside +NEW ir.ui.view: website_event.dynamic_filter_template_event_event_single_badge +NEW ir.ui.view: website_event.dynamic_filter_template_event_event_single_card +NEW ir.ui.view: website_event.dynamic_filter_template_event_event_single_entry +NEW ir.ui.view: website_event.dynamic_filter_template_event_event_single_offset +NEW ir.ui.view: website_event.event_calendar_links +NEW ir.ui.view: website_event.event_event_view_form_website_create +NEW ir.ui.view: website_event.modal_slot_registration +NEW ir.ui.view: website_event.opt_event_calendar_block +NEW ir.ui.view: website_event.opt_event_dates_block +NEW ir.ui.view: website_event.opt_event_fixed_sidebar +NEW ir.ui.view: website_event.opt_event_location_block +NEW ir.ui.view: website_event.opt_event_organizer_block +NEW ir.ui.view: website_event.opt_event_registration_block +NEW ir.ui.view: website_event.opt_event_share_block +NEW ir.ui.view: website_event.s_dynamic_snippet_events_single_aside_preview_data +NEW ir.ui.view: website_event.s_dynamic_snippet_events_single_badge_preview_data +NEW ir.ui.view: website_event.s_dynamic_snippet_events_single_card_preview_data +NEW ir.ui.view: website_event.s_dynamic_snippet_events_single_entry_preview_data +NEW ir.ui.view: website_event.s_dynamic_snippet_events_single_offset_preview_data +NEW ir.ui.view: website_event.s_event_upcoming_snippet_card_preview_data +NEW ir.ui.view: website_event.s_events_card +NEW ir.ui.view: website_event.s_events_picture +NEW ir.ui.view: website_event.s_events_single_aside +NEW ir.ui.view: website_event.s_events_single_badge +NEW ir.ui.view: website_event.s_events_single_card +NEW ir.ui.view: website_event.s_events_single_entry +NEW ir.ui.view: website_event.s_events_single_offset +DEL ir.ui.view: website_event.404 +DEL ir.ui.view: website_event.default_page +DEL ir.ui.view: website_event.event_event_view_form_add +DEL ir.ui.view: website_event.event_searchbar_input_snippet_options +DEL ir.ui.view: website_event.events_search_box +DEL ir.ui.view: website_event.events_search_box_input +DEL ir.ui.view: website_event.s_dynamic_snippet_options_template +DEL ir.ui.view: website_event.s_events_options +DEL ir.ui.view: website_event.snippet_options +DEL ir.ui.view: website_event.template_location + +# NOTHING TO DO diff --git a/openupgrade_scripts/scripts/website_event_booth/19.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_event_booth/19.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..9222a48c2019 --- /dev/null +++ b/openupgrade_scripts/scripts/website_event_booth/19.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,7 @@ +---Models in module 'website_event_booth'--- +---Fields in module 'website_event_booth'--- +website_event_booth / website.event.menu / menu_type (False) : selection_keys added: [other], removed: [location] + +# NOTHING TO DO + +---XML records in module 'website_event_booth'--- diff --git a/openupgrade_scripts/scripts/website_event_booth_sale_exhibitor/19.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_event_booth_sale_exhibitor/19.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..a58d00ddff55 --- /dev/null +++ b/openupgrade_scripts/scripts/website_event_booth_sale_exhibitor/19.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,7 @@ +---Models in module 'website_event_booth_sale_exhibitor'--- +---Fields in module 'website_event_booth_sale_exhibitor'--- +website_event_booth_sale_exhibitor / event.booth.registration / sponsor_mobile (char) : DEL + +# NOTHING TO DO + +---XML records in module 'website_event_booth_sale_exhibitor'--- diff --git a/openupgrade_scripts/scripts/website_event_exhibitor/19.0.1.1/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_event_exhibitor/19.0.1.1/upgrade_analysis_work.txt new file mode 100644 index 000000000000..a716aa01a961 --- /dev/null +++ b/openupgrade_scripts/scripts/website_event_exhibitor/19.0.1.1/upgrade_analysis_work.txt @@ -0,0 +1,14 @@ +---Models in module 'website_event_exhibitor'--- +---Fields in module 'website_event_exhibitor'--- +website_event_exhibitor / event.sponsor / chat_room_id (many2one) : DEL relation: chat.room +website_event_exhibitor / event.sponsor / mobile (char) : DEL +website_event_exhibitor / event.sponsor / show_on_ticket (boolean) : NEW hasdefault: default +website_event_exhibitor / website.event.menu / menu_type (False) : selection_keys added: [other], removed: [location, track, track_proposal] + +# NOTHING TO DO + +---XML records in module 'website_event_exhibitor'--- +DEL ir.model.access: website_event_exhibitor.chat_room_access_event_manager +DEL ir.ui.view: website_event_exhibitor.snippet_options + +# NOTHING TO DO diff --git a/openupgrade_scripts/scripts/website_event_sale/19.0.1.0/pre-migration.py b/openupgrade_scripts/scripts/website_event_sale/19.0.1.0/pre-migration.py new file mode 100644 index 000000000000..b88844a2f884 --- /dev/null +++ b/openupgrade_scripts/scripts/website_event_sale/19.0.1.0/pre-migration.py @@ -0,0 +1,16 @@ +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.logged_query( + env.cr, + """ + DELETE FROM ir_rule WHERE id IN ( + SELECT imd.res_id FROM ir_model_data imd + WHERE imd.model = 'ir.rule' + AND imd.module = 'website_event_sale' + AND imd.name = 'event_product_template_public' + ) + """, + ) diff --git a/openupgrade_scripts/scripts/website_event_sale/19.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_event_sale/19.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..20f6d4b83ff9 --- /dev/null +++ b/openupgrade_scripts/scripts/website_event_sale/19.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,16 @@ +---Models in module 'website_event_sale'--- + +# NOTHING TO DO + +---Fields in module 'website_event_sale'--- + +# NOTHING TO DO + +---XML records in module 'website_event_sale'--- +DEL ir.rule: website_event_sale.event_product_template_public (noupdate) + +# DONE: pre-migration: delete noupdate ir.rule record + +DEL ir.ui.view: website_event_sale.cart_lines_inherit_website_event_sale + +# NOTHING TO DO diff --git a/openupgrade_scripts/scripts/website_event_track/19.0.1.3/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_event_track/19.0.1.3/upgrade_analysis_work.txt new file mode 100644 index 000000000000..0f68fa809f76 --- /dev/null +++ b/openupgrade_scripts/scripts/website_event_track/19.0.1.3/upgrade_analysis_work.txt @@ -0,0 +1,16 @@ +---Models in module 'website_event_track'--- +---Fields in module 'website_event_track'--- +website_event_track / event.track / _order : _order is now 'priority desc, date' ('priority, date') +website_event_track / event.track / date (datetime) : now a function +website_event_track / event.track / is_seo_optimized (boolean) : is now stored +website_event_track / website.event.menu / menu_type (False) : selection_keys added: [exhibitor, other], removed: [location] + +# NOTHING TO DO + +---XML records in module 'website_event_track'--- +NEW ir.asset: website_event_track.s_searchbar_000_xml +NEW ir.ui.view: website_event_track.track_list_item +DEL ir.ui.view: website_event_track.snippet_options +NEW mail.template: website_event_track.mail_template_data_track_reminder (noupdate) + +# NOTHING TO DO diff --git a/openupgrade_scripts/scripts/website_event_track_live/19.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_event_track_live/19.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..624eba59b315 --- /dev/null +++ b/openupgrade_scripts/scripts/website_event_track_live/19.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,8 @@ +---Models in module 'website_event_track_live'--- +---Fields in module 'website_event_track_live'--- +---XML records in module 'website_event_track_live'--- +NEW ir.ui.view: website_event_track_live.event_track_view_list +NEW ir.ui.view: website_event_track_live.track_list_item +DEL ir.ui.view: website_event_track_live.tracks_display_list + +# NOTHING TO DO diff --git a/openupgrade_scripts/scripts/website_forum/19.0.1.2/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_forum/19.0.1.2/upgrade_analysis_work.txt new file mode 100644 index 000000000000..9b171499e8b8 --- /dev/null +++ b/openupgrade_scripts/scripts/website_forum/19.0.1.2/upgrade_analysis_work.txt @@ -0,0 +1,19 @@ +---Models in module 'website_forum'--- +---Fields in module 'website_forum'--- +website_forum / forum.forum / is_seo_optimized (boolean) : is now stored +website_forum / forum.forum / teaser (text) : DEL +website_forum / forum.post / is_seo_optimized (boolean) : is now stored +website_forum / forum.tag / is_seo_optimized (boolean) : is now stored + +# NOTHING TO DO + +---XML records in module 'website_forum'--- +DEL ir.model.access: website_forum.access_forum_post_vote_public +NEW ir.rule: website_forum.website_forum_post_vote_all (noupdate) +NEW ir.rule: website_forum.website_forum_post_vote_own (noupdate) +DEL ir.ui.view: website_forum.forum_searchbar_input_snippet_options +DEL ir.ui.view: website_forum.snippet_options +DEL ir.ui.view: website_forum.user_profile_sub_nav +DEL ir.ui.view: website_forum.view_users_form_forum + +# NOTHING TO DO diff --git a/openupgrade_scripts/scripts/website_hr_recruitment/19.0.1.1/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_hr_recruitment/19.0.1.1/upgrade_analysis_work.txt new file mode 100644 index 000000000000..af3f57848681 --- /dev/null +++ b/openupgrade_scripts/scripts/website_hr_recruitment/19.0.1.1/upgrade_analysis_work.txt @@ -0,0 +1,15 @@ +---Models in module 'website_hr_recruitment'--- +---Fields in module 'website_hr_recruitment'--- +website_hr_recruitment / hr.job / is_seo_optimized (boolean) : is now stored + +# NOTHING TO DO + +---XML records in module 'website_hr_recruitment'--- +NEW ir.ui.view: website_hr_recruitment.job_filter_base +NEW ir.ui.view: website_hr_recruitment.job_filter_base_mobile +NEW ir.ui.view: website_hr_recruitment.job_filter_by_industries +NEW ir.ui.view: website_hr_recruitment.job_reset_filters +DEL ir.ui.view: website_hr_recruitment.jobs_searchbar_input_snippet_options +DEL ir.ui.view: website_hr_recruitment.snippet_options + +# NOTHING TO DO diff --git a/openupgrade_scripts/scripts/website_livechat/19.0.1.0/pre-migration.py b/openupgrade_scripts/scripts/website_livechat/19.0.1.0/pre-migration.py new file mode 100644 index 000000000000..9ccba5d1c5ce --- /dev/null +++ b/openupgrade_scripts/scripts/website_livechat/19.0.1.0/pre-migration.py @@ -0,0 +1,16 @@ +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.logged_query( + env.cr, + """ + DELETE FROM ir_rule WHERE id IN ( + SELECT imd.res_id FROM ir_model_data imd + WHERE imd.model = 'ir.rule' + AND imd.module = 'website_livechat' + AND imd.name = 'im_livechat_channel_rule_public' + ) + """, + ) diff --git a/openupgrade_scripts/scripts/website_livechat/19.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_livechat/19.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..b20d5cde3b98 --- /dev/null +++ b/openupgrade_scripts/scripts/website_livechat/19.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,24 @@ +---Models in module 'website_livechat'--- +---Fields in module 'website_livechat'--- +website_livechat / discuss.channel / is_pending_chat_request (boolean): NEW +website_livechat / im_livechat.channel / is_published (boolean) : DEL +website_livechat / im_livechat.channel / website_description (html) : DEL + +# NOTHING TO DO + +---XML records in module 'website_livechat'--- +DEL ir.model.access: website_livechat.access_im_livechat_channel_public_employee +DEL ir.model.access: website_livechat.access_im_livechat_channel_public_portal +DEL ir.model.access: website_livechat.access_im_livechat_channel_public_public + +# NOTHING TO DO + +DEL ir.rule: website_livechat.im_livechat_channel_rule_public (noupdate) + +# DONE: pre-migration: delete noupdate ir.rule record + +DEL ir.ui.view: website_livechat.channel_list_page +DEL ir.ui.view: website_livechat.channel_page +DEL ir.ui.view: website_livechat.im_livechat_channel_form_view + +# NOTHING TO DO diff --git a/openupgrade_scripts/scripts/website_mail_group/19.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_mail_group/19.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..9a4254a12654 --- /dev/null +++ b/openupgrade_scripts/scripts/website_mail_group/19.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,7 @@ +---Models in module 'website_mail_group'--- +---Fields in module 'website_mail_group'--- +---XML records in module 'website_mail_group'--- +DEL ir.asset: website_mail_group.s_group_000_js +DEL ir.ui.view: website_mail_group.s_group_options + +# NOTHING TO DO diff --git a/openupgrade_scripts/scripts/website_mass_mailing/19.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_mass_mailing/19.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..12762b45992e --- /dev/null +++ b/openupgrade_scripts/scripts/website_mass_mailing/19.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,12 @@ +---Models in module 'website_mass_mailing'--- +---Fields in module 'website_mass_mailing'--- +---XML records in module 'website_mass_mailing'--- +DEL ir.asset: website_mass_mailing.s_popup_000_js +NEW ir.ui.view: website_mass_mailing.s_newsletter_benefits_popup +NEW ir.ui.view: website_mass_mailing.s_newsletter_box +NEW ir.ui.view: website_mass_mailing.s_newsletter_centered +NEW ir.ui.view: website_mass_mailing.s_newsletter_grid +DEL ir.ui.view: website_mass_mailing.newsletter_subscribe_options +DEL ir.ui.view: website_mass_mailing.newsletter_subscribe_options_common + +# NOTHING TO DO diff --git a/openupgrade_scripts/scripts/website_mass_mailing_sms/19.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_mass_mailing_sms/19.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..5cc4df8a2eac --- /dev/null +++ b/openupgrade_scripts/scripts/website_mass_mailing_sms/19.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,9 @@ +---Models in module 'website_mass_mailing_sms'--- +---Fields in module 'website_mass_mailing_sms'--- +---XML records in module 'website_mass_mailing_sms'--- +NEW ir.ui.view: website_mass_mailing_sms.s_newsletter_sms_notifications +NEW ir.ui.view: website_mass_mailing_sms.s_newsletter_subscribe_form +NEW ir.ui.view: website_mass_mailing_sms.snippets +DEL ir.ui.view: website_mass_mailing_sms.newsletter_subscribe_options + +# NOTHING TO DO diff --git a/openupgrade_scripts/scripts/website_partner/19.0.0.1/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_partner/19.0.0.1/upgrade_analysis_work.txt new file mode 100644 index 000000000000..1694e64ad7d3 --- /dev/null +++ b/openupgrade_scripts/scripts/website_partner/19.0.0.1/upgrade_analysis_work.txt @@ -0,0 +1,11 @@ +---Models in module 'website_partner'--- +---Fields in module 'website_partner'--- +website_partner / res.partner / is_seo_optimized (boolean) : is now stored + +# NOTHING TO DO + +---XML records in module 'website_partner'--- +NEW mail.message.subtype: website_partner.mt_partner_published (noupdate) +NEW mail.message.subtype: website_partner.mt_partner_unpublished (noupdate) + +# NOTHING TO DO diff --git a/openupgrade_scripts/scripts/website_profile/19.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_profile/19.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..b7bfd66909ff --- /dev/null +++ b/openupgrade_scripts/scripts/website_profile/19.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,8 @@ +---Models in module 'website_profile'--- +---Fields in module 'website_profile'--- +---XML records in module 'website_profile'--- +DEL ir.ui.view: website_profile.user_biography_editor +DEL ir.ui.view: website_profile.user_profile_edit_content +DEL ir.ui.view: website_profile.user_profile_edit_main + +# NOTHING TO DO diff --git a/openupgrade_scripts/scripts/website_project/19.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_project/19.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..d62fc49689ff --- /dev/null +++ b/openupgrade_scripts/scripts/website_project/19.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,8 @@ +---Models in module 'website_project'--- +---Fields in module 'website_project'--- +website_project / project.task / email_from (char) : module is now 'project' ('website_project') +website_project / project.task / partner_phone (char) : module is now 'project' ('website_project') + +# NOTHING TO DO + +---XML records in module 'website_project'--- diff --git a/openupgrade_scripts/scripts/website_sale_collect/19.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_sale_collect/19.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..12239102af5a --- /dev/null +++ b/openupgrade_scripts/scripts/website_sale_collect/19.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,7 @@ +---Models in module 'website_sale_collect'--- +---Fields in module 'website_sale_collect'--- +website_sale_collect / payment.provider / custom_mode (False) : selection_keys added: [cash_on_delivery] (most likely nothing to do) + +# NOTHING TO DO + +---XML records in module 'website_sale_collect'--- diff --git a/openupgrade_scripts/scripts/website_sale_collect_wishlist/19.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_sale_collect_wishlist/19.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..a2fc9f16c837 --- /dev/null +++ b/openupgrade_scripts/scripts/website_sale_collect_wishlist/19.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,6 @@ +---Models in module 'website_sale_collect_wishlist'--- +---Fields in module 'website_sale_collect_wishlist'--- +---XML records in module 'website_sale_collect_wishlist'--- +NEW ir.ui.view: website_sale_collect_wishlist.unavailable_products_warning + +# NOTHING TO DO diff --git a/openupgrade_scripts/scripts/website_sale_comparison/19.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_sale_comparison/19.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..d3ab3dec30a9 --- /dev/null +++ b/openupgrade_scripts/scripts/website_sale_comparison/19.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,7 @@ +---Models in module 'website_sale_comparison'--- +---Fields in module 'website_sale_comparison'--- +---XML records in module 'website_sale_comparison'--- +DEL ir.ui.view: website_sale_comparison.product_product +DEL ir.ui.view: website_sale_comparison.snippet_options + +# NOTHING TO DO diff --git a/openupgrade_scripts/scripts/website_sale_loyalty/19.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_sale_loyalty/19.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..9eba8f40b1c6 --- /dev/null +++ b/openupgrade_scripts/scripts/website_sale_loyalty/19.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,8 @@ +---Models in module 'website_sale_loyalty'--- +---Fields in module 'website_sale_loyalty'--- +---XML records in module 'website_sale_loyalty'--- +NEW ir.ui.view: website_sale_loyalty.cart_lines_quantity +DEL ir.ui.view: website_sale_loyalty.snippet_options +DEL ir.ui.view: website_sale_loyalty.website_sale_coupon_cart_hide_qty + +# NOTHING TO DO diff --git a/openupgrade_scripts/scripts/website_sale_mondialrelay/19.0.0.1/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_sale_mondialrelay/19.0.0.1/upgrade_analysis_work.txt new file mode 100644 index 000000000000..8336098bbc17 --- /dev/null +++ b/openupgrade_scripts/scripts/website_sale_mondialrelay/19.0.0.1/upgrade_analysis_work.txt @@ -0,0 +1,12 @@ +---Models in module 'website_sale_mondialrelay'--- +---Fields in module 'website_sale_mondialrelay'--- +---XML records in module 'website_sale_mondialrelay'--- +NEW ir.ui.view: website_sale_mondialrelay.address_on_checkout +NEW ir.ui.view: website_sale_mondialrelay.website_sale_mondialrelay_address_card +NEW ir.ui.view: website_sale_mondialrelay.website_sale_mondialrelay_billing_address_list +DEL ir.ui.view: website_sale_mondialrelay.res_config_settings_view_form +DEL ir.ui.view: website_sale_mondialrelay.website_sale_mondialrelay_address_kanban +DEL ir.ui.view: website_sale_mondialrelay.website_sale_mondialrelay_address_on_payment +DEL ir.ui.view: website_sale_mondialrelay.website_sale_mondialrelay_billing_address_row + +# NOTHING TO DO diff --git a/openupgrade_scripts/scripts/website_sale_slides/19.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_sale_slides/19.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..2ba6ce79a270 --- /dev/null +++ b/openupgrade_scripts/scripts/website_sale_slides/19.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,11 @@ +---Models in module 'website_sale_slides'--- +---Fields in module 'website_sale_slides'--- +website_sale_slides / product.template / service_tracking (False) : selection_keys added: [partnership, repair] (most likely nothing to do) + +# NOTHING TO DO + +---XML records in module 'website_sale_slides'--- +DEL ir.ui.view: website_sale_slides.snippet_options +DEL product.category: website_sale_slides.product_category_courses + +# NOTHING TO DO diff --git a/openupgrade_scripts/scripts/website_sale_stock/19.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_sale_stock/19.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..35ce9db6532d --- /dev/null +++ b/openupgrade_scripts/scripts/website_sale_stock/19.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,7 @@ +---Models in module 'website_sale_stock'--- +---Fields in module 'website_sale_stock'--- +website_sale_stock / product.ribbon / assign (False) : NEW selection_keys: ['manual', 'new', 'out_of_stock', 'sale'], mode: modify + +# NOTHING TO DO + +---XML records in module 'website_sale_stock'--- diff --git a/openupgrade_scripts/scripts/website_sale_wishlist/19.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_sale_wishlist/19.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..46fc7fa5b860 --- /dev/null +++ b/openupgrade_scripts/scripts/website_sale_wishlist/19.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,14 @@ +---Models in module 'website_sale_wishlist'--- +---Fields in module 'website_sale_wishlist'--- +website_sale_wishlist / website / wishlist_gap (char) : NEW hasdefault: default +website_sale_wishlist / website / wishlist_grid_columns (integer): NEW hasdefault: default +website_sale_wishlist / website / wishlist_mobile_columns (integer): NEW hasdefault: default +website_sale_wishlist / website / wishlist_opt_products_design_classes (char): NEW hasdefault: default + +# NOTHING TO DO + +---XML records in module 'website_sale_wishlist'--- +NEW ir.ui.view: website_sale_wishlist.empty_wishlist_svg +DEL ir.ui.view: website_sale_wishlist.snippet_options + +# NOTHING TO DO diff --git a/openupgrade_scripts/scripts/website_slides/19.0.2.7/noupdate_changes.xml b/openupgrade_scripts/scripts/website_slides/19.0.2.7/noupdate_changes.xml index a5f3b6610537..abba9fb0f2a1 100644 --- a/openupgrade_scripts/scripts/website_slides/19.0.2.7/noupdate_changes.xml +++ b/openupgrade_scripts/scripts/website_slides/19.0.2.7/noupdate_changes.xml @@ -1,200 +1,3 @@ - - - -
-

Hello Brandon Freeman,


Congratulations!

You've completed the course Basics of Gardening

Check out the other available courses.


- Enjoy this exclusive content! -
--
Mitchell Admin
-
-
-
- - - -
- - -
-

- Hello

- Mitchell Admin shared the document with you! -

-
- View Document
-
--
Mitchell Admin
-

-
-
- -
- - - - - - - - [('website_published', '=', True), ('visibility', 'in', ['public', 'link'])] - Channel: public: restricted to public/link-based and published - - - [ - '&', - ('website_published', '=', True), - '|', - ('visibility', 'in', ('public', 'connected', 'link')), - '|', - ('is_member_invited', '=', True), - ('is_member', '=', True), - ] - - Channel: portal/user: restricted to published, public or (invited) attendee or link-based, connected user - - - [ - ('channel_id.website_published', '=', True), - ('website_published', '=', True), - ('channel_id.visibility', 'in', ['public', 'link']), - '|', - ('is_category','=', True), - ('is_preview', '=', True), - ] - - Slide: public: restricted to published or public/link-based channel & (category or previewable) - - - [ - '&', - '|', - ('user_id', '=', user.id), - '&', - ('website_published', '=', True), - ('channel_id.website_published', '=', True), - '|', - '&', - '|', - ('channel_id.visibility', 'in', ('public', 'connected', 'link')), - ('channel_id.is_member_invited', '=', True), - '|', - ('is_category', '=', True), - ('is_preview', '=', True), - ('channel_id.is_member', '=', True), - ] - - Slide: portal/user: restricted to published and connected user, (invited) attendee or link-based, if course visible to attendees only - - - Level - - - -
-

- Hello

- There is something new in the course Trees, Wood and Gardens you are following:

-

Trees
-
-
View content
- Enjoy this exclusive content! -
--
Mitchell Admin
-

-
-
- -
- - -
-

- Hello

- Mitchell Admin shared the document Trees with you! -

-
View Trees
-
--
Mitchell Admin
-

-
-
- -
diff --git a/openupgrade_scripts/scripts/website_slides/19.0.2.7/pre-migration.py b/openupgrade_scripts/scripts/website_slides/19.0.2.7/pre-migration.py new file mode 100644 index 000000000000..f784b6201a8e --- /dev/null +++ b/openupgrade_scripts/scripts/website_slides/19.0.2.7/pre-migration.py @@ -0,0 +1,16 @@ +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.logged_query( + env.cr, + """ + DELETE FROM mail_activity_type WHERE id IN ( + SELECT imd.res_id FROM ir_model_data imd + WHERE imd.model = 'mail.activity.type' + AND imd.module = 'website_slides' + AND imd.name = 'mail_activity_data_access_request' + ) + """, + ) diff --git a/openupgrade_scripts/scripts/website_slides/19.0.2.7/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_slides/19.0.2.7/upgrade_analysis_work.txt new file mode 100644 index 000000000000..3f1638b4467f --- /dev/null +++ b/openupgrade_scripts/scripts/website_slides/19.0.2.7/upgrade_analysis_work.txt @@ -0,0 +1,31 @@ +---Models in module 'website_slides'--- +---Fields in module 'website_slides'--- +website_slides / mail.activity / request_partner_id (many2one) : previously in module mail +website_slides / slide.channel / is_seo_optimized (boolean) : is now stored +website_slides / slide.channel / visibility (selection) : selection_keys added: [link] (most likely nothing to do) +website_slides / slide.slide / is_seo_optimized (boolean) : is now stored + +# NOTHING TO DO + +---XML records in module 'website_slides'--- +NEW ir.ui.view: website_slides.course_card_information_badge +NEW ir.ui.view: website_slides.courses_home_side_bar +NEW ir.ui.view: website_slides.courses_my +NEW ir.ui.view: website_slides.courses_search_bar +NEW ir.ui.view: website_slides.courses_search_results +NEW ir.ui.view: website_slides.courses_search_tags +NEW ir.ui.view: website_slides.mail_activity_view_form +DEL ir.ui.view: website_slides.course_card_information_arrow +DEL ir.ui.view: website_slides.courses_all +DEL ir.ui.view: website_slides.slide_searchbar_input_snippet_options +DEL ir.ui.view: website_slides.snippet_options + +# NOTHING TO DO + +DEL mail.activity.type: website_slides.mail_activity_data_access_request (noupdate) + +# DONE: pre-migration: delete noupdate mail.activity.type record + +NEW res.groups.privilege: website_slides.res_groups_privilege_elearning + +# NOTHING TO DO diff --git a/openupgrade_scripts/scripts/website_slides_forum/19.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_slides_forum/19.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..8c9f95046c49 --- /dev/null +++ b/openupgrade_scripts/scripts/website_slides_forum/19.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,6 @@ +---Models in module 'website_slides_forum'--- +---Fields in module 'website_slides_forum'--- +---XML records in module 'website_slides_forum'--- +DEL ir.ui.view: website_slides_forum.snippet_options + +# NOTHING TO DO diff --git a/openupgrade_scripts/scripts/website_slides_survey/19.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_slides_survey/19.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..a9cd5111ef7c --- /dev/null +++ b/openupgrade_scripts/scripts/website_slides_survey/19.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,8 @@ +---Models in module 'website_slides_survey'--- +---Fields in module 'website_slides_survey'--- +---XML records in module 'website_slides_survey'--- +NEW ir.ui.view: website_slides_survey.courses_search_bar_inherit_survey +NEW ir.ui.view: website_slides_survey.courses_search_results_inherit_survey +DEL ir.ui.view: website_slides_survey.courses_home_inherit_survey + +# NOTHING TO DO