From d6921753ff8dc49f6496d6f78e441a106f59b38a Mon Sep 17 00:00:00 2001 From: Chankya Soni Date: Tue, 13 Jul 2021 19:28:58 +0530 Subject: [PATCH 001/403] [14.0][MIG] snailmail --- docsource/modules130-140.rst | 2 +- .../snailmail/14.0.0.3/upgrade_analysis_work.txt | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/snailmail/14.0.0.3/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 0ee1ee532ff6..44371fd02123 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -616,7 +616,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |sms | | +--------------------------------------------+-------------------------------------------------+ -|snailmail | | +|snailmail | Nothing to do | +--------------------------------------------+-------------------------------------------------+ |snailmail_account | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/snailmail/14.0.0.3/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/snailmail/14.0.0.3/upgrade_analysis_work.txt new file mode 100644 index 000000000000..d8d27891b630 --- /dev/null +++ b/openupgrade_scripts/scripts/snailmail/14.0.0.3/upgrade_analysis_work.txt @@ -0,0 +1,15 @@ +---Models in module 'snailmail'--- +new model snailmail.confirm [abstract] +---Fields in module 'snailmail'--- +snailmail / mail.message / message_type (False) : selection_keys is now '['comment', 'email', 'notification', 'sms', 'snailmail', 'user_notification']' ('['comment', 'email', 'notification', 'snailmail', 'user_notification']') +snailmail / mail.notification / failure_type (False) : NEW selection_keys: ['BOUNCE', 'RECIPIENT', 'SMTP', 'UNKNOWN', 'sms_acc', 'sms_credit', 'sms_number_format', 'sms_number_missing', 'sms_server', 'sn_credit', 'sn_error', 'sn_fields', 'sn_format', 'sn_price', 'sn_trial'], mode: modify +snailmail / mail.notification / letter_id (many2one) : NEW relation: snailmail.letter +snailmail / mail.notification / notification_type (False) : NEW selection_keys: ['email', 'inbox', 'sms', 'snail'], mode: modify +snailmail / snailmail.letter / notification_ids (one2many) : NEW relation: mail.notification +---XML records in module 'snailmail'--- +NEW ir.model.access: snailmail.access_snailmail_letter_cancel +NEW ir.model.access: snailmail.access_snailmail_letter_format_error +NEW ir.model.access: snailmail.access_snailmail_letter_missing_required_fields +NEW ir.ui.view: snailmail.snailmail_confirm_view +NEW ir.ui.view: snailmail.tests_assets +# Nothing to do \ No newline at end of file From 674acb2faad16c3d0c5c60d504cdf981a20d2875 Mon Sep 17 00:00:00 2001 From: mreficent Date: Fri, 16 Jul 2021 16:17:49 +0200 Subject: [PATCH 002/403] [MIG] transifex --- docsource/modules130-140.rst | 2 +- .../scripts/transifex/14.0.1.0/upgrade_analysis_work.txt | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/transifex/14.0.1.0/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index da770610d449..7bbb31b1be67 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -656,7 +656,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |theme_default | | +--------------------------------------------+-------------------------------------------------+ -|transifex | | +|transifex | Nothing to do | +--------------------------------------------+-------------------------------------------------+ |uom | Done | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/transifex/14.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/transifex/14.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..2854f5feadd6 --- /dev/null +++ b/openupgrade_scripts/scripts/transifex/14.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,5 @@ +---Models in module 'transifex'--- +---Fields in module 'transifex'--- +---XML records in module 'transifex'--- +---nothing has changed in this module-- +# NOTHING TO DO From 4a9d2185fa40abf9cf4bfbc013a6d34c86bbe744 Mon Sep 17 00:00:00 2001 From: mreficent Date: Tue, 20 Jul 2021 10:18:42 +0200 Subject: [PATCH 003/403] [MIG] iap_mail --- docsource/modules130-140.rst | 2 +- .../scripts/iap_mail/14.0.1.0/upgrade_analysis_work.txt | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/iap_mail/14.0.1.0/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 3b4532347559..8d46e058f486 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -206,7 +206,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ | |new| iap_crm | | +--------------------------------------------+-------------------------------------------------+ -| |new| iap_mail | | +| |new| iap_mail | Nothing to do | +--------------------------------------------+-------------------------------------------------+ |im_livechat | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/iap_mail/14.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/iap_mail/14.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..1238a116d20c --- /dev/null +++ b/openupgrade_scripts/scripts/iap_mail/14.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,5 @@ +---Models in module 'iap_mail'--- +---Fields in module 'iap_mail'--- +---XML records in module 'iap_mail'--- +NEW ir.ui.view: iap_mail.enrich_company +# NOTHING TO DO From eb2b542ade670bfc997a914bd2cc915817790c11 Mon Sep 17 00:00:00 2001 From: mreficent Date: Thu, 22 Jul 2021 11:10:05 +0200 Subject: [PATCH 004/403] [MIG] crm_sms --- docsource/modules130-140.rst | 2 +- .../scripts/crm_sms/14.0.1.0/pre-migration.py | 10 ++++++++++ .../scripts/crm_sms/14.0.1.0/upgrade_analysis_work.txt | 8 ++++++++ 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/crm_sms/14.0.1.0/pre-migration.py create mode 100644 openupgrade_scripts/scripts/crm_sms/14.0.1.0/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 895ffb4dae70..15dc59b4f216 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -116,7 +116,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |crm_livechat | | +--------------------------------------------+-------------------------------------------------+ -|crm_sms | | +|crm_sms | Done | +--------------------------------------------+-------------------------------------------------+ |delivery | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/crm_sms/14.0.1.0/pre-migration.py b/openupgrade_scripts/scripts/crm_sms/14.0.1.0/pre-migration.py new file mode 100644 index 000000000000..3dbf5390f303 --- /dev/null +++ b/openupgrade_scripts/scripts/crm_sms/14.0.1.0/pre-migration.py @@ -0,0 +1,10 @@ +# Copyright 2021 ForgeFlow S.L. +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.set_xml_ids_noupdate_value( + env, "crm_sms", ["ir_rule_sms_template_sale_manager"], True + ) diff --git a/openupgrade_scripts/scripts/crm_sms/14.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/crm_sms/14.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..7510cfb0a91d --- /dev/null +++ b/openupgrade_scripts/scripts/crm_sms/14.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,8 @@ +---Models in module 'crm_sms'--- +---Fields in module 'crm_sms'--- +---XML records in module 'crm_sms'--- +ir.rule: crm_sms.ir_rule_sms_template_sale_manager (noupdate) (noupdate switched) +# DONE: pre-migration: switched noupdate + +NEW ir.ui.view: crm_sms.crm_lead_view_list_activities +# NOTHING TO DO From e2dbf83ae0be2d0439f930f4d3f26a29d3e99491 Mon Sep 17 00:00:00 2001 From: mreficent Date: Thu, 22 Jul 2021 11:17:32 +0200 Subject: [PATCH 005/403] [MIG] event_sms --- docsource/modules130-140.rst | 2 +- .../scripts/event_sms/14.0.1.0/pre-migration.py | 10 ++++++++++ .../event_sms/14.0.1.0/upgrade_analysis_work.txt | 5 +++++ 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/event_sms/14.0.1.0/pre-migration.py create mode 100644 openupgrade_scripts/scripts/event_sms/14.0.1.0/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 895ffb4dae70..325bf26626e9 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -130,7 +130,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |event_sale | | +--------------------------------------------+-------------------------------------------------+ -|event_sms | | +|event_sms | Done | +--------------------------------------------+-------------------------------------------------+ |fetchmail | Nothing to do | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/event_sms/14.0.1.0/pre-migration.py b/openupgrade_scripts/scripts/event_sms/14.0.1.0/pre-migration.py new file mode 100644 index 000000000000..db51a096c790 --- /dev/null +++ b/openupgrade_scripts/scripts/event_sms/14.0.1.0/pre-migration.py @@ -0,0 +1,10 @@ +# Copyright 2021 ForgeFlow S.L. +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.set_xml_ids_noupdate_value( + env, "event_sms", ["ir_rule_sms_template_event_manager"], True + ) diff --git a/openupgrade_scripts/scripts/event_sms/14.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/event_sms/14.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..2f02c17b662c --- /dev/null +++ b/openupgrade_scripts/scripts/event_sms/14.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,5 @@ +---Models in module 'event_sms'--- +---Fields in module 'event_sms'--- +---XML records in module 'event_sms'--- +ir.rule: event_sms.ir_rule_sms_template_event_manager (noupdate) (noupdate switched) +# DONE: pre-migration: switched noupdate From 2498bf5df4e62f1e9ddfb6faeee7edcc6a780211 Mon Sep 17 00:00:00 2001 From: Chankya Soni Date: Tue, 13 Jul 2021 14:38:12 +0530 Subject: [PATCH 006/403] [14.0][MIG] sms --- docsource/modules130-140.rst | 2 +- .../sms/14.0.2.1/upgrade_analysis_work.txt | 31 +++++++++++++++++++ 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/sms/14.0.2.1/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 895ffb4dae70..a62c780593e5 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -614,7 +614,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |sales_team | Done | +--------------------------------------------+-------------------------------------------------+ -|sms | | +|sms | Nothing to do | +--------------------------------------------+-------------------------------------------------+ |snailmail | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/sms/14.0.2.1/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/sms/14.0.2.1/upgrade_analysis_work.txt new file mode 100644 index 000000000000..80364a81e10b --- /dev/null +++ b/openupgrade_scripts/scripts/sms/14.0.2.1/upgrade_analysis_work.txt @@ -0,0 +1,31 @@ +---Models in module 'sms'--- +---Fields in module 'sms'--- +sms / hr.contract / message_has_sms_error (boolean): previously in module hr_contract +sms / hr.leave / message_has_sms_error (boolean): previously in module hr_holidays +sms / hr.leave.allocation / message_has_sms_error (boolean): previously in module hr_holidays +sms / mail.test.activity / message_has_sms_error (boolean): previously in module test_mail +sms / mail.test.cc / message_has_sms_error (boolean): previously in module test_mail +sms / mail.test.gateway / message_has_sms_error (boolean): previously in module test_mail +sms / mail.test.multi.company / message_has_sms_error (boolean): previously in module test_mail +sms / mail.test.simple / message_has_sms_error (boolean): previously in module test_mail +sms / mail.test.track / message_has_sms_error (boolean): previously in module test_mail +sms / mailing.contact / message_has_sms_error (boolean): module is now 'mass_mailing' ('sms') +sms / mailing.mailing / message_has_sms_error (boolean): module is now 'mass_mailing' ('sms') +# NOTHING TO DO: handled by ORM + +sms / mail.message / message_type (False) : selection_keys is now '['comment', 'email', 'notification', 'sms', 'user_notification']' ('['comment', 'email', 'notification', 'sms', 'snailmail', 'user_notification']') +# NOTHING TO DO: the 'snailmail' is added in snailmail module + +sms / mail.notification / failure_type (False) : selection_keys is now '['BOUNCE', 'RECIPIENT', 'SMTP', 'UNKNOWN', 'sms_acc', 'sms_credit', 'sms_number_format', 'sms_number_missing', 'sms_server']' ('['BOUNCE', 'RECIPIENT', 'SMTP', 'UNKNOWN', 'sms_credit', 'sms_number_format', 'sms_number_missing', 'sms_server']') +sms / sms.sms / error_code (selection) : selection_keys is now '['sms_acc', 'sms_blacklist', 'sms_credit', 'sms_duplicate', 'sms_number_format', 'sms_number_missing', 'sms_server']' ('['sms_blacklist', 'sms_credit', 'sms_duplicate', 'sms_number_format', 'sms_number_missing', 'sms_server']') +# NOTHING TO DO: new 'sms_acc' option + +---XML records in module 'sms'--- +NEW ir.model.access: sms.access_sms_cancel +NEW ir.model.access: sms.access_sms_composer +NEW ir.model.access: sms.access_sms_resend +NEW ir.model.access: sms.access_sms_resend_recipient +NEW ir.model.access: sms.access_sms_template_preview +NEW ir.ui.view: sms.mail_notification_view_form +NEW ir.ui.view: sms.mail_notification_view_tree +# NOTHING TO DO From 63080cf9b919d72cb2337a913175d037782513b8 Mon Sep 17 00:00:00 2001 From: Chankya Soni Date: Tue, 13 Jul 2021 19:11:54 +0530 Subject: [PATCH 007/403] [14.0][MIG] hr_maintenance --- docsource/modules130-140.rst | 2 +- .../hr_maintenance/14.0.1.0/upgrade_analysis_work.txt | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/hr_maintenance/14.0.1.0/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 895ffb4dae70..c6d79c413777 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -170,7 +170,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ | |del| hr_holidays_calendar | Merged into hr_holidays | +--------------------------------------------+-------------------------------------------------+ -|hr_maintenance | | +|hr_maintenance | Nothing to do | +--------------------------------------------+-------------------------------------------------+ |hr_org_chart | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/hr_maintenance/14.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/hr_maintenance/14.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..127dfee4dbde --- /dev/null +++ b/openupgrade_scripts/scripts/hr_maintenance/14.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,8 @@ +---Models in module 'hr_maintenance'--- +---Fields in module 'hr_maintenance'--- +hr_maintenance / maintenance.equipment / department_id (many2one) : now a function +hr_maintenance / maintenance.equipment / employee_id (many2one) : now a function +hr_maintenance / maintenance.request / department_id (many2one) : DEL relation: hr.department +# NOTHING TO DO + +---XML records in module 'hr_maintenance'--- From c0736cafe927ad5fde7a6695e451797736217c01 Mon Sep 17 00:00:00 2001 From: Murtaza Mithaiwala Date: Mon, 2 Aug 2021 15:50:53 +0530 Subject: [PATCH 008/403] [14.0][MIG] hr_expense --- docsource/modules130-140.rst | 2 +- .../14.0.2.0/openupgrade_analysis_work.txt | 63 +++++++++++++++++++ 2 files changed, 64 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/hr_expense/14.0.2.0/openupgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 895ffb4dae70..43bc2c257347 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -156,7 +156,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |hr_contract | | +--------------------------------------------+-------------------------------------------------+ -|hr_expense | | +|hr_expense | Nothing to do | +--------------------------------------------+-------------------------------------------------+ | |del| hr_expense_check | Merged into hr_expense | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/hr_expense/14.0.2.0/openupgrade_analysis_work.txt b/openupgrade_scripts/scripts/hr_expense/14.0.2.0/openupgrade_analysis_work.txt new file mode 100644 index 000000000000..10497c2d6cdb --- /dev/null +++ b/openupgrade_scripts/scripts/hr_expense/14.0.2.0/openupgrade_analysis_work.txt @@ -0,0 +1,63 @@ +---Models in module 'hr_expense'--- +obsolete model hr.expense.sheet.register.payment.wizard [transient] +---Fields in module 'hr_expense'--- +hr_expense / hr.employee / expense_manager_id (many2one) : now a function +hr_expense / hr.expense / account_id (many2one) : now a function +hr_expense / hr.expense / accounting_date (date) : NEW isrelated: related, stored +hr_expense / hr.expense / employee_id (many2one) : now a function +hr_expense / hr.expense / name (char) : now a function +hr_expense / hr.expense / product_uom_id (many2one) : now a function +hr_expense / hr.expense / sample (boolean) : NEW +hr_expense / hr.expense / tax_ids (many2many) : now a function +hr_expense / hr.expense / unit_amount (float) : now a function +hr_expense / hr.expense.sheet / address_id (many2one) : now a function +hr_expense / hr.expense.sheet / amount_residual (float) : NEW isfunction: function, stored +hr_expense / hr.expense.sheet / department_id (many2one) : now a function +hr_expense / hr.expense.sheet / user_id (many2one) : now a function +hr_expense / product.template / can_be_expensed (boolean) : now a function +# NOTHING TO DO: handled by ORM +---XML records in module 'hr_expense'--- +NEW digest.tip: hr_expense.digest_tip_hr_expense_0 +NEW ir.actions.act_window: hr_expense.action_hr_expense_account +NEW ir.actions.act_window: hr_expense.action_hr_expense_sheet_all +NEW ir.actions.act_window: hr_expense.hr_expense_actions_my_all +DEL ir.actions.act_window: hr_expense.action_approved_expense +DEL ir.actions.act_window: hr_expense.action_request_approve_expense_sheet +DEL ir.actions.act_window: hr_expense.action_request_to_pay_expense_sheet +DEL ir.actions.act_window: hr_expense.action_request_to_post_expense_sheet +DEL ir.actions.act_window: hr_expense.action_unsubmitted_expense +DEL ir.actions.act_window: hr_expense.hr_expense_action +DEL ir.actions.act_window: hr_expense.hr_expense_sheet_register_payment_wizard_action +NEW ir.actions.act_window.view: hr_expense.action_hr_expense_sheet_my_all_kanban +NEW ir.actions.act_window.view: hr_expense.action_hr_expense_sheet_my_all_tree +NEW ir.actions.act_window.view: hr_expense.hr_expense_actions_all_graph +NEW ir.actions.act_window.view: hr_expense.hr_expense_actions_all_kanban +NEW ir.actions.act_window.view: hr_expense.hr_expense_actions_all_pivot +NEW ir.actions.act_window.view: hr_expense.hr_expense_actions_all_tree +NEW ir.actions.act_window.view: hr_expense.hr_expense_actions_my_all_kanban +NEW ir.actions.act_window.view: hr_expense.hr_expense_actions_my_all_tree +NEW ir.actions.act_window.view: hr_expense.hr_expense_actions_my_unsubmitted_kanban +NEW ir.actions.act_window.view: hr_expense.hr_expense_actions_my_unsubmitted_tree +NEW ir.actions.server: hr_expense.action_expense_sheet_register_payment +NEW ir.actions.server: hr_expense.hr_expense_sheet_approve_action_server +NEW ir.actions.server: hr_expense.hr_expense_sheet_post_action_server +NEW ir.model.access: hr_expense.access_hr_expense_refuse_wizard +DEL ir.model.access: hr_expense.access_account_invoice_line_user +DEL ir.model.access: hr_expense.access_account_invoice_user +NEW ir.rule: hr_expense.hr_expense_team_approver_account_move_line_rule (noupdate) +# NOTHING TO DO +NEW ir.ui.menu: hr_expense.menu_hr_expense_account_employee_expenses +NEW ir.ui.menu: hr_expense.menu_hr_expense_my_expenses_all +NEW ir.ui.menu: hr_expense.menu_hr_expense_sheet_all +NEW ir.ui.view: hr_expense.hr_expense_kanban_view_header +NEW ir.ui.view: hr_expense.hr_expense_view_expenses_analysis_kanban +NEW ir.ui.view: hr_expense.hr_expense_view_expenses_analysis_tree +NEW ir.ui.view: hr_expense.view_employee_tree_inherit_expense +NEW ir.ui.view: hr_expense.view_hr_expense_sheet_dashboard_tree +NEW ir.ui.view: hr_expense.view_hr_expense_sheet_dashboard_tree_header +NEW ir.ui.view: hr_expense.view_hr_expense_sheet_kanban_header +NEW ir.ui.view: hr_expense.view_hr_expense_sheet_kanban_no_header +NEW ir.ui.view: hr_expense.view_my_expenses_tree +DEL ir.ui.view: hr_expense.hr_expense_sheet_register_payment_view_form +DEL ir.ui.view: hr_expense_check.hr_expense_register_payment_view_form_check_inherit +NEW product.product: hr_expense.product_product_fixed_cost (noupdate) From e7e4a3ee7c64e6929338b566f871ed668f026c60 Mon Sep 17 00:00:00 2001 From: Murtaza Mithaiwala Date: Mon, 2 Aug 2021 17:12:31 +0530 Subject: [PATCH 009/403] [14.0][MIG] purchase_stock --- docsource/modules130-140.rst | 2 +- .../14.0.1.2/upgrade_analysis_work.txt | 25 +++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/purchase_stock/14.0.1.2/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 895ffb4dae70..b0e459c6a0fc 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -566,7 +566,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |purchase_requisition_stock | | +--------------------------------------------+-------------------------------------------------+ -|purchase_stock | | +|purchase_stock | Nothing to do | +--------------------------------------------+-------------------------------------------------+ |rating | Done | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/purchase_stock/14.0.1.2/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/purchase_stock/14.0.1.2/upgrade_analysis_work.txt new file mode 100644 index 000000000000..397b707aee56 --- /dev/null +++ b/openupgrade_scripts/scripts/purchase_stock/14.0.1.2/upgrade_analysis_work.txt @@ -0,0 +1,25 @@ +---Models in module 'purchase_stock'--- +new model vendor.delay.report [sql_view] +---Fields in module 'purchase_stock'--- +purchase_stock / product.product / purchase_order_line_ids (one2many): NEW relation: purchase.order.line +purchase_stock / purchase.order / effective_date (datetime) : NEW isfunction: function, stored +purchase_stock / purchase.order.line / product_description_variants (char): NEW +purchase_stock / purchase.order.line / propagate_date (boolean) : DEL +purchase_stock / purchase.order.line / propagate_date_minimum_delta (integer): DEL +purchase_stock / res.company / days_to_purchase (float) : NEW +purchase_stock / res.partner / purchase_line_ids (one2many) : NEW relation: purchase.order.line +purchase_stock / stock.warehouse.orderpoint / supplier_id (many2one) : NEW relation: product.supplierinfo +---XML records in module 'purchase_stock'--- +NEW ir.actions.act_window: purchase_stock.action_purchase_vendor_delay_report +DEL ir.actions.act_window: purchase_stock.purchase_open_picking +NEW ir.model.access: purchase_stock.access_report_purchase_order +NEW ir.model.access: purchase_stock.access_report_purchase_order_user +DEL ir.model.access: purchase_stock.access_stock_location_purchase_manager +NEW ir.ui.view: purchase_stock.assets_backend +NEW ir.ui.view: purchase_stock.product_category_view_form +NEW ir.ui.view: purchase_stock.purchase_report_product_product_replenishment +NEW ir.ui.view: purchase_stock.res_partner_view_purchase_buttons_inherit +NEW ir.ui.view: purchase_stock.vendor_delay_report_filter +NEW ir.ui.view: purchase_stock.vendor_delay_report_view_graph +NEW ir.ui.view: purchase_stock.view_warehouse_orderpoint_tree_editable_inherited_mrp +# NOTHING TO DO From 130da94981ca6cf29237c8af1151b93ff26f41e1 Mon Sep 17 00:00:00 2001 From: Murtaza Mithaiwala Date: Mon, 2 Aug 2021 17:17:23 +0530 Subject: [PATCH 010/403] [14.0][MIG] purchase_requisition --- docsource/modules130-140.rst | 2 +- .../purchase_requisition/14.0.0.1/noupdate_changes.xml | 4 ++-- .../purchase_requisition/14.0.0.1/upgrade_analysis_work.txt | 5 +++++ 3 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 openupgrade_scripts/scripts/purchase_requisition/14.0.0.1/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 895ffb4dae70..0865f0a5b1e8 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -562,7 +562,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |purchase_product_matrix | | +--------------------------------------------+-------------------------------------------------+ -|purchase_requisition | | +|purchase_requisition | Nothing to do | +--------------------------------------------+-------------------------------------------------+ |purchase_requisition_stock | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/purchase_requisition/14.0.0.1/noupdate_changes.xml b/openupgrade_scripts/scripts/purchase_requisition/14.0.0.1/noupdate_changes.xml index 606ebe60d026..01a16b70e5b4 100644 --- a/openupgrade_scripts/scripts/purchase_requisition/14.0.0.1/noupdate_changes.xml +++ b/openupgrade_scripts/scripts/purchase_requisition/14.0.0.1/noupdate_changes.xml @@ -1,9 +1,9 @@ - + - + diff --git a/openupgrade_scripts/scripts/purchase_requisition/14.0.0.1/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/purchase_requisition/14.0.0.1/upgrade_analysis_work.txt new file mode 100644 index 000000000000..76691b2f3d9a --- /dev/null +++ b/openupgrade_scripts/scripts/purchase_requisition/14.0.0.1/upgrade_analysis_work.txt @@ -0,0 +1,5 @@ +---Models in module 'purchase_requisition'--- +---Fields in module 'purchase_requisition'--- +purchase_requisition / purchase.requisition.line / product_description_variants (char): NEW +---XML records in module 'purchase_requisition'--- +# NOTHING TO DO From 9971995821b11c55ba21dabc8e03a80f6d81430a Mon Sep 17 00:00:00 2001 From: Murtaza Mithaiwala Date: Mon, 2 Aug 2021 17:21:36 +0530 Subject: [PATCH 011/403] [14.0][MIG] purchase_mrp --- docsource/modules130-140.rst | 2 +- .../scripts/purchase_mrp/14.0.1.0/upgrade_analysis_work.txt | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/purchase_mrp/14.0.1.0/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 895ffb4dae70..cbaf2768b62b 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -558,7 +558,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |purchase | | +--------------------------------------------+-------------------------------------------------+ -|purchase_mrp | | +|purchase_mrp | Nothing to do | +--------------------------------------------+-------------------------------------------------+ |purchase_product_matrix | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/purchase_mrp/14.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/purchase_mrp/14.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..baeb8dd802b0 --- /dev/null +++ b/openupgrade_scripts/scripts/purchase_mrp/14.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,6 @@ +---Models in module 'purchase_mrp'--- +---Fields in module 'purchase_mrp'--- +---XML records in module 'purchase_mrp'--- +NEW ir.ui.view: purchase_mrp.mrp_production_form_view_purchase +NEW ir.ui.view: purchase_mrp.purchase_order_form_mrp +# NOTHING TO DO From 7d623254968a679463d1ed6dca77c3dc946a5fc5 Mon Sep 17 00:00:00 2001 From: Murtaza Mithaiwala Date: Wed, 4 Aug 2021 19:00:50 +0530 Subject: [PATCH 012/403] [14.0][MIG] pos_sale --- docsource/modules130-140.rst | 2 +- .../pos_sale/14.0.1.0/openupgrade_analysis_work.txt | 5 +++++ .../scripts/pos_sale/14.0.1.0/pre-migration.py | 10 ++++++++++ 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/pos_sale/14.0.1.0/openupgrade_analysis_work.txt create mode 100644 openupgrade_scripts/scripts/pos_sale/14.0.1.0/pre-migration.py diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 895ffb4dae70..17fd97a586d6 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -536,7 +536,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ | |new| pos_restaurant_adyen | | +--------------------------------------------+-------------------------------------------------+ -|pos_sale | | +|pos_sale | Done | +--------------------------------------------+-------------------------------------------------+ |pos_six | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/pos_sale/14.0.1.0/openupgrade_analysis_work.txt b/openupgrade_scripts/scripts/pos_sale/14.0.1.0/openupgrade_analysis_work.txt new file mode 100644 index 000000000000..5ecc0390ac3f --- /dev/null +++ b/openupgrade_scripts/scripts/pos_sale/14.0.1.0/openupgrade_analysis_work.txt @@ -0,0 +1,5 @@ +---Models in module 'pos_sale'--- +---Fields in module 'pos_sale'--- +---XML records in module 'pos_sale'--- +ir.rule: pos_sale.pos_sale_rule_pos_channel_pos_manager (noupdate) (noupdate switched) +# Done pre-migration \ No newline at end of file diff --git a/openupgrade_scripts/scripts/pos_sale/14.0.1.0/pre-migration.py b/openupgrade_scripts/scripts/pos_sale/14.0.1.0/pre-migration.py new file mode 100644 index 000000000000..4fe4003c7ea6 --- /dev/null +++ b/openupgrade_scripts/scripts/pos_sale/14.0.1.0/pre-migration.py @@ -0,0 +1,10 @@ +# Copyright (C) 2021 Open Source Integrators +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.set_xml_ids_noupdate_value( + env, "pos_sale", ["pos_sale_rule_pos_channel_pos_manager"], True + ) From 50fe1249ffb34ebb24a78ba93b43b4343ecd573d Mon Sep 17 00:00:00 2001 From: Raul Date: Fri, 17 Sep 2021 12:34:45 +0200 Subject: [PATCH 013/403] [14.0][MIG] website_sale_wishlist --- docsource/modules130-140.rst | 2 +- .../14.0.1.0/upgrade_analysis_work.txt | 22 +++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/website_sale_wishlist/14.0.1.0/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 5c234613b5a6..a7f1fa574d57 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -768,7 +768,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |website_sale_stock_product_configurator | | +--------------------------------------------+-------------------------------------------------+ -|website_sale_wishlist | | +|website_sale_wishlist | Nothing to do | +--------------------------------------------+-------------------------------------------------+ |website_slides | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/website_sale_wishlist/14.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_sale_wishlist/14.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..a4fb439f157d --- /dev/null +++ b/openupgrade_scripts/scripts/website_sale_wishlist/14.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,22 @@ +---Models in module 'website_sale_wishlist'--- +---Fields in module 'website_sale_wishlist'--- +---XML records in module 'website_sale_wishlist'--- +NEW ir.ui.view: website_sale_wishlist.header_hide_empty_wishlist_link +NEW ir.ui.view: website_sale_wishlist.header_wishlist_link +NEW ir.ui.view: website_sale_wishlist.snippet_options +# NOTHING TO DO: noupdate = 0 records. + +NEW ir.ui.view: website_sale_wishlist.template_header_boxed +NEW ir.ui.view: website_sale_wishlist.template_header_centered_logo +NEW ir.ui.view: website_sale_wishlist.template_header_contact +NEW ir.ui.view: website_sale_wishlist.template_header_default +NEW ir.ui.view: website_sale_wishlist.template_header_hamburger +NEW ir.ui.view: website_sale_wishlist.template_header_hamburger_full +NEW ir.ui.view: website_sale_wishlist.template_header_image +NEW ir.ui.view: website_sale_wishlist.template_header_magazine +NEW ir.ui.view: website_sale_wishlist.template_header_minimalist +NEW ir.ui.view: website_sale_wishlist.template_header_sidebar +NEW ir.ui.view: website_sale_wishlist.template_header_slogan +NEW ir.ui.view: website_sale_wishlist.template_header_vertical +DEL ir.ui.view: website_sale_wishlist.header +# NOTHING TO DO: noupdate = 0 new templates. From f96db0b5dcf06a2a0bb5de2dffb080303a33a77d Mon Sep 17 00:00:00 2001 From: Raul Date: Fri, 17 Sep 2021 13:34:41 +0200 Subject: [PATCH 014/403] [14.0][MIG] website_sale_stock --- docsource/modules130-140.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 5c234613b5a6..9cc3a00f12a5 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -764,7 +764,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |website_sale_slides | | +--------------------------------------------+-------------------------------------------------+ -|website_sale_stock | | +|website_sale_stock | Nothing to do | +--------------------------------------------+-------------------------------------------------+ |website_sale_stock_product_configurator | | +--------------------------------------------+-------------------------------------------------+ From 1adc3b7489d4fedd97aa61a69b06344ef9de0282 Mon Sep 17 00:00:00 2001 From: mreficent Date: Mon, 19 Jul 2021 15:31:00 +0200 Subject: [PATCH 015/403] [MIG] mass_mailing --- docsource/modules130-140.rst | 2 +- .../mass_mailing/14.0.2.2/pre-migration.py | 35 ++++++++++++ .../14.0.2.2/upgrade_analysis_work.txt | 57 +++++++++++++++++++ 3 files changed, 93 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/mass_mailing/14.0.2.2/pre-migration.py create mode 100644 openupgrade_scripts/scripts/mass_mailing/14.0.2.2/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 444da876f507..0e04610e9861 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -424,7 +424,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |maintenance | | +--------------------------------------------+-------------------------------------------------+ -|mass_mailing | | +|mass_mailing | Done | +--------------------------------------------+-------------------------------------------------+ |mass_mailing_crm | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/mass_mailing/14.0.2.2/pre-migration.py b/openupgrade_scripts/scripts/mass_mailing/14.0.2.2/pre-migration.py new file mode 100644 index 000000000000..1aedf3d1ffaa --- /dev/null +++ b/openupgrade_scripts/scripts/mass_mailing/14.0.2.2/pre-migration.py @@ -0,0 +1,35 @@ +# Copyright 2021 ForgeFlow S.L. +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from openupgradelib import openupgrade + +_xmlid_renames = [ + ( + "mass_mailing.view_mail_mass_mailing_contact_form", + "mass_mailing.mailing_contact_view_form", + ), + ( + "mass_mailing.view_mail_mass_mailing_contact_graph", + "mass_mailing.mailing_contact_view_graph", + ), + ( + "mass_mailing.view_mail_mass_mailing_contact_kanban", + "mass_mailing.mailing_contact_view_kanban", + ), + ( + "mass_mailing.view_mail_mass_mailing_contact_pivot", + "mass_mailing.mailing_contact_view_pivot", + ), + ( + "mass_mailing.view_mail_mass_mailing_contact_search", + "mass_mailing.mailing_contact_view_search", + ), + ( + "mass_mailing.view_mail_mass_mailing_contact_tree", + "mass_mailing.mailing_contact_view_tree", + ), +] + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.rename_xmlids(env.cr, _xmlid_renames) diff --git a/openupgrade_scripts/scripts/mass_mailing/14.0.2.2/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/mass_mailing/14.0.2.2/upgrade_analysis_work.txt new file mode 100644 index 000000000000..1220a1463970 --- /dev/null +++ b/openupgrade_scripts/scripts/mass_mailing/14.0.2.2/upgrade_analysis_work.txt @@ -0,0 +1,57 @@ +---Models in module 'mass_mailing'--- +---Fields in module 'mass_mailing'--- +mass_mailing / mailing.contact / message_has_sms_error (boolean): previously in module sms +mass_mailing / mailing.contact / website_message_ids (one2many): previously in module portal +mass_mailing / mailing.mailing / message_has_sms_error (boolean): previously in module sms +mass_mailing / mailing.mailing / website_message_ids (one2many): previously in module portal +# NOTHING TO DO: handled by ORM + +mass_mailing / mailing.mailing / copyvalue (char) : NEW +mass_mailing / mailing.mailing / lang (char) : NEW +mass_mailing / mailing.mailing / model_object_field (many2one) : NEW relation: ir.model.fields +mass_mailing / mailing.mailing / null_value (char) : NEW +mass_mailing / mailing.mailing / sub_model_object_field (many2one): NEW relation: ir.model.fields +mass_mailing / mailing.mailing / sub_object (many2one) : NEW relation: ir.model +# NOTHING TO DO: fields of mail.render.mixin + + +mass_mailing / mailing.mailing / kpi_mail_required (boolean) : NEW +mass_mailing / mailing.mailing / preview (char) : NEW +# NOTHING TO DO: new features + +mass_mailing / mailing.mailing / mailing_domain (char) : now a function +mass_mailing / mailing.mailing / mailing_model_id (many2one) : now required, req_default: function +mass_mailing / mailing.mailing / medium_id (many2one) : now a function +mass_mailing / mailing.mailing / reply_to (char) : now a function +mass_mailing / mailing.mailing / reply_to_mode (selection) : now a function +# NOTHING TO DO: computed in load + +---XML records in module 'mass_mailing'--- +DEL ir.actions.act_window: mass_mailing.link_tracker_action_mass_mailing +DEL ir.actions.act_window: mass_mailing.link_tracker_action_mass_mailing_campaign +NEW ir.model.access: mass_mailing.access_mail_blacklist_remove_mass_mailing_user +NEW ir.model.access: mass_mailing.access_mailing_list_merge +NEW ir.model.access: mass_mailing.access_mailing_mailing_schedule_date +NEW ir.model.access: mass_mailing.access_mailing_mailing_test +NEW ir.ui.view: mass_mailing.assets_common +NEW ir.ui.view: mass_mailing.mass_mailing_kpi_link_trackers (noupdate) +NEW ir.ui.view: mass_mailing.s_mail_block_header_view +NEW ir.ui.view: mass_mailing.social_links +NEW ir.ui.view: mass_mailing.view +NEW mailing.contact: mass_mailing.mass_mailing_contact_0 (noupdate) +NEW mailing.list: mass_mailing.mailing_list_data (noupdate) +# NOTHING TO DO + +NEW ir.ui.view: mass_mailing.mailing_contact_view_form +NEW ir.ui.view: mass_mailing.mailing_contact_view_graph +NEW ir.ui.view: mass_mailing.mailing_contact_view_kanban +NEW ir.ui.view: mass_mailing.mailing_contact_view_pivot +NEW ir.ui.view: mass_mailing.mailing_contact_view_search +NEW ir.ui.view: mass_mailing.mailing_contact_view_tree +DEL ir.ui.view: mass_mailing.view_mail_mass_mailing_contact_form +DEL ir.ui.view: mass_mailing.view_mail_mass_mailing_contact_graph +DEL ir.ui.view: mass_mailing.view_mail_mass_mailing_contact_kanban +DEL ir.ui.view: mass_mailing.view_mail_mass_mailing_contact_pivot +DEL ir.ui.view: mass_mailing.view_mail_mass_mailing_contact_search +DEL ir.ui.view: mass_mailing.view_mail_mass_mailing_contact_tree +# DONE: pre-migration: renamed xmlids From 4fd019e6ec6a58f9d1eb29e4e21a80b24f64d1bf Mon Sep 17 00:00:00 2001 From: mreficent Date: Fri, 9 Jul 2021 16:55:01 +0200 Subject: [PATCH 016/403] [MIG] account_payment --- docsource/modules130-140.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index b102716da5b7..47a47a886e20 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -36,7 +36,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |account_lock | | +--------------------------------------------+-------------------------------------------------+ -|account_payment | | +|account_payment | Nothing to do | +--------------------------------------------+-------------------------------------------------+ | |new| account_qr_code_sepa | | +--------------------------------------------+-------------------------------------------------+ From 9f81b1222c09a221a5e137f5426b9ca07e97f1a8 Mon Sep 17 00:00:00 2001 From: mreficent Date: Wed, 14 Jul 2021 17:31:40 +0200 Subject: [PATCH 017/403] [MIG] membership --- docsource/modules130-140.rst | 2 +- .../scripts/membership/14.0.1.0/upgrade_analysis_work.txt | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/membership/14.0.1.0/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index b102716da5b7..45c50db456e8 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -442,7 +442,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |mass_mailing_sms | | +--------------------------------------------+-------------------------------------------------+ -|membership | | +|membership | Nothing to do | +--------------------------------------------+-------------------------------------------------+ | |new| microsoft_account | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/membership/14.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/membership/14.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..2a6fe44599bd --- /dev/null +++ b/openupgrade_scripts/scripts/membership/14.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,6 @@ +---Models in module 'membership'--- +---Fields in module 'membership'--- +---XML records in module 'membership'--- +NEW ir.model.access: membership.access_membership_invoice +NEW ir.ui.menu: membership.menu_membership_products +# NOTHING TO DO From f5fbcd2a37355d49e7f4c8ad2678f53b23e36de2 Mon Sep 17 00:00:00 2001 From: Raul Date: Mon, 26 Jul 2021 11:26:18 +0200 Subject: [PATCH 018/403] [14.0][MIG] account_debit_note --- docsource/modules130-140.rst | 2 +- .../account_debit_note/14.0.1.0/upgrade_analysis_work.txt | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/account_debit_note/14.0.1.0/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index b102716da5b7..4dd93d0536d3 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -18,7 +18,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |account_check_printing | | +--------------------------------------------+-------------------------------------------------+ -|account_debit_note | | +|account_debit_note | Nothing to do | +--------------------------------------------+-------------------------------------------------+ | |new| account_edi | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/account_debit_note/14.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/account_debit_note/14.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..d013d6cd01df --- /dev/null +++ b/openupgrade_scripts/scripts/account_debit_note/14.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,5 @@ +---Models in module 'account_debit_note'--- +---Fields in module 'account_debit_note'--- +---XML records in module 'account_debit_note'--- +NEW ir.model.access: account_debit_note.access_account_debit_note_user +# NOTHING TO DO: noupdate = "0" record From 9bb26bd1c160a01db4f39b9fe0f84c47be13fe37 Mon Sep 17 00:00:00 2001 From: mreficent Date: Thu, 22 Jul 2021 17:33:12 +0200 Subject: [PATCH 019/403] [MIG] coupon (from sale_coupon) --- docsource/modules130-140.rst | 4 +- .../scripts/coupon/14.0.1.0/post-migration.py | 11 ++ .../scripts/coupon/14.0.1.0/pre-migration.py | 117 +++++++++++++-- .../coupon/14.0.1.0/upgrade_analysis_work.txt | 134 ++++++++++++++++++ .../14.0.1.0/upgrade_analysis_work.txt | 6 + 5 files changed, 259 insertions(+), 13 deletions(-) create mode 100644 openupgrade_scripts/scripts/coupon/14.0.1.0/post-migration.py create mode 100644 openupgrade_scripts/scripts/coupon/14.0.1.0/upgrade_analysis_work.txt create mode 100644 openupgrade_scripts/scripts/sale_coupon/14.0.1.0/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index b102716da5b7..eb3782611ed0 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -104,7 +104,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |contacts | Nothing to do | +--------------------------------------------+-------------------------------------------------+ -| |new| coupon | | +| |new| coupon | Done (split from sale_coupon) | +--------------------------------------------+-------------------------------------------------+ |crm | Done | +--------------------------------------------+-------------------------------------------------+ @@ -582,7 +582,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |sale | | +--------------------------------------------+-------------------------------------------------+ -|sale_coupon | | +|sale_coupon | Done (split in coupon) | +--------------------------------------------+-------------------------------------------------+ |sale_coupon_delivery | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/coupon/14.0.1.0/post-migration.py b/openupgrade_scripts/scripts/coupon/14.0.1.0/post-migration.py new file mode 100644 index 000000000000..11321b5d9f50 --- /dev/null +++ b/openupgrade_scripts/scripts/coupon/14.0.1.0/post-migration.py @@ -0,0 +1,11 @@ +# Copyright 2021 ForgeFlow S.L. +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.load_data(env.cr, "coupon", "14.0.1.0/noupdate_changes.xml") + openupgrade.delete_record_translations( + env.cr, "coupon", ["mail_template_sale_coupon"] + ) diff --git a/openupgrade_scripts/scripts/coupon/14.0.1.0/pre-migration.py b/openupgrade_scripts/scripts/coupon/14.0.1.0/pre-migration.py index a565414be9ae..35c9020d9347 100644 --- a/openupgrade_scripts/scripts/coupon/14.0.1.0/pre-migration.py +++ b/openupgrade_scripts/scripts/coupon/14.0.1.0/pre-migration.py @@ -2,22 +2,117 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from openupgradelib import openupgrade -to_install = [ - "sale_coupon", +_column_renames = { + "product_product_sale_coupon_reward_rel": [ + ("sale_coupon_reward_id", "coupon_reward_id"), + ], + "sale_coupon_program_sale_order_rel": [ + ("sale_coupon_program_id", "coupon_program_id"), + ], +} + +_model_renames = [ + ("sale.coupon", "coupon.coupon"), + ("sale.coupon.generate", "coupon.generate.wizard"), + ("sale.coupon.program", "coupon.program"), + ("sale.coupon.reward", "coupon.reward"), + ("sale.coupon.rule", "coupon.rule"), + ("report.sale_coupon.report_coupon", "report.coupon.report_coupon"), +] + +_table_renames = [ + ("sale_coupon", "coupon_coupon"), + ("sale_coupon_generate", "coupon_generate_wizard"), + ("sale_coupon_program", "coupon_program"), + ("sale_coupon_reward", "coupon_reward"), + ("sale_coupon_rule", "coupon_rule"), + ("product_product_sale_coupon_reward_rel", "coupon_reward_product_product_rel"), + ("sale_coupon_program_sale_order_rel", "coupon_program_sale_order_rel"), +] + +_xmlid_renames = [ + # rename suffix: + ("coupon.sale_coupon_action", "coupon.coupon_action"), + ("coupon.sale_coupon_generate_action", "coupon.coupon_generate_action"), + ( + "coupon.sale_coupon_program_action_coupon_program", + "coupon.coupon_program_action_coupon_program", + ), + ( + "coupon.sale_coupon_program_action_promo_program", + "coupon.coupon_program_action_promo_program", + ), + ("coupon.sale_coupon_generate_view_form", "coupon.coupon_generate_view_form"), + ( + "coupon.sale_coupon_program_view_form_common", + "coupon.coupon_program_view_form_common", + ), + ("coupon.sale_coupon_view_form", "coupon.coupon_view_form"), + ("coupon.sale_coupon_view_tree", "coupon.coupon_view_tree"), + ( + "coupon.sale_coupon_program_view_promo_program_search", + "coupon.coupon_program_view_promo_program_search", + ), + ( + "coupon.sale_coupon_program_view_promo_program_tree", + "coupon.coupon_program_view_promo_program_tree", + ), + ( + "coupon.sale_coupon_program_view_form", + "coupon.coupon_program_view_coupon_program_form", + ), + ("coupon.sale_coupon_program_view_search", "coupon.coupon_program_view_search"), + ("coupon.sale_coupon_program_view_tree", "coupon.coupon_program_view_tree"), + ("coupon.view_sale_coupon_program_kanban", "coupon.view_coupon_program_kanban"), + ( + "coupon.sale_coupon_program_view_promo_program_form", + "coupon.coupon_program_view_promo_program_form", + ), + # rename prefix: + ( + "coupon.sale_coupon_apply_code_action", + "sale_coupon.sale_coupon_apply_code_action", + ), + ("coupon.sale_order_action", "sale_coupon.sale_order_action"), + ("coupon.access_applicability_manager", "sale_coupon.access_applicability_manager"), + ( + "coupon.access_applicability_salesman", + "sale_coupon.access_applicability_salesman", + ), + ("coupon.access_coupon_manager", "sale_coupon.access_coupon_manager"), + ("coupon.access_coupon_salesman", "sale_coupon.access_coupon_salesman"), + ("coupon.access_program_manager", "sale_coupon.access_program_manager"), + ("coupon.access_program_salesman", "sale_coupon.access_program_salesman"), + ("coupon.access_reward_manager", "sale_coupon.access_reward_manager"), + ("coupon.access_reward_salesman", "sale_coupon.access_reward_salesman"), + ("coupon.menu_coupon_type_config", "sale_coupon.menu_coupon_type_config"), + ("coupon.menu_promotion_type_config", "sale_coupon.menu_promotion_type_config"), + ( + "coupon.res_config_settings_view_form", + "sale_coupon.res_config_settings_view_form", + ), + ( + "coupon.sale_coupon_apply_code_view_form", + "sale_coupon.sale_coupon_apply_code_view_form", + ), + ("coupon.sale_order_view_form", "sale_coupon.sale_order_view_form"), ] -def install_new_modules(cr): - sql = """ - UPDATE ir_module_module - SET state='to install' - WHERE name = {} AND state='uninstalled' - """.format( - tuple(to_install), +def install_new_modules(env): + openupgrade.logged_query( + env.cr, + """ + UPDATE ir_module_module + SET state='to install' + WHERE name = 'sale_coupon' AND state='uninstalled'""", ) - openupgrade.logged_query(cr, sql) @openupgrade.migrate() def migrate(env, version): - install_new_modules(env.cr) + openupgrade.rename_columns(env.cr, _column_renames) + openupgrade.rename_models(env.cr, _model_renames) + openupgrade.rename_tables(env.cr, _table_renames) + openupgrade.rename_xmlids(env.cr, _xmlid_renames) + install_new_modules(env) diff --git a/openupgrade_scripts/scripts/coupon/14.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/coupon/14.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..db3673a97b79 --- /dev/null +++ b/openupgrade_scripts/scripts/coupon/14.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,134 @@ +---Models in module 'coupon'--- +model sale.coupon.apply.code (moved to sale_coupon) [transient] +# NOTHING TO DO: this is due to the module rename + +new model coupon.coupon (renamed from sale.coupon) +new model coupon.generate.wizard (renamed from sale.coupon.generate) [transient] +new model coupon.program (renamed from sale.coupon.program) +new model coupon.reward (renamed from sale.coupon.reward) +new model coupon.rule (renamed from sale.coupon.rule) +new model report.coupon.report_coupon (renamed from report.sale_coupon.report_coupon) [abstract] +obsolete model sale.coupon (renamed to coupon.coupon) +obsolete model sale.coupon.generate (renamed to coupon.generate.wizard) [transient] +obsolete model sale.coupon.program (renamed to coupon.program) +obsolete model sale.coupon.reward (renamed to coupon.reward) +obsolete model sale.coupon.rule (renamed to coupon.rule) +obsolete model report.sale_coupon.report_coupon (renamed to report.coupon.report_coupon) [abstract] +# DONE: pre-migration: renamed models and tables + +---Fields in module 'coupon'--- +sale_coupon / sale.coupon / program_id (many2one) : relation is now 'coupon.program' ('sale.coupon.program') [nothing to do] +sale_coupon / sale.coupon.program / coupon_ids (one2many) : relation is now 'coupon.coupon' ('sale.coupon') [nothing to do] +sale_coupon / sale.coupon.program / reward_id (many2one) : relation is now 'coupon.reward' ('sale.coupon.reward') [nothing to do] +sale_coupon / sale.coupon.program / rule_id (many2one) : relation is now 'coupon.rule' ('sale.coupon.rule') [nothing to do] +sale_coupon / sale.order / applied_coupon_ids (one2many) : relation is now 'coupon.coupon' ('sale.coupon') [nothing to do] +sale_coupon / sale.order / code_promo_program_id (many2one): relation is now 'coupon.program' ('sale.coupon.program') [nothing to do] +sale_coupon / sale.order / generated_coupon_ids (one2many): relation is now 'coupon.coupon' ('sale.coupon') [nothing to do] +sale_coupon / sale.order / no_code_promo_program_ids (many2many): relation is now 'coupon.program' ('sale.coupon.program') [nothing to do] +sale_coupon / sale.coupon.program / _inherits : _inherits is now '{'coupon.rule': 'rule_id', 'coupon.reward': 'reward_id'}' ('{'sale.coupon.rule': 'rule_id', 'sale.coupon.reward': 'reward_id'}') +# NOTHING TO DO: due to model renames + +sale_coupon / sale.coupon / state (selection) : selection_keys is now '['cancel', 'expired', 'new', 'reserved', 'sent', 'used']' ('['expired', 'new', 'reserved', 'used']') +# NOTHING TO DO: new keys + +sale_coupon / sale.coupon.reward / discount_specific_product_ids (many2many): column1 is now 'coupon_reward_id' ('sale_coupon_reward_id') [product_product_sale_coupon_reward_rel] +sale_coupon / sale.coupon.reward / discount_specific_product_ids (many2many): table is now 'coupon_reward_product_product_rel' ('product_product_sale_coupon_reward_rel') +sale_coupon / sale.order / no_code_promo_program_ids (many2many): column2 is now 'coupon_program_id' ('sale_coupon_program_id') [sale_coupon_program_sale_order_rel] +sale_coupon / sale.order / no_code_promo_program_ids (many2many): table is now 'coupon_program_sale_order_rel' ('sale_coupon_program_sale_order_rel') +# DONE: pre-migration: renamed columns and tables + +---XML records in module 'coupon'--- +NEW ir.actions.act_window: sale_coupon.sale_coupon_apply_code_action [moved from sale_coupon module] +DEL ir.actions.act_window: sale_coupon.sale_coupon_apply_code_action [moved to sale_coupon module] +NEW ir.actions.act_window: sale_coupon.sale_order_action [moved from sale_coupon module] +DEL ir.actions.act_window: sale_coupon.sale_order_action [moved to sale_coupon module] +NEW ir.model.access: sale_coupon.access_applicability_manager [moved from sale_coupon module] +DEL ir.model.access: sale_coupon.access_applicability_manager [moved to sale_coupon module] +NEW ir.model.access: sale_coupon.access_applicability_salesman [moved from sale_coupon module] +DEL ir.model.access: sale_coupon.access_applicability_salesman [moved to sale_coupon module] +NEW ir.model.access: sale_coupon.access_coupon_manager [moved from sale_coupon module] +DEL ir.model.access: sale_coupon.access_coupon_manager [moved to sale_coupon module] +NEW ir.model.access: sale_coupon.access_coupon_salesman [moved from sale_coupon module] +DEL ir.model.access: sale_coupon.access_coupon_salesman [moved to sale_coupon module] +NEW ir.model.access: sale_coupon.access_program_manager [moved from sale_coupon module] +DEL ir.model.access: sale_coupon.access_program_manager [moved to sale_coupon module] +NEW ir.model.access: sale_coupon.access_program_salesman [moved from sale_coupon module] +DEL ir.model.access: sale_coupon.access_program_salesman [moved to sale_coupon module] +NEW ir.model.access: sale_coupon.access_reward_manager [moved from sale_coupon module] +DEL ir.model.access: sale_coupon.access_reward_manager [moved to sale_coupon module] +NEW ir.model.access: sale_coupon.access_reward_salesman [moved from sale_coupon module] +DEL ir.model.access: sale_coupon.access_reward_salesman [moved to sale_coupon module] +NEW ir.ui.menu: sale_coupon.menu_coupon_type_config [moved from sale_coupon module] +DEL ir.ui.menu: sale_coupon.menu_coupon_type_config [moved to sale_coupon module] +NEW ir.ui.menu: sale_coupon.menu_promotion_type_config [moved from sale_coupon module] +DEL ir.ui.menu: sale_coupon.menu_promotion_type_config [moved to sale_coupon module] +NEW ir.ui.view: sale_coupon.res_config_settings_view_form [moved from sale_coupon module] +DEL ir.ui.view: sale_coupon.res_config_settings_view_form [moved to sale_coupon module] +NEW ir.ui.view: sale_coupon.sale_coupon_apply_code_view_form [moved from sale_coupon module] +DEL ir.ui.view: sale_coupon.sale_coupon_apply_code_view_form [moved to sale_coupon module] +NEW ir.ui.view: sale_coupon.sale_order_view_form [moved from sale_coupon module] +DEL ir.ui.view: sale_coupon.sale_order_view_form [moved to sale_coupon module] +# DONE: pre-migration: rename prefix to sale_coupon + + +NEW ir.model.access: sale_coupon.access_sale_coupon_apply_code +NEW ir.model.access: sale_coupon.access_sale_coupon_generate +NEW ir.rule: sale_coupon.sale_coupon_apply_code_rule (noupdate) +NEW ir.ui.view: sale_coupon.sale_coupon_program_view_promo_program_form [moved from sale_coupon module] +NEW ir.ui.view: sale_coupon.sale_coupon_view_form [moved from sale_coupon module] +NEW ir.ui.view: sale_coupon.sale_coupon_view_tree [moved from sale_coupon module] +NEW ir.ui.view: sale_coupon.sale_coupon_program_view_coupon_program_form +NEW ir.ui.view: sale_coupon.sale_coupon_view_coupon_program_kanban +# NOTHING TO DO: new things in sale_coupon + +NEW ir.actions.report: coupon.report_coupon_code [renamed from sale_coupon module] +DEL ir.actions.report: sale_coupon.report_coupon_code [renamed to coupon module] +NEW ir.cron: coupon.expire_coupon_cron [renamed from sale_coupon module] (noupdate) +DEL ir.cron: sale_coupon.expire_coupon_cron [renamed to coupon module] (noupdate) +NEW mail.template: coupon.mail_template_sale_coupon [renamed from sale_coupon module] (noupdate) +DEL mail.template: sale_coupon.mail_template_sale_coupon [renamed to coupon module] (noupdate) +NEW ir.ui.view: coupon.report_coupon +DEL ir.ui.view: sale_coupon.report_coupon +NEW ir.ui.view: coupon.report_coupon_i18n +DEL ir.ui.view: sale_coupon.report_coupon_i18n +# NOTHING TO DO: because the prefix is corrected when doing the module rename + +NEW ir.model.access: coupon.access_coupon_coupon +NEW ir.model.access: coupon.access_coupon_generate_wizard +NEW ir.model.access: coupon.access_coupon_program +NEW ir.model.access: coupon.access_coupon_reward +NEW ir.model.access: coupon.access_coupon_rule +NEW ir.rule: coupon.sale_coupon_generate_rule (noupdate) +# NOTHING TO DO: new things in coupon + +NEW ir.actions.act_window: coupon.coupon_action +DEL ir.actions.act_window: sale_coupon.sale_coupon_action +NEW ir.actions.act_window: coupon.coupon_generate_action +DEL ir.actions.act_window: sale_coupon.sale_coupon_generate_action +NEW ir.actions.act_window: coupon.coupon_program_action_coupon_program +DEL ir.actions.act_window: sale_coupon.sale_coupon_program_action_coupon_program +NEW ir.actions.act_window: coupon.coupon_program_action_promo_program +DEL ir.actions.act_window: sale_coupon.sale_coupon_program_action_promo_program +NEW ir.ui.view: coupon.coupon_generate_view_form +DEL ir.ui.view: sale_coupon.sale_coupon_generate_view_form +NEW ir.ui.view: coupon.coupon_program_view_form_common +DEL ir.ui.view: sale_coupon.sale_coupon_program_view_form_common +NEW ir.ui.view: coupon.coupon_view_form +DEL ir.ui.view: sale_coupon.sale_coupon_view_form [moved to sale_coupon module] +NEW ir.ui.view: coupon.coupon_view_tree +DEL ir.ui.view: sale_coupon.sale_coupon_view_tree [moved to sale_coupon module] +NEW ir.ui.view: coupon.coupon_program_view_promo_program_search +DEL ir.ui.view: sale_coupon.sale_coupon_program_view_promo_program_search +NEW ir.ui.view: coupon.coupon_program_view_promo_program_tree +DEL ir.ui.view: sale_coupon.sale_coupon_program_view_promo_program_tree +NEW ir.ui.view: coupon.coupon_program_view_coupon_program_form +DEL ir.ui.view: sale_coupon.sale_coupon_program_view_form +NEW ir.ui.view: coupon.coupon_program_view_search +DEL ir.ui.view: sale_coupon.sale_coupon_program_view_search +NEW ir.ui.view: coupon.coupon_program_view_tree +DEL ir.ui.view: sale_coupon.sale_coupon_program_view_tree +NEW ir.ui.view: coupon.view_coupon_program_kanban +DEL ir.ui.view: sale_coupon.view_sale_coupon_program_kanban +NEW ir.ui.view: coupon.coupon_program_view_promo_program_form +DEL ir.ui.view: sale_coupon.sale_coupon_program_view_promo_program_form [moved to sale_coupon module] +# DONE: pre-migration: renamed xmlids diff --git a/openupgrade_scripts/scripts/sale_coupon/14.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/sale_coupon/14.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..d605f04d3898 --- /dev/null +++ b/openupgrade_scripts/scripts/sale_coupon/14.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,6 @@ +---Models in module 'sale_coupon'--- +model sale.coupon.apply.code (moved from sale_coupon) [transient] +# NOTHING TO DO + +---Fields in module 'sale_coupon'--- +---XML records in module 'sale_coupon'--- From 61e252a9c5ab6e4cdae5be9de524d0c90007ff8f Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Sat, 18 Dec 2021 17:09:35 +0100 Subject: [PATCH 020/403] [OU-ADD] procurement_jit: Nothing to do Even no openupgrade analysis was generated. TT30016 --- docsource/modules130-140.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 2378e50bf2d8..1ec989735404 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -546,7 +546,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |pos_six | | +--------------------------------------------+-------------------------------------------------+ -|procurement_jit | | +|procurement_jit | Nothing to do | +--------------------------------------------+-------------------------------------------------+ |product | Done | +--------------------------------------------+-------------------------------------------------+ From e3b22ff862c82fb5e038942b0ea933558b893183 Mon Sep 17 00:00:00 2001 From: tranngocson1996 Date: Thu, 6 Jan 2022 10:06:30 +0700 Subject: [PATCH 021/403] [MIG] auth_password_policy: nothing to do --- docsource/modules130-140.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 924173823e79..86dfce0c496e 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -56,7 +56,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |auth_oauth | Done | +--------------------------------------------+-------------------------------------------------+ -|auth_password_policy | | +|auth_password_policy | Nothing to do | +--------------------------------------------+-------------------------------------------------+ | |new| auth_password_policy_portal | | +--------------------------------------------+-------------------------------------------------+ From 755261dbdc1186fbbedb78c70df50e17d53db81e Mon Sep 17 00:00:00 2001 From: tranngocson1996 Date: Thu, 6 Jan 2022 10:10:25 +0700 Subject: [PATCH 022/403] [MIG] auth_password_policy_signup: nothing to do --- docsource/modules130-140.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 924173823e79..0cd8f6c5a011 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -60,7 +60,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ | |new| auth_password_policy_portal | | +--------------------------------------------+-------------------------------------------------+ -|auth_password_policy_signup | | +|auth_password_policy_signup | Nothing to do | +--------------------------------------------+-------------------------------------------------+ |auth_signup | Done | +--------------------------------------------+-------------------------------------------------+ From 68798a78f3b716026eb8f17300049a91aeedb1c5 Mon Sep 17 00:00:00 2001 From: tranngocson1996 Date: Thu, 6 Jan 2022 15:16:53 +0700 Subject: [PATCH 023/403] [MIG] crm_livechat: nothing to do --- docsource/modules130-140.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 924173823e79..6a2af4637deb 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -114,7 +114,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |crm_iap_lead_website | | +--------------------------------------------+-------------------------------------------------+ -|crm_livechat | | +|crm_livechat | Nothing to do | +--------------------------------------------+-------------------------------------------------+ |crm_sms | | +--------------------------------------------+-------------------------------------------------+ From 8f15011607ad6ad4045d42c26a151cd8029337b4 Mon Sep 17 00:00:00 2001 From: tranngocson1996 Date: Fri, 31 Dec 2021 10:52:25 +0700 Subject: [PATCH 024/403] [MIG] account_edi_extended: nothing to do --- docsource/modules130-140.rst | 2 +- .../14.0.1.0/upgrade_analysis_work.txt | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/account_edi_extended/14.0.1.0/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 924173823e79..27ba085b9b39 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -22,7 +22,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ | |new| account_edi | Nothing to do | +--------------------------------------------+-------------------------------------------------+ -| |new| account_edi_extended | | +| |new| account_edi_extended | Nothing to do | +--------------------------------------------+-------------------------------------------------+ | |new| account_edi_facturx | Renamed from account_facturx | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/account_edi_extended/14.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/account_edi_extended/14.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..a6f9d5875b47 --- /dev/null +++ b/openupgrade_scripts/scripts/account_edi_extended/14.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,11 @@ +---Models in module 'account_edi_extended'--- + +---Fields in module 'account_edi_extended'--- +account_edi_extended / account.edi.document / blocking_level (selection) : NEW selection_keys: ['error', 'info', 'warning'] +# NOTHING TO DO + +---XML records in module 'account_edi_extended'--- +NEW ir.ui.view: account_edi_extended.view_move_form_inherit +NEW ir.ui.view: account_edi_extended.view_payment_form_inherit +NEW ir.ui.view: account_edi_extended.view_tree_account_edi_document_inherit +# NOTHING TO DO From 27c6a85d0d0c6db9ebf2a38fca603fcf54ab74b6 Mon Sep 17 00:00:00 2001 From: tranngocson1996 Date: Wed, 5 Jan 2022 08:17:10 +0700 Subject: [PATCH 025/403] [MIG] account_lock: nothing to do --- docsource/modules130-140.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 924173823e79..59b53b7cc56a 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -34,7 +34,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ | |new| account_fleet | | +--------------------------------------------+-------------------------------------------------+ -|account_lock | | +|account_lock | Nothing to do | +--------------------------------------------+-------------------------------------------------+ |account_payment | | +--------------------------------------------+-------------------------------------------------+ From 61ba5d0998b094e796e1c7f87f225233e57870e2 Mon Sep 17 00:00:00 2001 From: tranngocson1996 Date: Mon, 10 Jan 2022 10:52:12 +0700 Subject: [PATCH 026/403] [MIG] google_spreadsheet: nothing to do --- docsource/modules130-140.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 281ae4cdf1a3..514ee8c0bc0c 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -148,7 +148,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ | |new| google_recaptcha | | +--------------------------------------------+-------------------------------------------------+ -|google_spreadsheet | | +|google_spreadsheet | Nothing to do | +--------------------------------------------+-------------------------------------------------+ |hr | Done | +--------------------------------------------+-------------------------------------------------+ From 65e8294fcec3f20dfbe03bdc776fd23d7551cecb Mon Sep 17 00:00:00 2001 From: tranngocson1996 Date: Mon, 10 Jan 2022 11:10:41 +0700 Subject: [PATCH 027/403] [MIG] hr_fleet: nothing to do --- docsource/modules130-140.rst | 2 +- .../hr_fleet/14.0.1.0/upgrade_analysis_work.txt | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/hr_fleet/14.0.1.0/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 281ae4cdf1a3..ad7aa79bd3a1 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -160,7 +160,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ | |del| hr_expense_check | Merged into hr_expense | +--------------------------------------------+-------------------------------------------------+ -|hr_fleet | | +|hr_fleet | Nothing to do | +--------------------------------------------+-------------------------------------------------+ |hr_gamification | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/hr_fleet/14.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/hr_fleet/14.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..85ae785a627c --- /dev/null +++ b/openupgrade_scripts/scripts/hr_fleet/14.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,11 @@ +---Models in module 'hr_fleet'--- +---Fields in module 'hr_fleet'--- +hr_fleet / fleet.vehicle / mobility_card (char) : NEW isfunction: function, stored +hr_fleet / hr.employee / mobility_card (char) : NEW +# NOTHING TO DO: automated field filling + +---XML records in module 'hr_fleet'--- +NEW ir.ui.view: hr_fleet.fleet_vehicle_view_form_inherit_hr +NEW ir.ui.view: hr_fleet.fleet_vehicle_view_search_inherit_hr +NEW ir.ui.view: hr_fleet.hr_departure_wizard_view_form +# NOTHING TO DO: noupdate="0" records From 6299521e90146bca69e2ca12dbd7749585119f2f Mon Sep 17 00:00:00 2001 From: tranngocson1996 Date: Mon, 10 Jan 2022 11:25:41 +0700 Subject: [PATCH 028/403] [MIG] hr_holidays_attendance: nothing to do --- docsource/modules130-140.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 281ae4cdf1a3..fb2b6f888c86 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -166,7 +166,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |hr_holidays | Done | +--------------------------------------------+-------------------------------------------------+ -|hr_holidays_attendance | | +|hr_holidays_attendance | Nothing to do | +--------------------------------------------+-------------------------------------------------+ | |del| hr_holidays_calendar | Merged into hr_holidays | +--------------------------------------------+-------------------------------------------------+ From 3b55c19ed478b4041ae41b879a2d02b8f2d9da4c Mon Sep 17 00:00:00 2001 From: tranngocson1996 Date: Mon, 10 Jan 2022 15:18:51 +0700 Subject: [PATCH 029/403] [MIG] hr_recruitment_survey: nothing to do --- docsource/modules130-140.rst | 2 +- .../14.0.1.0/upgrade_analysis_work.txt | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/hr_recruitment_survey/14.0.1.0/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 281ae4cdf1a3..a5bf0bb5c1ce 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -178,7 +178,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |hr_recruitment | Done | +--------------------------------------------+-------------------------------------------------+ -|hr_recruitment_survey | | +|hr_recruitment_survey | Nothing to do | +--------------------------------------------+-------------------------------------------------+ |hr_skills | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/hr_recruitment_survey/14.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/hr_recruitment_survey/14.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..62cbeeb67ac6 --- /dev/null +++ b/openupgrade_scripts/scripts/hr_recruitment_survey/14.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,8 @@ +---Models in module 'hr_recruitment_survey'--- +---Fields in module 'hr_recruitment_survey'--- +hr_recruitment_survey / survey.survey / category (False) : DEL selection_keys: ['default', 'hr_recruitment'], mode: modify +# NOTHING TO DO: Removed feature + +---XML records in module 'hr_recruitment_survey'--- +DEL ir.ui.view: hr_recruitment_survey.survey_survey_view_form +# NOTHING TO DO: noupdate="0" records From 6e2a73a09c11dacc440f861847058dcda0eb0986 Mon Sep 17 00:00:00 2001 From: tranngocson1996 Date: Fri, 7 Jan 2022 14:51:16 +0700 Subject: [PATCH 030/403] [MIG] crm_iap_lead_enrich: migration script --- docsource/modules130-140.rst | 2 +- .../crm_iap_lead_enrich/14.0.1.1/post-migration.py | 9 +++++++++ .../14.0.1.1/upgrade_analysis_work.txt | 5 +++++ 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/crm_iap_lead_enrich/14.0.1.1/post-migration.py create mode 100644 openupgrade_scripts/scripts/crm_iap_lead_enrich/14.0.1.1/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 924173823e79..4c4dabaea4e6 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -110,7 +110,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |crm_iap_lead | | +--------------------------------------------+-------------------------------------------------+ -|crm_iap_lead_enrich | | +|crm_iap_lead_enrich | Done | +--------------------------------------------+-------------------------------------------------+ |crm_iap_lead_website | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/crm_iap_lead_enrich/14.0.1.1/post-migration.py b/openupgrade_scripts/scripts/crm_iap_lead_enrich/14.0.1.1/post-migration.py new file mode 100644 index 000000000000..d40db9c655c9 --- /dev/null +++ b/openupgrade_scripts/scripts/crm_iap_lead_enrich/14.0.1.1/post-migration.py @@ -0,0 +1,9 @@ +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.delete_records_safely_by_xml_id( + env, + ["crm_iap_lead_enrich.mail_message_lead_enrich_with_data"], + ) diff --git a/openupgrade_scripts/scripts/crm_iap_lead_enrich/14.0.1.1/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/crm_iap_lead_enrich/14.0.1.1/upgrade_analysis_work.txt new file mode 100644 index 000000000000..468079f52b4c --- /dev/null +++ b/openupgrade_scripts/scripts/crm_iap_lead_enrich/14.0.1.1/upgrade_analysis_work.txt @@ -0,0 +1,5 @@ +---Models in module 'crm_iap_lead_enrich'--- +---Fields in module 'crm_iap_lead_enrich'--- +---XML records in module 'crm_iap_lead_enrich'--- +DEL ir.ui.view: crm_iap_lead_enrich.mail_message_lead_enrich_with_data (noupdate) +# DONE: post-migration: delete view From bb3fccdd1efbcbb154a460d75728c282ce39a53a Mon Sep 17 00:00:00 2001 From: tranngocson1996 Date: Tue, 11 Jan 2022 10:15:05 +0700 Subject: [PATCH 031/403] [MIG] hr_work_entry: nothing to do --- docsource/modules130-140.rst | 2 +- .../14.0.1.0/upgrade_analysis_work.txt | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/hr_work_entry/14.0.1.0/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 281ae4cdf1a3..f926c98ad91b 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -190,7 +190,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |hr_timesheet_attendance | | +--------------------------------------------+-------------------------------------------------+ -|hr_work_entry | | +|hr_work_entry | Nothing to do | +--------------------------------------------+-------------------------------------------------+ |http_routing | Nothing to do | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/hr_work_entry/14.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/hr_work_entry/14.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..fc864cf57d75 --- /dev/null +++ b/openupgrade_scripts/scripts/hr_work_entry/14.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,13 @@ +---Models in module 'hr_work_entry'--- +---Fields in module 'hr_work_entry'--- +hr_work_entry / hr.work.entry / date_stop (datetime) : now a function +# NOTHING TO DO: automated field filling + +---XML records in module 'hr_work_entry'--- +NEW ir.model.access: hr_work_entry.access_hr_work_entry_system +NEW ir.ui.view: hr_work_entry.resource_calendar_attendance_view_form +NEW ir.ui.view: hr_work_entry.resource_calendar_attendance_view_tree +NEW ir.ui.view: hr_work_entry.resource_calendar_leave_view_form +NEW ir.ui.view: hr_work_entry.resource_calendar_leave_view_tree +NEW ir.ui.view: hr_work_entry.resource_calendar_view_form +# NOTHING TO DO: noupdate="0" records From cc63df6fd4bf6bbe76cd4440be5844b1472ca502 Mon Sep 17 00:00:00 2001 From: tranngocson1996 Date: Tue, 11 Jan 2022 11:37:37 +0700 Subject: [PATCH 032/403] [MIG] l10n_dk: nothing to do --- docsource/modules130-140.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 281ae4cdf1a3..e638daccd9b1 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -272,7 +272,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ | |new| l10n_de_stock | | +--------------------------------------------+-------------------------------------------------+ -|l10n_dk | | +|l10n_dk | Nothing to do | +--------------------------------------------+-------------------------------------------------+ |l10n_do | | +--------------------------------------------+-------------------------------------------------+ From c8fcdbbfc912c0c5cae882aa8b94a15088bae0e0 Mon Sep 17 00:00:00 2001 From: tranngocson1996 Date: Tue, 11 Jan 2022 11:44:49 +0700 Subject: [PATCH 033/403] [MIG] l10n_do: nothing to do --- docsource/modules130-140.rst | 2 +- .../14.0.2.0/upgrade_analysis_work.txt | 197 ++++++++++++++++++ 2 files changed, 198 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/l10n_do/14.0.2.0/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 281ae4cdf1a3..a5df939439c9 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -274,7 +274,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |l10n_dk | | +--------------------------------------------+-------------------------------------------------+ -|l10n_do | | +|l10n_do | Nothing to do | +--------------------------------------------+-------------------------------------------------+ |l10n_dz | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/l10n_do/14.0.2.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/l10n_do/14.0.2.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..197f7eb985ff --- /dev/null +++ b/openupgrade_scripts/scripts/l10n_do/14.0.2.0/upgrade_analysis_work.txt @@ -0,0 +1,197 @@ +---Models in module 'l10n_do'--- +---Fields in module 'l10n_do'--- +---XML records in module 'l10n_do'--- +DEL account.group: l10n_do.account_group_1 +DEL account.group: l10n_do.account_group_11 +DEL account.group: l10n_do.account_group_1101 +DEL account.group: l10n_do.account_group_110101 +DEL account.group: l10n_do.account_group_110102 +DEL account.group: l10n_do.account_group_110103 +DEL account.group: l10n_do.account_group_1102 +DEL account.group: l10n_do.account_group_110301 +DEL account.group: l10n_do.account_group_110302 +DEL account.group: l10n_do.account_group_1104 +DEL account.group: l10n_do.account_group_1105 +DEL account.group: l10n_do.account_group_1106 +DEL account.group: l10n_do.account_group_1107 +DEL account.group: l10n_do.account_group_1108 +DEL account.group: l10n_do.account_group_110801 +DEL account.group: l10n_do.account_group_110803 +DEL account.group: l10n_do.account_group_1109 +DEL account.group: l10n_do.account_group_1110 +DEL account.group: l10n_do.account_group_12 +DEL account.group: l10n_do.account_group_1201 +DEL account.group: l10n_do.account_group_120101 +DEL account.group: l10n_do.account_group_120102 +DEL account.group: l10n_do.account_group_120103 +DEL account.group: l10n_do.account_group_1202 +DEL account.group: l10n_do.account_group_1203 +DEL account.group: l10n_do.account_group_1204 +DEL account.group: l10n_do.account_group_1205 +DEL account.group: l10n_do.account_group_1206 +DEL account.group: l10n_do.account_group_1207 +DEL account.group: l10n_do.account_group_1208 +DEL account.group: l10n_do.account_group_1209 +DEL account.group: l10n_do.account_group_13 +DEL account.group: l10n_do.account_group_1301 +DEL account.group: l10n_do.account_group_130101 +DEL account.group: l10n_do.account_group_2 +DEL account.group: l10n_do.account_group_21 +DEL account.group: l10n_do.account_group_2101 +DEL account.group: l10n_do.account_group_2102 +DEL account.group: l10n_do.account_group_2103 +DEL account.group: l10n_do.account_group_210301 +DEL account.group: l10n_do.account_group_210302 +DEL account.group: l10n_do.account_group_210303 +DEL account.group: l10n_do.account_group_210304 +DEL account.group: l10n_do.account_group_210305 +DEL account.group: l10n_do.account_group_2104 +DEL account.group: l10n_do.account_group_2105 +DEL account.group: l10n_do.account_group_22 +DEL account.group: l10n_do.account_group_2201 +DEL account.group: l10n_do.account_group_2202 +DEL account.group: l10n_do.account_group_2203 +DEL account.group: l10n_do.account_group_2204 +DEL account.group: l10n_do.account_group_3 +DEL account.group: l10n_do.account_group_31 +DEL account.group: l10n_do.account_group_3101 +DEL account.group: l10n_do.account_group_3102 +DEL account.group: l10n_do.account_group_32 +DEL account.group: l10n_do.account_group_3201 +DEL account.group: l10n_do.account_group_33 +DEL account.group: l10n_do.account_group_3301 +DEL account.group: l10n_do.account_group_3302 +DEL account.group: l10n_do.account_group_3304 +DEL account.group: l10n_do.account_group_4 +DEL account.group: l10n_do.account_group_41 +DEL account.group: l10n_do.account_group_4101 +DEL account.group: l10n_do.account_group_4102 +DEL account.group: l10n_do.account_group_4103 +DEL account.group: l10n_do.account_group_4104 +DEL account.group: l10n_do.account_group_42 +DEL account.group: l10n_do.account_group_4201 +DEL account.group: l10n_do.account_group_4202 +DEL account.group: l10n_do.account_group_4203 +DEL account.group: l10n_do.account_group_4204 +DEL account.group: l10n_do.account_group_5 +DEL account.group: l10n_do.account_group_51 +DEL account.group: l10n_do.account_group_5101 +DEL account.group: l10n_do.account_group_5102 +DEL account.group: l10n_do.account_group_6 +DEL account.group: l10n_do.account_group_61 +DEL account.group: l10n_do.account_group_6101 +DEL account.group: l10n_do.account_group_610101 +DEL account.group: l10n_do.account_group_610102 +DEL account.group: l10n_do.account_group_6102 +DEL account.group: l10n_do.account_group_6103 +DEL account.group: l10n_do.account_group_610301 +DEL account.group: l10n_do.account_group_610302 +DEL account.group: l10n_do.account_group_610303 +DEL account.group: l10n_do.account_group_6104 +DEL account.group: l10n_do.account_group_6105 +DEL account.group: l10n_do.account_group_6106 +DEL account.group: l10n_do.account_group_6107 +DEL account.group: l10n_do.account_group_6108 +DEL account.group: l10n_do.account_group_7 +DEL account.group: l10n_do.account_group_71 +DEL account.group: l10n_do.account_group_7101 +DEL account.group: l10n_do.account_group_documentosporcobrar +NEW account.group.template: l10n_do.account_group_1 +NEW account.group.template: l10n_do.account_group_11 +NEW account.group.template: l10n_do.account_group_1101 +NEW account.group.template: l10n_do.account_group_110101 +NEW account.group.template: l10n_do.account_group_110102 +NEW account.group.template: l10n_do.account_group_110103 +NEW account.group.template: l10n_do.account_group_1102 +NEW account.group.template: l10n_do.account_group_1103 +NEW account.group.template: l10n_do.account_group_110301 +NEW account.group.template: l10n_do.account_group_110302 +NEW account.group.template: l10n_do.account_group_1104 +NEW account.group.template: l10n_do.account_group_1105 +NEW account.group.template: l10n_do.account_group_1106 +NEW account.group.template: l10n_do.account_group_1107 +NEW account.group.template: l10n_do.account_group_1108 +NEW account.group.template: l10n_do.account_group_110801 +NEW account.group.template: l10n_do.account_group_110803 +NEW account.group.template: l10n_do.account_group_1109 +NEW account.group.template: l10n_do.account_group_1110 +NEW account.group.template: l10n_do.account_group_12 +NEW account.group.template: l10n_do.account_group_1201 +NEW account.group.template: l10n_do.account_group_120101 +NEW account.group.template: l10n_do.account_group_120102 +NEW account.group.template: l10n_do.account_group_120103 +NEW account.group.template: l10n_do.account_group_1202 +NEW account.group.template: l10n_do.account_group_1203 +NEW account.group.template: l10n_do.account_group_1204 +NEW account.group.template: l10n_do.account_group_1205 +NEW account.group.template: l10n_do.account_group_1206 +NEW account.group.template: l10n_do.account_group_1207 +NEW account.group.template: l10n_do.account_group_1208 +NEW account.group.template: l10n_do.account_group_1209 +NEW account.group.template: l10n_do.account_group_13 +NEW account.group.template: l10n_do.account_group_1301 +NEW account.group.template: l10n_do.account_group_130101 +NEW account.group.template: l10n_do.account_group_2 +NEW account.group.template: l10n_do.account_group_21 +NEW account.group.template: l10n_do.account_group_2101 +NEW account.group.template: l10n_do.account_group_2102 +NEW account.group.template: l10n_do.account_group_2103 +NEW account.group.template: l10n_do.account_group_210301 +NEW account.group.template: l10n_do.account_group_210302 +NEW account.group.template: l10n_do.account_group_210303 +NEW account.group.template: l10n_do.account_group_210304 +NEW account.group.template: l10n_do.account_group_210305 +NEW account.group.template: l10n_do.account_group_2104 +NEW account.group.template: l10n_do.account_group_2105 +NEW account.group.template: l10n_do.account_group_22 +NEW account.group.template: l10n_do.account_group_2201 +NEW account.group.template: l10n_do.account_group_2202 +NEW account.group.template: l10n_do.account_group_2203 +NEW account.group.template: l10n_do.account_group_2204 +NEW account.group.template: l10n_do.account_group_3 +NEW account.group.template: l10n_do.account_group_31 +NEW account.group.template: l10n_do.account_group_3101 +NEW account.group.template: l10n_do.account_group_3102 +NEW account.group.template: l10n_do.account_group_32 +NEW account.group.template: l10n_do.account_group_3201 +NEW account.group.template: l10n_do.account_group_33 +NEW account.group.template: l10n_do.account_group_3301 +NEW account.group.template: l10n_do.account_group_3302 +NEW account.group.template: l10n_do.account_group_3304 +NEW account.group.template: l10n_do.account_group_4 +NEW account.group.template: l10n_do.account_group_41 +NEW account.group.template: l10n_do.account_group_4101 +NEW account.group.template: l10n_do.account_group_4102 +NEW account.group.template: l10n_do.account_group_4103 +NEW account.group.template: l10n_do.account_group_4104 +NEW account.group.template: l10n_do.account_group_42 +NEW account.group.template: l10n_do.account_group_4201 +NEW account.group.template: l10n_do.account_group_4202 +NEW account.group.template: l10n_do.account_group_4203 +NEW account.group.template: l10n_do.account_group_4204 +NEW account.group.template: l10n_do.account_group_5 +NEW account.group.template: l10n_do.account_group_51 +NEW account.group.template: l10n_do.account_group_5101 +NEW account.group.template: l10n_do.account_group_5102 +NEW account.group.template: l10n_do.account_group_6 +NEW account.group.template: l10n_do.account_group_61 +NEW account.group.template: l10n_do.account_group_6101 +NEW account.group.template: l10n_do.account_group_610101 +NEW account.group.template: l10n_do.account_group_610102 +NEW account.group.template: l10n_do.account_group_6102 +NEW account.group.template: l10n_do.account_group_6103 +NEW account.group.template: l10n_do.account_group_610301 +NEW account.group.template: l10n_do.account_group_610302 +NEW account.group.template: l10n_do.account_group_610303 +NEW account.group.template: l10n_do.account_group_6104 +NEW account.group.template: l10n_do.account_group_6105 +NEW account.group.template: l10n_do.account_group_6106 +NEW account.group.template: l10n_do.account_group_6107 +NEW account.group.template: l10n_do.account_group_6108 +NEW account.group.template: l10n_do.account_group_7 +NEW account.group.template: l10n_do.account_group_71 +NEW account.group.template: l10n_do.account_group_7101 +NEW account.tax.report: l10n_do.tax_report +NEW account.tax.report.line: l10n_do.account_financial_report_line_02_01_do_account_tax_report_total_itbs +DEL account.tax.report.line: l10n_do.account_financial_report_line_02_01_do account_tax_report_total_itbs +# NOTHING TO DO From c97ec9e5a4247b251fa751218ad8991a482216a3 Mon Sep 17 00:00:00 2001 From: tranngocson1996 Date: Tue, 11 Jan 2022 14:18:50 +0700 Subject: [PATCH 034/403] [MIG] l10n_dz: nothing to do --- docsource/modules130-140.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 281ae4cdf1a3..37a1fc8a998a 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -276,7 +276,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |l10n_do | | +--------------------------------------------+-------------------------------------------------+ -|l10n_dz | | +|l10n_dz | Nothing to do | +--------------------------------------------+-------------------------------------------------+ |l10n_ec | | +--------------------------------------------+-------------------------------------------------+ From a8927b0820a7f7a85327a4b90c8ac9b585624981 Mon Sep 17 00:00:00 2001 From: tranngocson1996 Date: Tue, 11 Jan 2022 14:54:36 +0700 Subject: [PATCH 035/403] [MIG] mass_mailing_event: nothing to do --- docsource/modules130-140.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 281ae4cdf1a3..8d48cee9ac29 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -432,7 +432,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |mass_mailing_crm | | +--------------------------------------------+-------------------------------------------------+ -|mass_mailing_event | | +|mass_mailing_event | Nothing to do | +--------------------------------------------+-------------------------------------------------+ |mass_mailing_event_sms | | +--------------------------------------------+-------------------------------------------------+ From 83b5f677e7c3b618a8ed08390e3023aeb0b0ba40 Mon Sep 17 00:00:00 2001 From: tranngocson1996 Date: Tue, 11 Jan 2022 14:57:41 +0700 Subject: [PATCH 036/403] [MIG] mass_mailing_event_sms: nothing to do --- docsource/modules130-140.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 281ae4cdf1a3..8eebab8dfbfb 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -434,7 +434,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |mass_mailing_event | | +--------------------------------------------+-------------------------------------------------+ -|mass_mailing_event_sms | | +|mass_mailing_event_sms | Nothing to do | +--------------------------------------------+-------------------------------------------------+ |mass_mailing_event_track | | +--------------------------------------------+-------------------------------------------------+ From 985e23035e4f59afb41cdaa6821426abd199ae0d Mon Sep 17 00:00:00 2001 From: tranngocson1996 Date: Tue, 11 Jan 2022 15:00:45 +0700 Subject: [PATCH 037/403] [MIG] mass_mailing_event_track: nothing to do --- docsource/modules130-140.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 281ae4cdf1a3..67cfdcfecc42 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -436,7 +436,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |mass_mailing_event_sms | | +--------------------------------------------+-------------------------------------------------+ -|mass_mailing_event_track | | +|mass_mailing_event_track | Nothing to do | +--------------------------------------------+-------------------------------------------------+ |mass_mailing_event_track_sms | | +--------------------------------------------+-------------------------------------------------+ From 0b6701f359f8e41f9c798037351e4844bc33c60a Mon Sep 17 00:00:00 2001 From: tranngocson1996 Date: Tue, 11 Jan 2022 15:03:22 +0700 Subject: [PATCH 038/403] [MIG] mass_mailing_event_track_sms: nothing to do --- docsource/modules130-140.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 281ae4cdf1a3..80be386c2b0b 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -438,7 +438,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |mass_mailing_event_track | | +--------------------------------------------+-------------------------------------------------+ -|mass_mailing_event_track_sms | | +|mass_mailing_event_track_sms | Nothing to do | +--------------------------------------------+-------------------------------------------------+ |mass_mailing_sale | | +--------------------------------------------+-------------------------------------------------+ From a4b4e5356d45eaae53dcf058f2a2308811144c3c Mon Sep 17 00:00:00 2001 From: tranngocson1996 Date: Tue, 11 Jan 2022 15:07:34 +0700 Subject: [PATCH 039/403] [MIG] mass_mailing_slides: nothing to do --- docsource/modules130-140.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 281ae4cdf1a3..332f824600fb 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -442,7 +442,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |mass_mailing_sale | | +--------------------------------------------+-------------------------------------------------+ -|mass_mailing_slides | | +|mass_mailing_slides | Nothing to do | +--------------------------------------------+-------------------------------------------------+ |mass_mailing_sms | | +--------------------------------------------+-------------------------------------------------+ From 2a93fa92dbaa02b56b63ebbece32d4d9c0aa09d6 Mon Sep 17 00:00:00 2001 From: tranngocson1996 Date: Wed, 12 Jan 2022 09:19:21 +0700 Subject: [PATCH 040/403] [MIG] mass_mailing_sms: nothing to do --- docsource/modules130-140.rst | 2 +- .../14.0.1.0/upgrade_analysis_work.txt | 21 +++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/mass_mailing_sms/14.0.1.0/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 281ae4cdf1a3..f5862454572d 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -444,7 +444,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |mass_mailing_slides | | +--------------------------------------------+-------------------------------------------------+ -|mass_mailing_sms | | +|mass_mailing_sms | Nothing to do | +--------------------------------------------+-------------------------------------------------+ |membership | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/mass_mailing_sms/14.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/mass_mailing_sms/14.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..983c1b53b3e0 --- /dev/null +++ b/openupgrade_scripts/scripts/mass_mailing_sms/14.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,21 @@ +---Models in module 'mass_mailing_sms'--- +---Fields in module 'mass_mailing_sms'--- +mass_mailing_sms / mailing.mailing / body_plaintext (text) : now a function +# NOTHING TO DO: automated field filling + +mass_mailing_sms / mailing.trace / failure_type (False) : selection_keys is now '['BOUNCE', 'RECIPIENT', 'SMTP', 'UNKNOWN', 'sms_acc', 'sms_blacklist', 'sms_credit', 'sms_duplicate', 'sms_number_format', 'sms_number_missing', 'sms_server']' ('['BOUNCE', 'RECIPIENT', 'SMTP', 'UNKNOWN', 'sms_blacklist', 'sms_credit', 'sms_duplicate', 'sms_number_format', 'sms_number_missing', 'sms_server']') +# NOTHING TO DO + +---XML records in module 'mass_mailing_sms'--- +NEW ir.actions.act_window.view: mass_mailing_sms.mailing_trace_report_action_sms_view_graph +NEW ir.actions.act_window.view: mass_mailing_sms.mailing_trace_report_action_sms_view_pivot +NEW ir.model.access: mass_mailing_sms.access_mailing_sms_test +NEW ir.model.access: mass_mailing_sms.access_phone_blacklist_remove_mass_mailing_user +NEW ir.ui.view: mass_mailing_sms.mailing_contact_view_tree +NEW ir.ui.view: mass_mailing_sms.mailing_trace_report_sms_view_graph +NEW ir.ui.view: mass_mailing_sms.mailing_trace_report_sms_view_pivot +DEL ir.ui.view: mass_mailing_sms.mailing_contact_view_tree_sms +DEL ir.ui.view: mass_mailing_sms.mailing_trace_report_view_graph +DEL ir.ui.view: mass_mailing_sms.mailing_trace_report_view_pivot +DEL ir.ui.view: mass_mailing_sms.mailing_trace_report_view_search +# NOTHING TO DO From c045939e50b2c5111052abe37041e7615402086d Mon Sep 17 00:00:00 2001 From: tranngocson1996 Date: Thu, 30 Dec 2021 16:35:53 +0700 Subject: [PATCH 041/403] [MIG] microsoft_calendar: nothing to do --- docsource/modules130-140.rst | 2 +- .../14.0.1.0/upgrade_analysis_work.txt | 24 +++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/microsoft_calendar/14.0.1.0/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 924173823e79..94d2b2cae170 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -450,7 +450,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ | |new| microsoft_account | | +--------------------------------------------+-------------------------------------------------+ -| |new| microsoft_calendar | | +| |new| microsoft_calendar | Nothing to do | +--------------------------------------------+-------------------------------------------------+ |mrp | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/microsoft_calendar/14.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/microsoft_calendar/14.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..b9bb7e4c3cef --- /dev/null +++ b/openupgrade_scripts/scripts/microsoft_calendar/14.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,24 @@ +---Models in module 'microsoft_calendar'--- +new model microsoft.calendar.account.reset [transient] +new model microsoft.calendar.sync [abstract] +# NOTHING TO DO + +---Fields in module 'microsoft_calendar'--- +microsoft_calendar / calendar.event / microsoft_id (char) : NEW +microsoft_calendar / calendar.event / microsoft_recurrence_master_id (char): NEW +microsoft_calendar / calendar.event / need_sync_m (boolean) : NEW hasdefault +microsoft_calendar / calendar.recurrence / microsoft_id (char) : NEW +microsoft_calendar / calendar.recurrence / need_sync_m (boolean) : NEW hasdefault +microsoft_calendar / res.users / microsoft_calendar_sync_token (char): NEW +# NOTHING TO DO + +---XML records in module 'microsoft_calendar'--- +NEW ir.actions.act_window: microsoft_calendar.microsoft_calendar_reset_account_action +NEW ir.cron: microsoft_calendar.ir_cron_sync_all_cals +NEW ir.model.access: microsoft_calendar.microsoft_calendar_account_reset +NEW ir.ui.view: microsoft_calendar.assets_backend +NEW ir.ui.view: microsoft_calendar.microsoft_calendar_reset_account_view_form +NEW ir.ui.view: microsoft_calendar.res_config_settings_view_form +NEW ir.ui.view: microsoft_calendar.view_microsoft_calendar_event +NEW ir.ui.view: microsoft_calendar.view_users_form +# NOTHING TO DO From ed3253e5810cdc825e11775b9162569d291b6c7c Mon Sep 17 00:00:00 2001 From: tranngocson1996 Date: Fri, 31 Dec 2021 08:24:32 +0700 Subject: [PATCH 042/403] [MIG] microsoft_account:nothing to do --- docsource/modules130-140.rst | 2 +- .../14.0.1.0/upgrade_analysis_work.txt | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/microsoft_account/14.0.1.0/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 924173823e79..8cfb81775fe9 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -448,7 +448,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |membership | | +--------------------------------------------+-------------------------------------------------+ -| |new| microsoft_account | | +| |new| microsoft_account | Nothing to do | +--------------------------------------------+-------------------------------------------------+ | |new| microsoft_calendar | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/microsoft_account/14.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/microsoft_account/14.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..c74528b14433 --- /dev/null +++ b/openupgrade_scripts/scripts/microsoft_account/14.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,13 @@ +---Models in module 'microsoft_account'--- +new model microsoft.service [abstract] +# NOTHING TO DO + +---Fields in module 'microsoft_account'--- +microsoft_account / res.users / microsoft_calendar_rtoken (char): NEW +microsoft_account / res.users / microsoft_calendar_token (char): NEW +microsoft_account / res.users / microsoft_calendar_token_validity (datetime): NEW +# NOTHING TO DO + +---XML records in module 'microsoft_account'--- +NEW ir.config_parameter: microsoft_account.config_microsoft_redirect_uri (noupdate) +# NOTHING TO DO From 52ea71087c4de573ba72c7f5cb7e28f6e972a467 Mon Sep 17 00:00:00 2001 From: tranngocson1996 Date: Thu, 13 Jan 2022 14:07:23 +0700 Subject: [PATCH 043/403] [MIG] website_livechat: migration script --- docsource/modules130-140.rst | 2 +- .../website_livechat/14.0.1.0/post-migration.py | 9 +++++++++ .../website_livechat/14.0.1.0/pre-migration.py | 11 +++++++++++ .../14.0.1.0/upgrade_analysis_work.txt | 16 ++++++++++++++++ 4 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/website_livechat/14.0.1.0/post-migration.py create mode 100644 openupgrade_scripts/scripts/website_livechat/14.0.1.0/pre-migration.py create mode 100644 openupgrade_scripts/scripts/website_livechat/14.0.1.0/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 60666719a40d..aee5e63a7e3d 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -738,7 +738,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |website_links | | +--------------------------------------------+-------------------------------------------------+ -|website_livechat | | +|website_livechat | Done | +--------------------------------------------+-------------------------------------------------+ |website_mail | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/website_livechat/14.0.1.0/post-migration.py b/openupgrade_scripts/scripts/website_livechat/14.0.1.0/post-migration.py new file mode 100644 index 000000000000..e75ffb0ab2c3 --- /dev/null +++ b/openupgrade_scripts/scripts/website_livechat/14.0.1.0/post-migration.py @@ -0,0 +1,9 @@ +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.delete_records_safely_by_xml_id( + env, + ["website_livechat.menu_livechat"], + ) diff --git a/openupgrade_scripts/scripts/website_livechat/14.0.1.0/pre-migration.py b/openupgrade_scripts/scripts/website_livechat/14.0.1.0/pre-migration.py new file mode 100644 index 000000000000..aa2615072f7c --- /dev/null +++ b/openupgrade_scripts/scripts/website_livechat/14.0.1.0/pre-migration.py @@ -0,0 +1,11 @@ +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.set_xml_ids_noupdate_value( + env, + "website_livechat", + ["im_livechat_channel_rule_public"], + True, + ) diff --git a/openupgrade_scripts/scripts/website_livechat/14.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_livechat/14.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..05baa93606ae --- /dev/null +++ b/openupgrade_scripts/scripts/website_livechat/14.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,16 @@ +---Models in module 'website_livechat'--- +---Fields in module 'website_livechat'--- +website_livechat / mail.channel / livechat_active (boolean) : module is now 'im_livechat' ('website_livechat') +# NOTHING TO DO: the website_livechat module depends on im_livechat module + +---XML records in module 'website_livechat'--- +ir.rule: website_livechat.im_livechat_channel_rule_public (noupdate) (noupdate switched) +# DONE: pre-migration: noupdate changed to "1" + + +NEW ir.ui.view: website_livechat.assets_tests +NEW ir.ui.view: website_livechat.qunit_suite +# NOTHING TO DO + +DEL website.menu: website_livechat.menu_livechat (noupdate) +# DONE: post-migration: safely deleted xmlid From d768a9ab46f45c8eb8005fd205f2d68a81d38dda Mon Sep 17 00:00:00 2001 From: tranngocson1996 Date: Fri, 14 Jan 2022 09:07:48 +0700 Subject: [PATCH 044/403] [MIG] stock_sms: migration script --- docsource/modules130-140.rst | 2 +- .../scripts/stock_sms/14.0.1.0/pre-migration.py | 11 +++++++++++ .../stock_sms/14.0.1.0/upgrade_analysis_work.txt | 8 ++++++++ 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/stock_sms/14.0.1.0/pre-migration.py create mode 100644 openupgrade_scripts/scripts/stock_sms/14.0.1.0/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 60666719a40d..1638dcb8e3d9 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -642,7 +642,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |stock_picking_batch | | +--------------------------------------------+-------------------------------------------------+ -|stock_sms | | +|stock_sms | Done | +--------------------------------------------+-------------------------------------------------+ |survey | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/stock_sms/14.0.1.0/pre-migration.py b/openupgrade_scripts/scripts/stock_sms/14.0.1.0/pre-migration.py new file mode 100644 index 000000000000..8c31338e348c --- /dev/null +++ b/openupgrade_scripts/scripts/stock_sms/14.0.1.0/pre-migration.py @@ -0,0 +1,11 @@ +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.set_xml_ids_noupdate_value( + env, + "stock_sms", + ["ir_rule_sms_template_stock_manager"], + True, + ) diff --git a/openupgrade_scripts/scripts/stock_sms/14.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/stock_sms/14.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..648006c42490 --- /dev/null +++ b/openupgrade_scripts/scripts/stock_sms/14.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,8 @@ +---Models in module 'stock_sms'--- +---Fields in module 'stock_sms'--- +---XML records in module 'stock_sms'--- +NEW ir.model.access: stock_sms.access_confirm_stock_sms +# NOTHING TO DO + +ir.rule: stock_sms.ir_rule_sms_template_stock_manager (noupdate) (noupdate switched) +# DONE: pre-migration: noupdate changed to "1" From bee512479c5125c7ba18b2a3709227f505c61711 Mon Sep 17 00:00:00 2001 From: tranngocson1996 Date: Thu, 13 Jan 2022 14:47:14 +0700 Subject: [PATCH 045/403] [MIG] website_blog: migration script --- docsource/modules130-140.rst | 2 +- .../website_blog/14.0.1.0/post-migration.py | 6 +++++ .../website_blog/14.0.1.0/pre-migration.py | 11 ++++++++ .../14.0.1.0/upgrade_analysis_work.txt | 25 +++++++++++++++++++ 4 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/website_blog/14.0.1.0/post-migration.py create mode 100644 openupgrade_scripts/scripts/website_blog/14.0.1.0/pre-migration.py create mode 100644 openupgrade_scripts/scripts/website_blog/14.0.1.0/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 60666719a40d..67030c4d3456 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -686,7 +686,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |website | | +--------------------------------------------+-------------------------------------------------+ -|website_blog | | +|website_blog | Done | +--------------------------------------------+-------------------------------------------------+ |website_crm | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/website_blog/14.0.1.0/post-migration.py b/openupgrade_scripts/scripts/website_blog/14.0.1.0/post-migration.py new file mode 100644 index 000000000000..f5e541259212 --- /dev/null +++ b/openupgrade_scripts/scripts/website_blog/14.0.1.0/post-migration.py @@ -0,0 +1,6 @@ +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.load_data(env.cr, "website_blog", "14.0.1.0/noupdate_changes.xml") diff --git a/openupgrade_scripts/scripts/website_blog/14.0.1.0/pre-migration.py b/openupgrade_scripts/scripts/website_blog/14.0.1.0/pre-migration.py new file mode 100644 index 000000000000..9bb30250f17d --- /dev/null +++ b/openupgrade_scripts/scripts/website_blog/14.0.1.0/pre-migration.py @@ -0,0 +1,11 @@ +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.set_xml_ids_noupdate_value( + env, + "website_blog", + ["website_blog_post_public"], + True, + ) diff --git a/openupgrade_scripts/scripts/website_blog/14.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_blog/14.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..de1d48961fd2 --- /dev/null +++ b/openupgrade_scripts/scripts/website_blog/14.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,25 @@ +---Models in module 'website_blog'--- +---Fields in module 'website_blog'--- +website_blog / blog.blog / blog_post_ids (one2many) : NEW relation: blog.post +website_blog / blog.blog / seo_name (char) : NEW +website_blog / blog.post / author_name (char) : NEW isrelated: related, stored +website_blog / blog.post / seo_name (char) : NEW +website_blog / blog.post / website_id (many2one) : is now stored +website_blog / blog.tag / seo_name (char) : NEW +# NOTHING TO DO + +---XML records in module 'website_blog'--- +ir.rule: website_blog.website_blog_post_public (noupdate) (noupdate switched) +# DONE: pre-migration: noupdate changed to "1" + +NEW ir.rule: website_blog.website_blog_public (noupdate) +NEW ir.ui.view: website_blog.assets_snippet_s_latest_posts_css_000 +NEW ir.ui.view: website_blog.assets_snippet_s_latest_posts_css_001 +NEW ir.ui.view: website_blog.assets_snippet_s_latest_posts_js_000 +NEW ir.ui.view: website_blog.assets_wysiwyg +NEW ir.ui.view: website_blog.s_latest_posts_card_template +NEW ir.ui.view: website_blog.s_latest_posts_horizontal_template +NEW ir.ui.view: website_blog.snippet_options +DEL ir.ui.view: website_blog._assets_primary_variables +DEL ir.ui.view: website_blog.s_latest_posts_big_picture +# NOTHING TO DO From 303f06c44c8aef422c475e6a2ba5f5971a302d77 Mon Sep 17 00:00:00 2001 From: tranngocson1996 Date: Thu, 13 Jan 2022 14:30:22 +0700 Subject: [PATCH 046/403] [MIG] website_hr_recruitment: migration script --- docsource/modules130-140.rst | 2 +- .../14.0.1.0/post-migration.py | 9 +++++++ .../14.0.1.0/pre-migration.py | 16 ++++++++++++ .../14.0.1.0/upgrade_analysis_work.txt | 26 +++++++++++++++++++ 4 files changed, 52 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/website_hr_recruitment/14.0.1.0/post-migration.py create mode 100644 openupgrade_scripts/scripts/website_hr_recruitment/14.0.1.0/pre-migration.py create mode 100644 openupgrade_scripts/scripts/website_hr_recruitment/14.0.1.0/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 60666719a40d..c1742496e043 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -732,7 +732,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |website_google_map | | +--------------------------------------------+-------------------------------------------------+ -|website_hr_recruitment | | +|website_hr_recruitment | Done | +--------------------------------------------+-------------------------------------------------+ | |new| website_jitsi | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/website_hr_recruitment/14.0.1.0/post-migration.py b/openupgrade_scripts/scripts/website_hr_recruitment/14.0.1.0/post-migration.py new file mode 100644 index 000000000000..87724b61e82b --- /dev/null +++ b/openupgrade_scripts/scripts/website_hr_recruitment/14.0.1.0/post-migration.py @@ -0,0 +1,9 @@ +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.delete_records_safely_by_xml_id( + env, + ["website_hr_recruitment.menu_jobs"], + ) diff --git a/openupgrade_scripts/scripts/website_hr_recruitment/14.0.1.0/pre-migration.py b/openupgrade_scripts/scripts/website_hr_recruitment/14.0.1.0/pre-migration.py new file mode 100644 index 000000000000..c51747a58391 --- /dev/null +++ b/openupgrade_scripts/scripts/website_hr_recruitment/14.0.1.0/pre-migration.py @@ -0,0 +1,16 @@ +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.set_xml_ids_noupdate_value( + env, + "website_hr_recruitment", + [ + "hr_department_public", + "hr_job_officer", + "hr_job_portal", + "hr_job_public", + ], + True, + ) diff --git a/openupgrade_scripts/scripts/website_hr_recruitment/14.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_hr_recruitment/14.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..487b2f265067 --- /dev/null +++ b/openupgrade_scripts/scripts/website_hr_recruitment/14.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,26 @@ +---Models in module 'website_hr_recruitment'--- +---Fields in module 'website_hr_recruitment'--- +website_hr_recruitment / hr.job / seo_name (char) : NEW +# NOTHING TO DO + +---XML records in module 'website_hr_recruitment'--- +ir.rule: website_hr_recruitment.hr_department_public (noupdate) (noupdate switched) +ir.rule: website_hr_recruitment.hr_job_officer (noupdate) (noupdate switched) +ir.rule: website_hr_recruitment.hr_job_portal (noupdate) (noupdate switched) +ir.rule: website_hr_recruitment.hr_job_public (noupdate) (noupdate switched) +# DONE: pre-migration: noupdate changed to "1" + +NEW ir.ui.view: website_hr_recruitment.assets_frontend +NEW ir.ui.view: website_hr_recruitment.job_edit_options +NEW ir.ui.view: website_hr_recruitment.job_filter_by_countries +NEW ir.ui.view: website_hr_recruitment.job_filter_by_departments +NEW ir.ui.view: website_hr_recruitment.job_filter_by_offices +NEW ir.ui.view: website_hr_recruitment.job_right_side_bar +NEW ir.ui.view: website_hr_recruitment.view_hr_job_kanban_referal_extends +DEL ir.ui.view: website_hr_recruitment.job_countries +DEL ir.ui.view: website_hr_recruitment.job_departments +DEL ir.ui.view: website_hr_recruitment.job_offices +# NOTHING TO DO + +DEL website.menu: website_hr_recruitment.menu_jobs (noupdate) +# DONE: post-migration: safely deleted xmlid From d47a5e31a0a8e3511441ce880220041af9a18739 Mon Sep 17 00:00:00 2001 From: tranngocson1996 Date: Mon, 10 Jan 2022 15:56:06 +0700 Subject: [PATCH 047/403] [MIG] hr_skills: migration script --- docsource/modules130-140.rst | 2 +- .../hr_skills/14.0.1.0/pre-migration.py | 18 ++++++++++++++++++ .../14.0.1.0/upgrade_analysis_work.txt | 13 +++++++++++++ 3 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/hr_skills/14.0.1.0/pre-migration.py create mode 100644 openupgrade_scripts/scripts/hr_skills/14.0.1.0/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 60666719a40d..be9635657c67 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -180,7 +180,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |hr_recruitment_survey | | +--------------------------------------------+-------------------------------------------------+ -|hr_skills | | +|hr_skills | Done | +--------------------------------------------+-------------------------------------------------+ |hr_skills_slides | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/hr_skills/14.0.1.0/pre-migration.py b/openupgrade_scripts/scripts/hr_skills/14.0.1.0/pre-migration.py new file mode 100644 index 000000000000..272e6e83b541 --- /dev/null +++ b/openupgrade_scripts/scripts/hr_skills/14.0.1.0/pre-migration.py @@ -0,0 +1,18 @@ +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.set_xml_ids_noupdate_value( + env, + "hr_skills", + [ + "hr_resume_rule_employee", + "hr_resume_rule_employee_hr_user", + "hr_skill_rule_employee", + "hr_skill_rule_employee_update", + "hr_skill_rule_hr_user", + "hr_skills_rule_employee_update", + ], + True, + ) diff --git a/openupgrade_scripts/scripts/hr_skills/14.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/hr_skills/14.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..adca3111f492 --- /dev/null +++ b/openupgrade_scripts/scripts/hr_skills/14.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,13 @@ +---Models in module 'hr_skills'--- +---Fields in module 'hr_skills'--- +---XML records in module 'hr_skills'--- +ir.rule: hr_skills.hr_resume_rule_employee (noupdate) (noupdate switched) +ir.rule: hr_skills.hr_resume_rule_employee_hr_user (noupdate) (noupdate switched) +ir.rule: hr_skills.hr_skill_rule_employee (noupdate) (noupdate switched) +ir.rule: hr_skills.hr_skill_rule_employee_update (noupdate) (noupdate switched) +ir.rule: hr_skills.hr_skill_rule_hr_user (noupdate) (noupdate switched) +ir.rule: hr_skills.hr_skills_rule_employee_update (noupdate) (noupdate switched) +# DONE: pre-migration: noupdate changed to "1" + +DEL ir.ui.view: hr_skills.resume_line_view_search +# NOTHING TO DO From 57303e89639870687ff21683583a1950e773052f Mon Sep 17 00:00:00 2001 From: tranngocson1996 Date: Mon, 10 Jan 2022 10:32:00 +0700 Subject: [PATCH 048/403] [MIG] gamification_sale_crm: migration script --- docsource/modules130-140.rst | 2 +- .../gamification_sale_crm/14.0.1.0/post-migration.py | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/gamification_sale_crm/14.0.1.0/post-migration.py diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 60666719a40d..012f2830b9e5 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -138,7 +138,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |gamification | Done | +--------------------------------------------+-------------------------------------------------+ -|gamification_sale_crm | | +|gamification_sale_crm | Done | +--------------------------------------------+-------------------------------------------------+ |google_account | Nothing to do | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/gamification_sale_crm/14.0.1.0/post-migration.py b/openupgrade_scripts/scripts/gamification_sale_crm/14.0.1.0/post-migration.py new file mode 100644 index 000000000000..ab9ea828b658 --- /dev/null +++ b/openupgrade_scripts/scripts/gamification_sale_crm/14.0.1.0/post-migration.py @@ -0,0 +1,10 @@ +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.load_data( + env.cr, + "gamification_sale_crm", + "14.0.1.0/noupdate_changes.xml", + ) From f5df672355757a31c950201d2323ad89d372e090 Mon Sep 17 00:00:00 2001 From: tranngocson1996 Date: Mon, 10 Jan 2022 14:48:58 +0700 Subject: [PATCH 049/403] [MIG] hr_presence: migration script --- docsource/modules130-140.rst | 2 +- .../hr_presence/14.0.1.0/post-migration.py | 15 +++++++++++++++ .../14.0.1.0/upgrade_analysis_work.txt | 6 ++++++ 3 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/hr_presence/14.0.1.0/post-migration.py create mode 100644 openupgrade_scripts/scripts/hr_presence/14.0.1.0/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 60666719a40d..99b8d818f5ae 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -174,7 +174,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |hr_org_chart | Nothing to do | +--------------------------------------------+-------------------------------------------------+ -|hr_presence | | +|hr_presence | Done | +--------------------------------------------+-------------------------------------------------+ |hr_recruitment | Done | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/hr_presence/14.0.1.0/post-migration.py b/openupgrade_scripts/scripts/hr_presence/14.0.1.0/post-migration.py new file mode 100644 index 000000000000..ad6a2543d3c3 --- /dev/null +++ b/openupgrade_scripts/scripts/hr_presence/14.0.1.0/post-migration.py @@ -0,0 +1,15 @@ +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.load_data( + env.cr, + "hr_presence", + "14.0.1.0/noupdate_changes.xml", + ) + openupgrade.delete_record_translations( + env.cr, + "hr_presence", + ["mail_template_presence", "sms_template_data_hr_presence"], + ) diff --git a/openupgrade_scripts/scripts/hr_presence/14.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/hr_presence/14.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..20743229cd3c --- /dev/null +++ b/openupgrade_scripts/scripts/hr_presence/14.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,6 @@ +---Models in module 'hr_presence'--- +---Fields in module 'hr_presence'--- +---XML records in module 'hr_presence'--- +NEW ir.cron: hr_presence.ir_cron_presence_control (noupdate) +NEW ir.ui.view: hr_presence.hr_employee_view_presence_search +# NOTHING TO DO From 5ed070abb681c2bcd32425519b82f4e8ebfb2e66 Mon Sep 17 00:00:00 2001 From: tranngocson1996 Date: Fri, 7 Jan 2022 14:54:47 +0700 Subject: [PATCH 050/403] [MIG] crm_iap_lead_website: migration script --- docsource/modules130-140.rst | 2 +- .../14.0.1.1/pre-migration.py | 18 ++++++++++++++++++ .../14.0.1.1/upgrade_analysis_work.txt | 13 +++++++++++++ 3 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/crm_iap_lead_website/14.0.1.1/pre-migration.py create mode 100644 openupgrade_scripts/scripts/crm_iap_lead_website/14.0.1.1/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 60666719a40d..527af585f6f2 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -112,7 +112,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |crm_iap_lead_enrich | | +--------------------------------------------+-------------------------------------------------+ -|crm_iap_lead_website | | +|crm_iap_lead_website | Done | +--------------------------------------------+-------------------------------------------------+ |crm_livechat | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/crm_iap_lead_website/14.0.1.1/pre-migration.py b/openupgrade_scripts/scripts/crm_iap_lead_website/14.0.1.1/pre-migration.py new file mode 100644 index 000000000000..1a1c9e2d8e02 --- /dev/null +++ b/openupgrade_scripts/scripts/crm_iap_lead_website/14.0.1.1/pre-migration.py @@ -0,0 +1,18 @@ +from openupgradelib import openupgrade + + +def m2m_columns_and_tables_renamed(env): + openupgrade.rename_columns( + env.cr, + {"crm_lead_tag_crm_reveal_rule_rel": [("crm_lead_tag_id", "crm_tag_id")]}, + ) + + openupgrade.rename_tables( + env.cr, + [("crm_lead_tag_crm_reveal_rule_rel", "crm_reveal_rule_crm_tag_rel")], + ) + + +@openupgrade.migrate() +def migrate(env, version): + m2m_columns_and_tables_renamed(env) diff --git a/openupgrade_scripts/scripts/crm_iap_lead_website/14.0.1.1/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/crm_iap_lead_website/14.0.1.1/upgrade_analysis_work.txt new file mode 100644 index 000000000000..44b04afb0881 --- /dev/null +++ b/openupgrade_scripts/scripts/crm_iap_lead_website/14.0.1.1/upgrade_analysis_work.txt @@ -0,0 +1,13 @@ +---Models in module 'crm_iap_lead_website'--- +---Fields in module 'crm_iap_lead_website'--- +crm_iap_lead_website / crm.reveal.rule / tag_ids (many2many) : column2 is now 'crm_tag_id' ('crm_lead_tag_id') [crm_lead_tag_crm_reveal_rule_rel] +crm_iap_lead_website / crm.reveal.rule / tag_ids (many2many) : relation is now 'crm.tag' ('crm.lead.tag') [nothing to do] +crm_iap_lead_website / crm.reveal.rule / tag_ids (many2many) : table is now 'crm_reveal_rule_crm_tag_rel' ('crm_lead_tag_crm_reveal_rule_rel') +# DONE: pre-migration: renamed tables and columns + +---XML records in module 'crm_iap_lead_website'--- +NEW ir.ui.view: crm_iap_lead_website.crm_lead_view_graph +NEW ir.ui.view: crm_iap_lead_website.crm_lead_view_graph_report_lead +NEW ir.ui.view: crm_iap_lead_website.crm_lead_view_graph_report_opportunity +NEW ir.ui.view: crm_iap_lead_website.crm_lead_view_pivot +# NOTHING TO DO: noupdate="0" records From ce4b535ef4b19caeb4035a753826e5c526335586 Mon Sep 17 00:00:00 2001 From: tranngocson1996 Date: Mon, 10 Jan 2022 10:13:37 +0700 Subject: [PATCH 051/403] [MIG] event_sale: Migration script --- docsource/modules130-140.rst | 2 +- .../event_sale/14.0.1.2/noupdate_changes.xml | 2 +- .../event_sale/14.0.1.2/post-migration.py | 9 +++ .../14.0.1.2/upgrade_analysis_work.txt | 73 +++++++++++++++++++ 4 files changed, 84 insertions(+), 2 deletions(-) create mode 100644 openupgrade_scripts/scripts/event_sale/14.0.1.2/post-migration.py create mode 100644 openupgrade_scripts/scripts/event_sale/14.0.1.2/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 60666719a40d..15c41a043f7d 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -128,7 +128,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ | |new| event_crm_sale | | +--------------------------------------------+-------------------------------------------------+ -|event_sale | | +|event_sale | Done | +--------------------------------------------+-------------------------------------------------+ |event_sms | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/event_sale/14.0.1.2/noupdate_changes.xml b/openupgrade_scripts/scripts/event_sale/14.0.1.2/noupdate_changes.xml index 215eb7540b05..730554f85b46 100644 --- a/openupgrade_scripts/scripts/event_sale/14.0.1.2/noupdate_changes.xml +++ b/openupgrade_scripts/scripts/event_sale/14.0.1.2/noupdate_changes.xml @@ -1,7 +1,7 @@ - + diff --git a/openupgrade_scripts/scripts/event_sale/14.0.1.2/post-migration.py b/openupgrade_scripts/scripts/event_sale/14.0.1.2/post-migration.py new file mode 100644 index 000000000000..380da56df796 --- /dev/null +++ b/openupgrade_scripts/scripts/event_sale/14.0.1.2/post-migration.py @@ -0,0 +1,9 @@ +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.load_data(env.cr, "event_sale", "14.0.1.2/noupdate_changes.xml") + openupgrade.delete_records_safely_by_xml_id( + env, [("event_sale.event_type_data_sale")] + ) diff --git a/openupgrade_scripts/scripts/event_sale/14.0.1.2/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/event_sale/14.0.1.2/upgrade_analysis_work.txt new file mode 100644 index 000000000000..a1ac7041a1be --- /dev/null +++ b/openupgrade_scripts/scripts/event_sale/14.0.1.2/upgrade_analysis_work.txt @@ -0,0 +1,73 @@ +---Models in module 'event_sale'--- +model event.event.ticket (moved to event) +# NOTHING TO DO + +---Fields in module 'event_sale'--- +event_sale / event.event / event_ticket_ids (one2many) : module is now 'event' ('event_sale') +event_sale / event.event / event_ticket_ids (one2many) : now a function +event_sale / event.event / sale_order_lines_ids (one2many): NEW relation: sale.order.line +# NOTHING TO DO: has been processed inside the event module + +event_sale / event.event.ticket / __last_update (datetime) : module is now 'event' ('event_sale') +event_sale / event.event.ticket / _order : module is now 'event' ('event_sale') +event_sale / event.event.ticket / company_id (many2one) : module is now 'event' ('event_sale') +event_sale / event.event.ticket / deadline (date) : DEL +event_sale / event.event.ticket / display_name (char) : module is now 'event' ('event_sale') +event_sale / event.event.ticket / event_id (many2one) : module is now 'event' ('event_sale') +event_sale / event.event.ticket / event_id (many2one) : now required +event_sale / event.event.ticket / event_type_id (many2one) : module is now 'event' ('event_sale') +event_sale / event.event.ticket / is_expired (boolean) : module is now 'event' ('event_sale') +event_sale / event.event.ticket / name (char) : module is now 'event' ('event_sale') +event_sale / event.event.ticket / price (float) : now a function +event_sale / event.event.ticket / registration_ids (one2many) : module is now 'event' ('event_sale') +event_sale / event.event.ticket / seats_availability (selection): DEL required, selection_keys: ['limited', 'unlimited'], req_default: function +event_sale / event.event.ticket / seats_available (integer) : module is now 'event' ('event_sale') +event_sale / event.event.ticket / seats_max (integer) : module is now 'event' ('event_sale') +event_sale / event.event.ticket / seats_reserved (integer) : module is now 'event' ('event_sale') +event_sale / event.event.ticket / seats_unconfirmed (integer) : module is now 'event' ('event_sale') +event_sale / event.event.ticket / seats_used (integer) : module is now 'event' ('event_sale') +# NOTHING TO DO: has been processed inside the event module + +event_sale / event.registration / campaign_id (many2one) : DEL relation: utm.campaign +event_sale / event.registration / event_ticket_id (many2one) : module is now 'event' ('event_sale') +event_sale / event.registration / is_paid (boolean) : NEW +event_sale / event.registration / medium_id (many2one) : DEL relation: utm.medium +event_sale / event.registration / source_id (many2one) : DEL relation: utm.source +# NOTHING TO DO + +event_sale / event.type / event_ticket_ids (one2many) : DEL relation: event.event.ticket +event_sale / event.type / use_ticketing (boolean) : DEL +# NOTHING TO DO + +event_sale / event.type.ticket / price (float) : NEW isfunction: function, stored +event_sale / event.type.ticket / product_id (many2one) : NEW relation: product.product, required, req_default: function, hasdefault +# NOTHING TO DO: automated field filling + +---XML records in module 'event_sale'--- +DEL event.type: event_sale.event_type_data_sale (noupdate) +# DONE: post-migration: safely deleted xmlid + +NEW ir.model.access: event_sale.access_event_event_configurator +NEW ir.model.access: event_sale.access_registration_editor +NEW ir.model.access: event_sale.access_registration_editor_line +DEL ir.model.access: event_sale.access_event_event_ticket_admin +DEL ir.model.access: event_sale.access_event_event_ticket_user [renamed to event module] +# NOTHING TO DO: noupdate="0" records, no name changed + +NEW ir.ui.view: event_sale.event_event_ticket_form_view +NEW ir.ui.view: event_sale.event_event_ticket_view_form_from_event +NEW ir.ui.view: event_sale.event_event_ticket_view_kanban_from_event +NEW ir.ui.view: event_sale.event_event_ticket_view_tree_from_event +NEW ir.ui.view: event_sale.event_registration_ticket_view_form +NEW ir.ui.view: event_sale.event_registration_view_kanban +NEW ir.ui.view: event_sale.event_ticket_id_change_exception +NEW ir.ui.view: event_sale.event_type_ticket_view_form_from_type +NEW ir.ui.view: event_sale.event_type_ticket_view_tree_from_type +DEL ir.ui.view: event_sale.event_ticket_form_view +DEL ir.ui.view: event_sale.event_type_view_form_inherit_sale +DEL ir.ui.view: event_sale.view_event_registration_ticket_form +DEL ir.ui.view: event_sale.view_event_registration_ticket_search +# NOTHING TO DO: noupdate="0" records, no name changed + +product.product: event_sale.product_product_event (noupdate switched) +# NOTHING TO DO: unknown error in analysis (this xmlid is noupdate=True both in v13 and v14) From 9e957b3a56c0ddee8f80952e5ea83d86a2eccb83 Mon Sep 17 00:00:00 2001 From: tranngocson1996 Date: Mon, 17 Jan 2022 08:30:01 +0700 Subject: [PATCH 052/403] [MIG] website_membership: migration script --- docsource/modules130-140.rst | 2 +- .../website_membership/14.0.1.0/post-migration.py | 9 +++++++++ .../website_membership/14.0.1.0/pre-migration.py | 14 ++++++++++++++ .../14.0.1.0/upgrade_analysis_work.txt | 9 +++++++++ 4 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/website_membership/14.0.1.0/post-migration.py create mode 100644 openupgrade_scripts/scripts/website_membership/14.0.1.0/pre-migration.py create mode 100644 openupgrade_scripts/scripts/website_membership/14.0.1.0/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 60666719a40d..89d14f639ba6 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -746,7 +746,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |website_mass_mailing | | +--------------------------------------------+-------------------------------------------------+ -|website_membership | | +|website_membership | Done | +--------------------------------------------+-------------------------------------------------+ |website_partner | Nothing to do | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/website_membership/14.0.1.0/post-migration.py b/openupgrade_scripts/scripts/website_membership/14.0.1.0/post-migration.py new file mode 100644 index 000000000000..a6094a422cec --- /dev/null +++ b/openupgrade_scripts/scripts/website_membership/14.0.1.0/post-migration.py @@ -0,0 +1,9 @@ +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.delete_records_safely_by_xml_id( + env, + ["website_membership.menu_members"], + ) diff --git a/openupgrade_scripts/scripts/website_membership/14.0.1.0/pre-migration.py b/openupgrade_scripts/scripts/website_membership/14.0.1.0/pre-migration.py new file mode 100644 index 000000000000..0fa608d664f4 --- /dev/null +++ b/openupgrade_scripts/scripts/website_membership/14.0.1.0/pre-migration.py @@ -0,0 +1,14 @@ +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.set_xml_ids_noupdate_value( + env, + "website_membership", + [ + "membership_membership_line_public", + "membership_product_product_public", + ], + True, + ) diff --git a/openupgrade_scripts/scripts/website_membership/14.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_membership/14.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..061683e31aa1 --- /dev/null +++ b/openupgrade_scripts/scripts/website_membership/14.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,9 @@ +---Models in module 'website_membership'--- +---Fields in module 'website_membership'--- +---XML records in module 'website_membership'--- +ir.rule: website_membership.membership_membership_line_public (noupdate) (noupdate switched) +ir.rule: website_membership.membership_product_product_public (noupdate) (noupdate switched) +# DONE: pre-migration: noupdate changed to "1" + +DEL website.menu: website_membership.menu_members (noupdate) +# DONE: post-migration: try to delete From 620eb9e850248149a4dbcbb5d2ddd6a236c7d4f6 Mon Sep 17 00:00:00 2001 From: tranngocson1996 Date: Mon, 17 Jan 2022 09:02:20 +0700 Subject: [PATCH 053/403] [MIG] website_mail_channel: migration script --- docsource/modules130-140.rst | 2 +- .../14.0.1.0/post-migration.py | 9 +++++++++ .../14.0.1.0/upgrade_analysis_work.txt | 14 ++++++++++++++ 3 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/website_mail_channel/14.0.1.0/post-migration.py create mode 100644 openupgrade_scripts/scripts/website_mail_channel/14.0.1.0/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 60666719a40d..9587a610a6fd 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -742,7 +742,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |website_mail | | +--------------------------------------------+-------------------------------------------------+ -|website_mail_channel | | +|website_mail_channel | Done | +--------------------------------------------+-------------------------------------------------+ |website_mass_mailing | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/website_mail_channel/14.0.1.0/post-migration.py b/openupgrade_scripts/scripts/website_mail_channel/14.0.1.0/post-migration.py new file mode 100644 index 000000000000..3842f3bd7ffa --- /dev/null +++ b/openupgrade_scripts/scripts/website_mail_channel/14.0.1.0/post-migration.py @@ -0,0 +1,9 @@ +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.delete_records_safely_by_xml_id( + env, + ["website_mail_channel.menu_mailing_list"], + ) diff --git a/openupgrade_scripts/scripts/website_mail_channel/14.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_mail_channel/14.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..ece61ee2cc4f --- /dev/null +++ b/openupgrade_scripts/scripts/website_mail_channel/14.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,14 @@ +---Models in module 'website_mail_channel'--- +---Fields in module 'website_mail_channel'--- +---XML records in module 'website_mail_channel'--- +NEW ir.ui.view: website_mail_channel.assets_snippet_s_channel_js_000 +NEW ir.ui.view: website_mail_channel.assets_wysiwyg +NEW ir.ui.view: website_mail_channel.s_channel +NEW ir.ui.view: website_mail_channel.s_channel_options +NEW ir.ui.view: website_mail_channel.snippets +DEL ir.ui.view: website_mail_channel.assets_editor +DEL ir.ui.view: website_mail_channel.subscribe +# NOTHING TO DO + +DEL website.menu: website_mail_channel.menu_mailing_list (noupdate) +# DONE: post-migration: try to delete From bd047cc726326a29d50d3a6f3b82aa440f566ab2 Mon Sep 17 00:00:00 2001 From: tranngocson1996 Date: Mon, 17 Jan 2022 10:04:04 +0700 Subject: [PATCH 054/403] [MIG] website_customer: migration script --- docsource/modules130-140.rst | 2 +- .../website_customer/14.0.1.0/post-migration.py | 9 +++++++++ .../website_customer/14.0.1.0/pre-migration.py | 11 +++++++++++ .../14.0.1.0/upgrade_analysis_work.txt | 11 +++++++++++ 4 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/website_customer/14.0.1.0/post-migration.py create mode 100644 openupgrade_scripts/scripts/website_customer/14.0.1.0/pre-migration.py create mode 100644 openupgrade_scripts/scripts/website_customer/14.0.1.0/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 60666719a40d..7264c07de3bc 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -696,7 +696,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |website_crm_sms | | +--------------------------------------------+-------------------------------------------------+ -|website_customer | | +|website_customer | Done | +--------------------------------------------+-------------------------------------------------+ |website_event | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/website_customer/14.0.1.0/post-migration.py b/openupgrade_scripts/scripts/website_customer/14.0.1.0/post-migration.py new file mode 100644 index 000000000000..480bc56ec00f --- /dev/null +++ b/openupgrade_scripts/scripts/website_customer/14.0.1.0/post-migration.py @@ -0,0 +1,9 @@ +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.delete_records_safely_by_xml_id( + env, + ["website_customer.menu_customers"], + ) diff --git a/openupgrade_scripts/scripts/website_customer/14.0.1.0/pre-migration.py b/openupgrade_scripts/scripts/website_customer/14.0.1.0/pre-migration.py new file mode 100644 index 000000000000..63f00709962c --- /dev/null +++ b/openupgrade_scripts/scripts/website_customer/14.0.1.0/pre-migration.py @@ -0,0 +1,11 @@ +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.set_xml_ids_noupdate_value( + env, + "website_customer", + ["website_customer_res_partner_tag_public"], + True, + ) diff --git a/openupgrade_scripts/scripts/website_customer/14.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_customer/14.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..8aaa2a28b1f6 --- /dev/null +++ b/openupgrade_scripts/scripts/website_customer/14.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,11 @@ +---Models in module 'website_customer'--- +---Fields in module 'website_customer'--- +---XML records in module 'website_customer'--- +ir.rule: website_customer.website_customer_res_partner_tag_public (noupdate) (noupdate switched) +# DONE: pre-migration: noupdate changed to "1" + +NEW ir.ui.view: website_customer.contact_edit_options +# NOTHING TO DO + +DEL website.menu: website_customer.menu_customers (noupdate) +# DONE: post-migration: try to delete From a2c2e1039116a70051749c071a9d40b5d0d173fd Mon Sep 17 00:00:00 2001 From: tranngocson1996 Date: Mon, 17 Jan 2022 10:28:09 +0700 Subject: [PATCH 055/403] [MIG] website_event_sale: migration script --- docsource/modules130-140.rst | 2 +- .../14.0.1.0/post-migration.py | 6 ++++++ .../14.0.1.0/pre-migration.py | 11 +++++++++++ .../14.0.1.0/upgrade_analysis_work.txt | 17 +++++++++++++++++ 4 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/website_event_sale/14.0.1.0/post-migration.py create mode 100644 openupgrade_scripts/scripts/website_event_sale/14.0.1.0/pre-migration.py create mode 100644 openupgrade_scripts/scripts/website_event_sale/14.0.1.0/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 60666719a40d..a4e242529f30 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -710,7 +710,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |website_event_questions | | +--------------------------------------------+-------------------------------------------------+ -|website_event_sale | | +|website_event_sale | Done | +--------------------------------------------+-------------------------------------------------+ |website_event_track | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/website_event_sale/14.0.1.0/post-migration.py b/openupgrade_scripts/scripts/website_event_sale/14.0.1.0/post-migration.py new file mode 100644 index 000000000000..d8a07e065204 --- /dev/null +++ b/openupgrade_scripts/scripts/website_event_sale/14.0.1.0/post-migration.py @@ -0,0 +1,6 @@ +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.load_data(env.cr, "website_event_sale", "14.0.1.0/noupdate_changes.xml") diff --git a/openupgrade_scripts/scripts/website_event_sale/14.0.1.0/pre-migration.py b/openupgrade_scripts/scripts/website_event_sale/14.0.1.0/pre-migration.py new file mode 100644 index 000000000000..7a30828a0097 --- /dev/null +++ b/openupgrade_scripts/scripts/website_event_sale/14.0.1.0/pre-migration.py @@ -0,0 +1,11 @@ +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.set_xml_ids_noupdate_value( + env, + "website_event_sale", + ["event_product_template_public"], + True, + ) diff --git a/openupgrade_scripts/scripts/website_event_sale/14.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_event_sale/14.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..d174ff4c892e --- /dev/null +++ b/openupgrade_scripts/scripts/website_event_sale/14.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,17 @@ +---Models in module 'website_event_sale'--- +---Fields in module 'website_event_sale'--- +---XML records in module 'website_event_sale'--- +DEL ir.model.access: website_event_sale.access_event_event_ticket_public [renamed to website_event module] +DEL ir.model.access: website_event_sale.access_event_product_product_public +DEL ir.model.access: website_event_sale.access_event_product_template_public +# NOTHING TO DO + +ir.rule: website_event_sale.event_product_template_public (noupdate) (noupdate switched) +# DONE: pre-migration: noupdate changed to "1" + +DEL ir.rule: website_event_sale.event_event_ticket_public +# NOTHING TO DO + +DEL ir.ui.view: website_event_sale.index +DEL ir.ui.view: website_event_sale.registration_complete_inherit_website_event_sale +# NOTHING TO DO From 2f226a6ce36d3c1efecc3e4f3a6700a4d51a6fd0 Mon Sep 17 00:00:00 2001 From: hoangdinhhieu Date: Fri, 14 Jan 2022 16:50:23 +0700 Subject: [PATCH 056/403] [MIG]sale_margin: migration script --- docsource/modules130-140.rst | 2 +- .../sale_margin/14.0.1.0/pre-migration.py | 26 +++++++++++++++++++ .../14.0.1.0/upgrade_analysis_work.txt | 12 +++++++++ 3 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/sale_margin/14.0.1.0/pre-migration.py create mode 100644 openupgrade_scripts/scripts/sale_margin/14.0.1.0/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 60666719a40d..90bc1fd9b9aa 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -596,7 +596,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |sale_management | Done | +--------------------------------------------+-------------------------------------------------+ -|sale_margin | | +|sale_margin | Done | +--------------------------------------------+-------------------------------------------------+ |sale_mrp | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/sale_margin/14.0.1.0/pre-migration.py b/openupgrade_scripts/scripts/sale_margin/14.0.1.0/pre-migration.py new file mode 100644 index 000000000000..9a7dcf66297c --- /dev/null +++ b/openupgrade_scripts/scripts/sale_margin/14.0.1.0/pre-migration.py @@ -0,0 +1,26 @@ +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, installed_version): + openupgrade.logged_query( + env.cr, + """ + ALTER TABLE sale_order_line + ADD COLUMN IF NOT EXISTS margin_percent double precision; + + ALTER TABLE sale_order + ADD COLUMN IF NOT EXISTS margin_percent double precision; + """, + ) + + openupgrade.logged_query( + env.cr, + """ + UPDATE sale_order_line + SET margin_percent = COALESCE(margin / NULLIF(price_subtotal, 0), 0); + + UPDATE sale_order + SET margin_percent = COALESCE(margin / NULLIF(amount_untaxed, 0), 0); + """, + ) diff --git a/openupgrade_scripts/scripts/sale_margin/14.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/sale_margin/14.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..cf54d8eb6172 --- /dev/null +++ b/openupgrade_scripts/scripts/sale_margin/14.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,12 @@ +---Models in module 'sale_margin'--- +---Fields in module 'sale_margin'--- +sale_margin / sale.order / margin_percent (float) : NEW : function, stored +sale_margin / sale.order.line / margin_percent (float) : NEW isfunction: function, stored +# DONE: pre-migration fast filled + +sale_margin / sale.order.line / purchase_price (float) : now a function +# NOTHING TO DO + +---XML records in module 'sale_margin'--- +NEW ir.ui.view: sale_margin.sale_margin_sale_order_pivot +# NOTHING TO DO From c4a2f3b1b17f1b20f7507dd4c47d4cdc03c0598a Mon Sep 17 00:00:00 2001 From: tranngocson1996 Date: Mon, 17 Jan 2022 09:53:29 +0700 Subject: [PATCH 057/403] [MIG] website_crm_partner_assign: migration script --- docsource/modules130-140.rst | 2 +- .../14.0.1.0/post-migration.py | 9 ++++++ .../14.0.1.0/pre-migration.py | 19 +++++++++++++ .../14.0.1.0/upgrade_analysis_work.txt | 28 +++++++++++++++++++ 4 files changed, 57 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/website_crm_partner_assign/14.0.1.0/post-migration.py create mode 100644 openupgrade_scripts/scripts/website_crm_partner_assign/14.0.1.0/pre-migration.py create mode 100644 openupgrade_scripts/scripts/website_crm_partner_assign/14.0.1.0/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 60666719a40d..111fbaa3dfab 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -692,7 +692,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |website_crm_livechat | | +--------------------------------------------+-------------------------------------------------+ -|website_crm_partner_assign | | +|website_crm_partner_assign | Done | +--------------------------------------------+-------------------------------------------------+ |website_crm_sms | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/website_crm_partner_assign/14.0.1.0/post-migration.py b/openupgrade_scripts/scripts/website_crm_partner_assign/14.0.1.0/post-migration.py new file mode 100644 index 000000000000..2d70f8500ad8 --- /dev/null +++ b/openupgrade_scripts/scripts/website_crm_partner_assign/14.0.1.0/post-migration.py @@ -0,0 +1,9 @@ +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.delete_records_safely_by_xml_id( + env, + ["website_crm_partner_assign.menu_resellers"], + ) diff --git a/openupgrade_scripts/scripts/website_crm_partner_assign/14.0.1.0/pre-migration.py b/openupgrade_scripts/scripts/website_crm_partner_assign/14.0.1.0/pre-migration.py new file mode 100644 index 000000000000..91bfda3c5850 --- /dev/null +++ b/openupgrade_scripts/scripts/website_crm_partner_assign/14.0.1.0/pre-migration.py @@ -0,0 +1,19 @@ +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.rename_fields( + env, + [("crm.lead", "crm_lead", "date_assign", "date_partner_assign")], + ) + + openupgrade.set_xml_ids_noupdate_value( + env, + "website_crm_partner_assign", + [ + "assigned_lead_portal_rule_1", + "res_partner_grade_rule_portal_public", + ], + True, + ) diff --git a/openupgrade_scripts/scripts/website_crm_partner_assign/14.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_crm_partner_assign/14.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..4299d3daa998 --- /dev/null +++ b/openupgrade_scripts/scripts/website_crm_partner_assign/14.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,28 @@ +---Models in module 'website_crm_partner_assign'--- +---Fields in module 'website_crm_partner_assign'--- +website_crm_partner_assign / crm.lead / date_assign (date) : DEL +website_crm_partner_assign / crm.lead / date_partner_assign (date) : NEW isfunction: function, stored +# DONE: pre-migration: renamed columns + +website_crm_partner_assign / res.partner / partner_weight (integer) : now a function +website_crm_partner_assign / res.partner.grade / _order : _order is now 'sequence' ('id') +# NOTHING TO DO + +---XML records in module 'website_crm_partner_assign'--- +NEW ir.model.access: website_crm_partner_assign.access_crm_lead_assignation +NEW ir.model.access: website_crm_partner_assign.access_crm_lead_forward_to_partner +NEW ir.model.access: website_crm_partner_assign.access_res_partner_grade_invoicing_payment_readonly +# NOTHING TO DO + +ir.rule: website_crm_partner_assign.assigned_lead_portal_rule_1 (noupdate) (noupdate switched) +ir.rule: website_crm_partner_assign.res_partner_grade_rule_portal_public (noupdate) (noupdate switched) +# DONE: pre-migration: noupdate changed to "1" + +NEW ir.ui.view: website_crm_partner_assign.crm_lead_view_graph +NEW ir.ui.view: website_crm_partner_assign.crm_lead_view_graph_report_lead +NEW ir.ui.view: website_crm_partner_assign.crm_lead_view_graph_report_opportunity +NEW ir.ui.view: website_crm_partner_assign.crm_lead_view_pivot +# NOTHING TO DO + +DEL website.menu: website_crm_partner_assign.menu_resellers (noupdate) +# DONE: post-migration: try to delete From 37f56af1435ce107e50267a2e12151ff5e4e37ea Mon Sep 17 00:00:00 2001 From: tranngocson1996 Date: Mon, 17 Jan 2022 13:51:10 +0700 Subject: [PATCH 058/403] [MIG] website_event_questions: migration script --- docsource/modules130-140.rst | 2 +- .../14.0.1.1/post-migration.py | 14 +++++ .../14.0.1.1/pre-migration.py | 29 +++++++++ .../14.0.1.1/upgrade_analysis_work.txt | 62 +++++++++++++++++++ 4 files changed, 106 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/website_event_questions/14.0.1.1/post-migration.py create mode 100644 openupgrade_scripts/scripts/website_event_questions/14.0.1.1/pre-migration.py create mode 100644 openupgrade_scripts/scripts/website_event_questions/14.0.1.1/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 60666719a40d..f1d8f06b8609 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -708,7 +708,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ | |new| website_event_meet_quiz | | +--------------------------------------------+-------------------------------------------------+ -|website_event_questions | | +|website_event_questions | Done | +--------------------------------------------+-------------------------------------------------+ |website_event_sale | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/website_event_questions/14.0.1.1/post-migration.py b/openupgrade_scripts/scripts/website_event_questions/14.0.1.1/post-migration.py new file mode 100644 index 000000000000..7fe91d1f20d7 --- /dev/null +++ b/openupgrade_scripts/scripts/website_event_questions/14.0.1.1/post-migration.py @@ -0,0 +1,14 @@ +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.logged_query( + env.cr, + """ + UPDATE event_registration_answer era + SET question_id = eqa.question_id + FROM event_question_answer eqa + WHERE era.value_answer_id = eqa.id + """, + ) diff --git a/openupgrade_scripts/scripts/website_event_questions/14.0.1.1/pre-migration.py b/openupgrade_scripts/scripts/website_event_questions/14.0.1.1/pre-migration.py new file mode 100644 index 000000000000..9475f9052576 --- /dev/null +++ b/openupgrade_scripts/scripts/website_event_questions/14.0.1.1/pre-migration.py @@ -0,0 +1,29 @@ +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.rename_models(env.cr, [("event.answer", "event.question.answer")]) + + openupgrade.rename_tables( + env.cr, + [("event_answer", "event_question_answer")], + ) + + openupgrade.rename_fields( + env, + [ + ( + "event.registration.answer", + "event_registration_answer", + "event_answer_id", + "value_answer_id", + ), + ( + "event.registration.answer", + "event_registration_answer", + "event_registration_id", + "registration_id", + ), + ], + ) diff --git a/openupgrade_scripts/scripts/website_event_questions/14.0.1.1/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_event_questions/14.0.1.1/upgrade_analysis_work.txt new file mode 100644 index 000000000000..5c3ae9a940b7 --- /dev/null +++ b/openupgrade_scripts/scripts/website_event_questions/14.0.1.1/upgrade_analysis_work.txt @@ -0,0 +1,62 @@ +---Models in module 'website_event_questions'--- +obsolete model event.answer (renamed to event.question.answer) +obsolete model event.question.report [sql_view] +new model event.question.answer (renamed from event.answer) +# DONE: pre-migration: renamed tables + +---Fields in module 'website_event_questions'--- +website_event_questions / event.event / question_ids (one2many) : now a function +# NOTHING TO DO + +website_event_questions / event.question / answer_ids (one2many) : relation is now 'event.question.answer' ('event.answer') [nothing to do] +website_event_questions / event.question / is_individual (boolean) : DEL +website_event_questions / event.question / once_per_order (boolean) : NEW +website_event_questions / event.question / question_type (selection) : NEW required, selection_keys: ['simple_choice', 'text_box'], req_default: function, hasdefault +# NOTHING TO DO + +website_event_questions / event.registration / answer_ids (many2many) : DEL relation: event.answer +website_event_questions / event.registration / registration_answer_ids (one2many): NEW relation: event.registration.answer +# NOTHING TO DO + +website_event_questions / event.registration.answer / event_answer_id (many2one) : DEL relation: event.answer, required +website_event_questions / event.registration.answer / event_registration_id (many2one): DEL relation: event.registration, required +website_event_questions / event.registration.answer / question_id (many2one) : NEW relation: event.question, required +website_event_questions / event.registration.answer / registration_id (many2one) : NEW relation: event.registration, required +website_event_questions / event.registration.answer / value_answer_id (many2one) : NEW relation: event.question.answer +website_event_questions / event.registration.answer / value_text_box (text) : NEW +# DONE: pre-migration: field renamed and fill value + +---XML records in module 'website_event_questions'--- +NEW ir.actions.act_window: website_event_questions.action_event_registration_report +DEL ir.actions.act_window: website_event_questions.action_event_question_report +NEW ir.model.access: website_event_questions.event_question_answer_all +NEW ir.model.access: website_event_questions.event_question_answer_event_user +NEW ir.model.access: website_event_questions.event_registration_answer_event_user +DEL ir.model.access: website_event_questions.event_answer_all +DEL ir.model.access: website_event_questions.event_answer_event_user +DEL ir.model.access: website_event_questions.event_question_report_all +DEL ir.model.access: website_event_questions.event_registration_answer_all +NEW ir.model.constraint: website_event_questions.constraint_event_registration_answer_value_check +NEW ir.rule: website_event_questions.ir_rule_event_question_answer_event_user (noupdate) +NEW ir.rule: website_event_questions.ir_rule_event_question_answer_published (noupdate) +NEW ir.rule: website_event_questions.ir_rule_event_question_event_user (noupdate) +NEW ir.rule: website_event_questions.ir_rule_event_question_published (noupdate) +DEL ir.ui.menu: website_event_questions.menu_report_event_questions +NEW ir.ui.view: website_event_questions.assets_tests +NEW ir.ui.view: website_event_questions.event_event_view_form +NEW ir.ui.view: website_event_questions.event_question_view_form +NEW ir.ui.view: website_event_questions.event_registration_answer_view_graph +NEW ir.ui.view: website_event_questions.event_registration_answer_view_pivot +NEW ir.ui.view: website_event_questions.event_registration_answer_view_search +NEW ir.ui.view: website_event_questions.event_registration_answer_view_tree +NEW ir.ui.view: website_event_questions.event_registration_view_form_inherit_question +NEW ir.ui.view: website_event_questions.registration_event_question +DEL ir.ui.view: website_event_questions.view_event_answer_simplified_form +DEL ir.ui.view: website_event_questions.view_event_form_inherit_question +DEL ir.ui.view: website_event_questions.view_event_question_form +DEL ir.ui.view: website_event_questions.view_event_question_report_graph +DEL ir.ui.view: website_event_questions.view_event_question_report_pivot +DEL ir.ui.view: website_event_questions.view_event_question_report_search +DEL ir.ui.view: website_event_questions.view_event_registration_form_inherit_question +DEL ir.ui.view: website_event_questions.view_registration_search_inherit_question +# NOTHING TO DO From 97835565c053cf15a4247ae8d3810ad62aaa4788 Mon Sep 17 00:00:00 2001 From: tranngocson1996 Date: Mon, 17 Jan 2022 11:48:52 +0700 Subject: [PATCH 059/403] [MIG] website_event_track: migration script --- docsource/modules130-140.rst | 2 +- .../14.0.1.1/post-migration.py | 21 +++ .../14.0.1.1/upgrade_analysis_work.txt | 173 ++++++++++++++++++ 3 files changed, 195 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/website_event_track/14.0.1.1/post-migration.py create mode 100644 openupgrade_scripts/scripts/website_event_track/14.0.1.1/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 96cfd48a472f..0bcf7956d4e7 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -712,7 +712,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |website_event_sale | | +--------------------------------------------+-------------------------------------------------+ -|website_event_track | | +|website_event_track | Done | +--------------------------------------------+-------------------------------------------------+ | |new| website_event_track_exhibitor | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/website_event_track/14.0.1.1/post-migration.py b/openupgrade_scripts/scripts/website_event_track/14.0.1.1/post-migration.py new file mode 100644 index 000000000000..b628aebbffbe --- /dev/null +++ b/openupgrade_scripts/scripts/website_event_track/14.0.1.1/post-migration.py @@ -0,0 +1,21 @@ +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.load_data( + env.cr, "website_event_track", "14.0.1.1/noupdate_changes.xml" + ) + + openupgrade.delete_records_safely_by_xml_id( + env, + ["website_event_track.event_type_data_tracks"], + ) + + openupgrade.delete_record_translations( + env.cr, + "website_event_track", + [ + "mail_template_data_track_confirmation", + ], + ) diff --git a/openupgrade_scripts/scripts/website_event_track/14.0.1.1/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_event_track/14.0.1.1/upgrade_analysis_work.txt new file mode 100644 index 000000000000..a916ab5061b1 --- /dev/null +++ b/openupgrade_scripts/scripts/website_event_track/14.0.1.1/upgrade_analysis_work.txt @@ -0,0 +1,173 @@ +---Models in module 'website_event_track'--- +model website.event.menu (moved to website_event) +new model event.track.tag.category +new model event.track.visitor +# NOTHING TO DO + +---Fields in module 'website_event_track'--- +website_event_track / event.event / website_track (boolean) : now a function +website_event_track / event.event / website_track_proposal (boolean): now a function +# NOTHING TO DO + +website_event_track / event.sponsor / _order : _order is now 'sequence, sponsor_type_id' ('sequence') +website_event_track / event.sponsor / active (boolean) : NEW hasdefault +website_event_track / event.sponsor / activity_ids (one2many) : NEW relation: mail.activity +website_event_track / event.sponsor / email (char) : NEW isfunction: function, stored +website_event_track / event.sponsor / image_128 (binary) : not stored anymore +website_event_track / event.sponsor / image_512 (binary) : NEW attachment: True, isfunction: function, stored +website_event_track / event.sponsor / message_follower_ids (one2many): NEW relation: mail.followers +website_event_track / event.sponsor / message_ids (one2many) : NEW relation: mail.message +website_event_track / event.sponsor / message_main_attachment_id (many2one): NEW relation: ir.attachment +website_event_track / event.sponsor / mobile (char) : NEW isfunction: function, stored +website_event_track / event.sponsor / name (char) : NEW isfunction: function, stored +website_event_track / event.sponsor / phone (char) : NEW isfunction: function, stored +website_event_track / event.sponsor / sequence (integer) : not related anymore +website_event_track / event.sponsor / url (char) : now a function +website_event_track / event.sponsor / website_message_ids (one2many): NEW relation: mail.message +# NOTHING TO DO + +website_event_track / event.sponsor.type / display_ribbon_style (selection): NEW selection_keys: ['Bronze', 'Gold', 'Silver', 'no_ribbon'] +# NOTHING TO DO + +website_event_track / event.track / event_track_visitor_ids (one2many): NEW relation: event.track.visitor +website_event_track / event.track / image (binary) : not related anymore +website_event_track / event.track / image (binary) : now a function +website_event_track / event.track / partner_biography (html) : now a function +website_event_track / event.track / partner_email (char) : now a function +website_event_track / event.track / partner_name (char) : now a function +website_event_track / event.track / partner_phone (char) : now a function +website_event_track / event.track / seo_name (char) : NEW +website_event_track / event.track / website_cta (boolean) : NEW +website_event_track / event.track / website_cta_delay (integer) : NEW +website_event_track / event.track / website_cta_title (char) : NEW +website_event_track / event.track / website_cta_url (char) : NEW +website_event_track / event.track / website_image (binary) : NEW attachment: True +website_event_track / event.track / wishlisted_by_default (boolean): NEW +# NOTHING TO DO + +website_event_track / event.track.location / name (char) : now required +# NOTHING TO DO + +website_event_track / event.track.stage / color (integer) : NEW +website_event_track / event.track.stage / is_accepted (boolean) : NEW +# NOTHING TO DO + +website_event_track / event.track.tag / _order : _order is now 'category_id, sequence, name' ('name') +website_event_track / event.track.tag / category_id (many2one) : NEW relation: event.track.tag.category +website_event_track / event.track.tag / sequence (integer) : NEW hasdefault +# NOTHING TO DO + +website_event_track / event.track.tag.category / name (char) : NEW required +website_event_track / event.track.tag.category / sequence (integer) : NEW hasdefault +website_event_track / event.track.tag.category / tag_ids (one2many) : NEW relation: event.track.tag +# NOTHING TO DO + +website_event_track / event.track.visitor / is_blacklisted (boolean) : NEW +website_event_track / event.track.visitor / is_wishlisted (boolean) : NEW +website_event_track / event.track.visitor / partner_id (many2one) : NEW relation: res.partner, isfunction: function, stored +website_event_track / event.track.visitor / track_id (many2one) : NEW relation: event.track, required +website_event_track / event.track.visitor / visitor_id (many2one) : NEW relation: website.visitor +# NOTHING TO DO + +website_event_track / event.type / website_track (boolean) : now a function +website_event_track / event.type / website_track_proposal (boolean): now a function +# NOTHING TO DO + +website_event_track / website / app_icon (binary) : NEW attachment: True, isfunction: function, stored +website_event_track / website / events_app_name (char) : NEW isfunction: function, stored +# NOTHING TO DO + +website_event_track / website.event.menu / __last_update (datetime) : module is now 'website_event' ('website_event_track') +website_event_track / website.event.menu / _order : module is now 'website_event' ('website_event_track') +website_event_track / website.event.menu / display_name (char) : module is now 'website_event' ('website_event_track') +website_event_track / website.event.menu / event_id (many2one) : module is now 'website_event' ('website_event_track') +website_event_track / website.event.menu / menu_id (many2one) : module is now 'website_event' ('website_event_track') +website_event_track / website.event.menu / menu_type (False) : NEW selection_keys: ['community', 'meeting_room', 'track', 'track_proposal'], mode: modify +website_event_track / website.event.menu / menu_type (selection) : module is now 'website_event' ('website_event_track') +website_event_track / website.event.menu / menu_type (selection) : now required +website_event_track / website.event.menu / menu_type (selection) : selection_keys is now '['community']' ('['track', 'track_proposal']') +# NOTHING TO DO + +website_event_track / website.visitor / event_track_visitor_ids (one2many): NEW relation: event.track.visitor +# NOTHING TO DO + +---XML records in module 'website_event_track'--- +DEL event.type: website_event_track.event_type_data_tracks (noupdate) +# DONE: post-migration: try to delete + +NEW ir.actions.act_window: website_event_track.event_sponsor_action_from_event +NEW ir.actions.act_window: website_event_track.event_sponsor_type_action +NEW ir.actions.act_window: website_event_track.event_track_action_from_visitor +NEW ir.actions.act_window: website_event_track.event_track_tag_category_action +NEW ir.actions.act_window: website_event_track.event_track_visitor_action +NEW ir.actions.act_window: website_event_track.website_visitor_action_from_track +DEL ir.actions.act_window: website_event_track.action_event_sponsor_from_event +DEL ir.actions.act_window: website_event_track.action_event_sponsor_type +NEW ir.model.access: website_event_track.access_event_track_tag_user +NEW ir.model.access: website_event_track.event_track_tag_category_access_manager +NEW ir.model.access: website_event_track.event_track_tag_category_access_public +NEW ir.model.access: website_event_track.event_track_visitor_access_all +NEW ir.model.access: website_event_track.event_track_visitor_access_manager +DEL ir.model.access: website_event_track.access_event_location_manager +DEL ir.model.access: website_event_track.access_website_event_menu_manager [renamed to website_event module] +DEL ir.model.access: website_event_track.access_website_event_menu_public [renamed to website_event module] +NEW ir.rule: website_event_track.ir_rule_event_track_tag_public (noupdate) +# NOTHING TO DO + +NEW ir.ui.menu: website_event_track.event_track_tag_category_menu +NEW ir.ui.menu: website_event_track.event_track_visitor_menu +NEW ir.ui.view: website_event_track.agenda_main +NEW ir.ui.view: website_event_track.agenda_main_track +NEW ir.ui.view: website_event_track.agenda_online +NEW ir.ui.view: website_event_track.agenda_topbar +NEW ir.ui.view: website_event_track.agenda_topbar_wishlist +NEW ir.ui.view: website_event_track.event_event_view_form +NEW ir.ui.view: website_event_track.event_event_view_list +NEW ir.ui.view: website_event_track.event_layout +NEW ir.ui.view: website_event_track.event_sponsor_type_view_form +NEW ir.ui.view: website_event_track.event_sponsor_type_view_tree +NEW ir.ui.view: website_event_track.event_sponsor_view_form +NEW ir.ui.view: website_event_track.event_sponsor_view_kanban +NEW ir.ui.view: website_event_track.event_sponsor_view_search +NEW ir.ui.view: website_event_track.event_sponsor_view_tree +NEW ir.ui.view: website_event_track.event_track_aside +NEW ir.ui.view: website_event_track.event_track_aside_other_track +NEW ir.ui.view: website_event_track.event_track_content +NEW ir.ui.view: website_event_track.event_track_main +NEW ir.ui.view: website_event_track.event_track_tag_category_view_form +NEW ir.ui.view: website_event_track.event_track_tag_category_view_list +NEW ir.ui.view: website_event_track.event_track_visitor_view_form +NEW ir.ui.view: website_event_track.event_track_visitor_view_list +NEW ir.ui.view: website_event_track.event_track_visitor_view_search +NEW ir.ui.view: website_event_track.index +NEW ir.ui.view: website_event_track.layout +NEW ir.ui.view: website_event_track.pwa_manifest +NEW ir.ui.view: website_event_track.pwa_offline +NEW ir.ui.view: website_event_track.registration_complete +NEW ir.ui.view: website_event_track.res_config_settings_view_form +NEW ir.ui.view: website_event_track.session_topbar +NEW ir.ui.view: website_event_track.session_topbar_tag +NEW ir.ui.view: website_event_track.session_topbar_wishlist +NEW ir.ui.view: website_event_track.track_tag_badge_info +NEW ir.ui.view: website_event_track.track_tag_badge_link +NEW ir.ui.view: website_event_track.track_widget_reminder +NEW ir.ui.view: website_event_track.tracks_cards_track +NEW ir.ui.view: website_event_track.tracks_display_cards +NEW ir.ui.view: website_event_track.tracks_display_list +NEW ir.ui.view: website_event_track.tracks_main +NEW ir.ui.view: website_event_track.tracks_search +NEW ir.ui.view: website_event_track.tracks_session +NEW ir.ui.view: website_event_track.website_visitor_view_form +NEW ir.ui.view: website_event_track.website_visitor_view_kanban +NEW ir.ui.view: website_event_track.website_visitor_view_tree +DEL ir.ui.view: website_event_track.agenda +DEL ir.ui.view: website_event_track.event_track_social +DEL ir.ui.view: website_event_track.track_view +DEL ir.ui.view: website_event_track.tracks +DEL ir.ui.view: website_event_track.tracks_filter +DEL ir.ui.view: website_event_track.view_event_form +DEL ir.ui.view: website_event_track.view_event_sponsor_search +DEL ir.ui.view: website_event_track.view_event_sponsor_tree +DEL ir.ui.view: website_event_track.view_event_sponsor_type_form +DEL ir.ui.view: website_event_track.view_event_sponsor_type_tree +# NOTHING TO DO From 7d3756fd95fa474f27ccadf65dbe3984ce9545d3 Mon Sep 17 00:00:00 2001 From: mreficent Date: Mon, 12 Jul 2021 18:52:53 +0200 Subject: [PATCH 060/403] [MIG] survey --- docsource/modules130-140.rst | 2 +- .../survey/14.0.3.2/noupdate_changes.xml | 14 + .../scripts/survey/14.0.3.2/post-migration.py | 30 ++ .../scripts/survey/14.0.3.2/pre-migration.py | 260 ++++++++++++++++ .../survey/14.0.3.2/upgrade_analysis_work.txt | 279 ++++++++++++++++++ 5 files changed, 584 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/survey/14.0.3.2/post-migration.py create mode 100644 openupgrade_scripts/scripts/survey/14.0.3.2/pre-migration.py create mode 100644 openupgrade_scripts/scripts/survey/14.0.3.2/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 22874d3a0975..8c83d1f3bff3 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -648,7 +648,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |stock_sms | | +--------------------------------------------+-------------------------------------------------+ -|survey | | +|survey | Done | +--------------------------------------------+-------------------------------------------------+ | |new| test_base_automation | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/survey/14.0.3.2/noupdate_changes.xml b/openupgrade_scripts/scripts/survey/14.0.3.2/noupdate_changes.xml index dd3caa51936f..b7a5d57278b9 100644 --- a/openupgrade_scripts/scripts/survey/14.0.3.2/noupdate_changes.xml +++ b/openupgrade_scripts/scripts/survey/14.0.3.2/noupdate_changes.xml @@ -10,4 +10,18 @@ + + + + Survey question answer: manager: all + + + ['|', ('question_id.survey_id.create_uid', '=', user.id), ('matrix_question_id.survey_id.create_uid', '=', user.id)] + + Survey question answer: officer: create/write/unlink linked to own survey only + + + + Survey question answer: officer: read all + diff --git a/openupgrade_scripts/scripts/survey/14.0.3.2/post-migration.py b/openupgrade_scripts/scripts/survey/14.0.3.2/post-migration.py new file mode 100644 index 000000000000..94bb25df007d --- /dev/null +++ b/openupgrade_scripts/scripts/survey/14.0.3.2/post-migration.py @@ -0,0 +1,30 @@ +# Copyright 2021 ForgeFlow S.L. +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from openupgradelib import openupgrade + + +def map_survey_user_input_line_answer_type(env): + openupgrade.map_values( + env.cr, + openupgrade.get_legacy_name("answer_type"), + "answer_type", + [("text", "char_box"), ("number", "numerical_box"), ("free_text", "text_box")], + table="survey_user_input_line", + ) + + +def map_survey_question_question_type(env): + openupgrade.map_values( + env.cr, + openupgrade.get_legacy_name("question_type"), + "question_type", + [("textbox", "char_box"), ("free_text", "text_box")], + table="survey_question", + ) + + +@openupgrade.migrate() +def migrate(env, version): + map_survey_user_input_line_answer_type(env) + map_survey_question_question_type(env) + openupgrade.load_data(env.cr, "survey", "14.0.3.2/noupdate_changes.xml") diff --git a/openupgrade_scripts/scripts/survey/14.0.3.2/pre-migration.py b/openupgrade_scripts/scripts/survey/14.0.3.2/pre-migration.py new file mode 100644 index 000000000000..7a23a0232182 --- /dev/null +++ b/openupgrade_scripts/scripts/survey/14.0.3.2/pre-migration.py @@ -0,0 +1,260 @@ +# Copyright 2021 ForgeFlow S.L. +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from openupgradelib import openupgrade + +_column_copies = { + "survey_user_input": [ + ("state", None, None), + ], + "survey_user_input_line": [ + ("answer_type", None, None), + ], + "survey_question": [ + ("question_type", None, None), + ], +} + +_field_renames = [ + ("survey.label", "survey_label", "question_id_2", "matrix_question_id"), + ("survey.question", "survey_question", "labels_ids", "suggested_answer_ids"), + ("survey.question", "survey_question", "labels_ids_2", "matrix_row_ids"), + ( + "survey.user_input_line", + "survey_user_input_line", + "value_suggested", + "suggested_answer_id", + ), + ( + "survey.user_input_line", + "survey_user_input_line", + "value_suggested_row", + "matrix_row_id", + ), + ( + "survey.user_input_line", + "survey_user_input_line", + "value_text", + "value_char_box", + ), + ( + "survey.user_input_line", + "survey_user_input_line", + "value_number", + "value_numerical_box", + ), + ( + "survey.user_input_line", + "survey_user_input_line", + "value_free_text", + "value_text_box", + ), + ("survey.survey", "survey_survey", "certificate", "certification"), + ("survey.survey", "survey_survey", "thank_you_message", "description_done"), + ("survey.survey", "survey_survey", "passing_score", "scoring_success_min"), + ("survey.user_input", "survey_user_input", "token", "access_token"), + ("survey.user_input", "survey_user_input", "quizz_score", "scoring_percentage"), + ("survey.user_input", "survey_user_input", "quizz_passed", "scoring_success"), + ( + "survey.user_input", + "survey_user_input", + "question_ids", + "predefined_question_ids", + ), +] +_model_renames = [ + ("survey.user_input_line", "survey.user_input.line"), + ("survey.label", "survey.question.answer"), +] +_table_renames = [("survey_label", "survey_question_answer")] +_xmlid_renames = [ + ("survey.access_survey_label_all", "survey.access_survey_question_answer_all"), + ( + "survey.access_survey_label_survey_manager", + "survey.access_survey_question_answer_survey_manager", + ), + ( + "survey.access_survey_label_survey_user", + "survey.access_survey_question_answer_survey_user", + ), + ("survey.access_survey_label_user", "survey.access_survey_question_answer_user"), + ( + "survey.survey_label_rule_survey_manager", + "survey.survey_question_answer_rule_survey_manager", + ), + ( + "survey.survey_label_rule_survey_user_cw", + "survey.survey_question_answer_rule_survey_user_cw", + ), + ( + "survey.survey_label_rule_survey_user_read", + "survey.survey_question_answer_rule_survey_user_read", + ), + ("survey.action_survey_user_input_line", "survey.survey_user_input_line_action"), + ("survey.action_survey_label_form", "survey.survey_question_answer_action"), + ("survey.survey_label_search", "survey.survey_question_answer_view_search"), + ("survey.survey_label_tree", "survey.survey_question_answer_view_tree"), + ("survey.survey_user_input_line_form", "survey.survey_user_input_line_view_form"), + ("survey.survey_response_line_search", "survey.survey_user_input_line_view_search"), + ("survey.survey_response_line_tree", "survey.survey_response_line_view_tree"), + ("survey.403", "survey.survey_403_page"), + ("survey.auth_required", "survey.survey_auth_required"), + ("survey.date", "survey.question_date"), + ("survey.datetime", "survey.question_datetime"), + ("survey.matrix", "survey.question_matrix"), + ("survey.multiple_choice", "survey.question_multiple_choice"), + ("survey.numerical_box", "survey.question_numerical_box"), + ("survey.result_choice", "survey.question_result_choice"), + ("survey.result_comments", "survey.question_result_comments"), + ("survey.result_matrix", "survey.question_result_matrix"), + ("survey.result_number", "survey.question_result_number_or_date"), + ("survey.result_text", "survey.question_result_text"), + ("survey.textbox", "survey.question_char_box"), + ("survey.free_text", "survey.question_text_box"), + ("survey.pagination", "survey.question_table_pagination"), + ("survey.retake_survey_button", "survey.survey_button_retake"), + ("survey.simple_choice", "survey.question_simple_choice"), + ("survey.survey_expired", "survey.survey_closed_expired"), + ("survey.survey_void", "survey.survey_void_content"), + ("survey.survey_print", "survey.survey_page_print"), + ("survey.question", "survey.question_container"), + ("survey.back", "survey.survey_button_form_view"), + ("survey.survey", "survey.survey_page_fill"), + ("survey.page", "survey.survey_fill_form"), + ("survey.survey_header", "survey.survey_fill_header"), + ("survey.survey_init", "survey.survey_fill_form_start"), + ("survey.sfinished", "survey.survey_fill_form_done"), + ("survey.result", "survey.survey_page_statistics"), +] + + +def fill_survey_survey_session_state(env): + # done in pre-migration because this field is used in some computes + openupgrade.map_values( + env.cr, + openupgrade.get_legacy_name("state"), + "state", + [("skip", "in_progress")], + table="survey_user_input", + ) + openupgrade.logged_query( + env.cr, + """ + ALTER TABLE survey_survey + ADD COLUMN session_state varchar""", + ) + openupgrade.logged_query( + env.cr, + """ + ALTER TABLE survey_survey + ADD COLUMN session_start_time timestamp without time zone""", + ) + openupgrade.logged_query( + env.cr, + """ + UPDATE survey_survey ss + SET session_state = CASE WHEN sui.state = 'new' THEN 'ready' + WHEN sui.state = 'in_progress' THEN 'in_progress' + ELSE NULL END, session_start_time = CASE + WHEN sui.state IN ('new', 'in_progress') THEN ss.write_date + ELSE NULL END + FROM survey_user_input sui + WHERE sui.survey_id = ss.id AND ss.state != 'draft'""", + ) + + +def fast_fill_survey_input_some_values(env): + # some new computes depend of this is_session_answer field + openupgrade.logged_query( + env.cr, + """ + ALTER TABLE survey_user_input + ADD COLUMN is_session_answer boolean""", + ) + openupgrade.logged_query( + env.cr, + """ + ALTER TABLE survey_user_input + ADD COLUMN nickname varchar""", + ) + # is_session_answer + openupgrade.logged_query( + env.cr, + """ + UPDATE survey_user_input sui + SET is_session_answer = TRUE, start_datetime = sui.write_date + FROM survey_survey ss + WHERE sui.survey_id = ss.id AND ss.session_state IN ('ready', 'in_progress')""", + ) + # nickname + openupgrade.logged_query( + env.cr, + """ + UPDATE survey_user_input sui + SET nickname = rp.name + FROM res_partner rp + WHERE sui.partner_id = rp.id""", + ) + openupgrade.logged_query( + env.cr, + """ + UPDATE survey_user_input sui + SET nickname = sui.email + WHERE sui.nickname IS NULL""", + ) + + +def fill_survey_user_input_line_answer_is_correct(env): + openupgrade.logged_query( + env.cr, + """ + ALTER TABLE survey_user_input_line + ADD COLUMN answer_is_correct boolean""", + ) + openupgrade.logged_query( + env.cr, + """ + UPDATE survey_user_input_line suil + SET answer_is_correct = sqa.is_correct + FROM survey_question_answer sqa, survey_question sq + WHERE suil.suggested_answer_id = sqa.id AND suil.question_id = sq.id + AND sq.question_type IN ('simple_choice', 'multiple_choice')""", + ) + + +def fill_survey_session_code(env): + openupgrade.logged_query( + env.cr, "ALTER TABLE survey_survey ADD COLUMN session_code varchar;" + ) + openupgrade.logged_query( + env.cr, + """ + UPDATE survey_survey ss + SET session_code = sub.number || '' + FROM ( + SELECT id, ROW_NUMBER() OVER(ORDER BY id) + 999 AS number + FROM survey_survey + ) sub + WHERE sub.id = ss.id""", + ) + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.copy_columns(env.cr, _column_copies) + openupgrade.rename_fields(env, _field_renames) + openupgrade.rename_models(env.cr, _model_renames) + openupgrade.rename_tables(env.cr, _table_renames) + openupgrade.rename_xmlids(env.cr, _xmlid_renames) + fill_survey_survey_session_state(env) + fast_fill_survey_input_some_values(env) + fill_survey_user_input_line_answer_is_correct(env) + fill_survey_session_code(env) + # Disappeared constraint + openupgrade.logged_query( + env.cr, + """ALTER TABLE survey_survey + DROP CONSTRAINT IF EXISTS survey_survey_certificate_check""", + ) + openupgrade.delete_records_safely_by_xml_id( + env, ["survey.constraint_survey_survey_certificate_check"] + ) diff --git a/openupgrade_scripts/scripts/survey/14.0.3.2/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/survey/14.0.3.2/upgrade_analysis_work.txt new file mode 100644 index 000000000000..5a501e67d6c6 --- /dev/null +++ b/openupgrade_scripts/scripts/survey/14.0.3.2/upgrade_analysis_work.txt @@ -0,0 +1,279 @@ +---Models in module 'survey'--- +obsolete model survey.user_input_line (renamed to survey.user_input.line) +new model survey.user_input.line (renamed from survey.user_input_line) +# DONE: pre-migration: renamed models + +obsolete model survey.label (renamed to survey.question.answer) +new model survey.question.answer (renamed from survey.label) +# DONE: pre-migration: renamed models and tables + +---Fields in module 'survey'--- +survey / gamification.challenge / category (False) : DEL selection_keys: ['certification', 'hr', 'other'], mode: modify +survey / gamification.challenge / challenge_category (False) : NEW selection_keys: ['certification', 'hr', 'other'], mode: modify +# NOTHING TO DO: renamed field in gamification + +survey / survey.question / labels_ids (one2many) : DEL relation: survey.label +survey / survey.question / suggested_answer_ids (one2many): NEW relation: survey.question.answer +survey / survey.question / labels_ids_2 (one2many) : DEL relation: survey.label +survey / survey.question / matrix_row_ids (one2many) : NEW relation: survey.question.answer +survey / survey.label / question_id_2 (many2one) : DEL relation: survey.question +survey / survey.question.answer / matrix_question_id (many2one) : NEW relation: survey.question +# DONE: pre-migration: renamed fields + +survey / survey.label / _order : _order is now 'sequence, id' ('sequence,id') +# NOTHING TO DO + +survey / survey.question / question_type (selection) : now a function +survey / survey.question / question_type (selection) : selection_keys is now '['char_box', 'date', 'datetime', 'matrix', 'multiple_choice', 'numerical_box', 'simple_choice', 'text_box']' ('['date', 'datetime', 'free_text', 'matrix', 'multiple_choice', 'numerical_box', 'simple_choice', 'textbox']') +# DONE: post-migration: mapped values + +survey / survey.question / display_mode (selection) : DEL selection_keys: ['columns', 'dropdown'] +# NOTHING TO DO: obsolete + +survey / survey.question / allow_value_image (boolean) : NEW +survey / survey.question.answer / value_image (binary) : NEW attachment: True +# NOTHING TO DO: new feature + +survey / survey.question / user_input_line_ids (one2many): relation is now 'survey.user_input.line' ('survey.user_input_line') [nothing to do] +survey / survey.user_input / user_input_line_ids (one2many): relation is now 'survey.user_input.line' ('survey.user_input_line') [nothing to do] +# NOTHING TO DO + +survey / survey.question / answer_date (date) : NEW +survey / survey.question / answer_datetime (datetime) : NEW +survey / survey.question / answer_numerical_box (float) : NEW +survey / survey.question / answer_score (float) : NEW +survey / survey.question / is_scored_question (boolean) : NEW isfunction: function, stored +# NOTHING TO DO: new features + +survey / survey.question / is_conditional (boolean) : NEW +survey / survey.question / triggering_answer_id (many2one): NEW relation: survey.question.answer, isfunction: function, stored +survey / survey.question / triggering_question_id (many2one): NEW relation: survey.question, isfunction: function, stored +# NOTHING TO DO: new features + +survey / survey.question / is_time_limited (boolean) : NEW +survey / survey.question / time_limit (integer) : NEW +# NOTHING TO DO: new features + +survey / survey.question / save_as_email (boolean) : NEW isfunction: function, stored +survey / survey.question / save_as_nickname (boolean) : NEW isfunction: function, stored +# NOTHING TO DO: new features + +survey / survey.survey / background_image (binary) : NEW attachment: True +# NOTHING TO DO: new feature + +survey / survey.survey / category (selection) : DEL required, selection_keys: ['default'], req_default: function +# NOTHING TO DO: obsolete + +survey / survey.survey / certificate (boolean) : DEL +survey / survey.survey / certification (boolean) : NEW isfunction: function, stored +# DONE: pre-migration: renamed field + +survey / survey.survey / thank_you_message (html) : DEL +survey / survey.survey / description_done (html) : NEW +# DONE: pre-migration: renamed field + +survey / survey.survey / passing_score (float) : DEL required, req_default: function +survey / survey.survey / scoring_success_min (float) : NEW hasdefault +# DONE: pre-migration: renamed field + +survey / survey.survey / certification_report_layout (selection): NEW selection_keys: ['classic_blue', 'classic_gold', 'classic_purple', 'modern_blue', 'modern_gold', 'modern_purple'], hasdefault +# NOTHING TO DO: new feature + +survey / survey.survey / certification_give_badge (boolean): now a function +survey / survey.survey / is_attempts_limited (boolean) : now a function +# NOTHING TO DO + +survey / survey.survey / progression_mode (selection) : NEW selection_keys: ['number', 'percent'], hasdefault +# NOTHING TO DO: new feature + +survey / survey.survey / session_code (char) : NEW hasdefault +# DONE: pre-migration: filled (beginning with 1000) + +survey / survey.survey / session_question_id (many2one): NEW relation: survey.question +survey / survey.survey / session_question_start_time (datetime): NEW +survey / survey.survey / session_speed_rating (boolean): NEW +survey / survey.survey / session_start_time (datetime) : NEW +survey / survey.survey / session_state (selection) : NEW selection_keys: ['in_progress', 'ready'] +# DONE (new feature): pre-migration: fill session_state + +survey / survey.user_input / token (char) : DEL required, req_default: function +survey / survey.user_input / access_token (char) : NEW required, req_default: function, hasdefault +# DONE: pre-migration: renamed field + +survey / survey.user_input / input_type (selection) : DEL required, selection_keys: ['link', 'manually'], req_default: function +# NOTHING TO DO: obsolete + +survey / survey.user_input / is_session_answer (boolean) : NEW +survey / survey.user_input / nickname (char) : NEW +# DONE: pre-migration: filled + +survey / survey.user_input / scoring_total (float) : NEW isfunction: function, stored +# NOTHING TO DO: computed during load + +survey / survey.user_input / scoring_percentage (float) : NEW isfunction: function, stored +survey / survey.user_input / quizz_score (float) : DEL +survey / survey.user_input / scoring_success (boolean) : NEW isfunction: function, stored +survey / survey.user_input / quizz_passed (boolean) : DEL +# DONE: pre-migration: renamed fields + +survey / survey.user_input / predefined_question_ids (many2many): NEW relation: survey.question +survey / survey.user_input / question_ids (many2many) : DEL relation: survey.question +# DONE: pre-migration: renamed field + +survey / survey.user_input / state (selection) : selection_keys is now '['done', 'in_progress', 'new']' ('['done', 'new', 'skip']') +# DONE: pre-migration: map 'skip' to 'in_progress' + +survey / survey.user_input.line / suggested_answer_id (many2one): NEW relation: survey.question.answer +survey / survey.user_input_line / value_suggested (many2one) : DEL relation: survey.label +survey / survey.user_input.line / matrix_row_id (many2one) : NEW relation: survey.question.answer +survey / survey.user_input_line / value_suggested_row (many2one): DEL relation: survey.label +# DONE: pre-migration: renamed fields + +survey / survey.user_input.line / value_char_box (char) : NEW +survey / survey.user_input_line / value_text (char) : DEL +survey / survey.user_input.line / value_numerical_box (float) : NEW +survey / survey.user_input_line / value_number (float) : DEL +survey / survey.user_input.line / value_text_box (text) : NEW +survey / survey.user_input_line / value_free_text (text) : DEL +# DONE: pre-migration: renamed fields + +survey / survey.user_input_line / _order : _order is now 'question_sequence, id' ('question_sequence,id') +# NOTHING TO DO + +survey / survey.user_input_line / answer_is_correct (boolean) : is now stored +survey / survey.user_input_line / answer_is_correct (boolean) : not a function anymore +# DONE: pre-migration: filled + +survey / survey.user_input_line / answer_type (selection) : selection_keys is now '['char_box', 'date', 'datetime', 'numerical_box', 'suggestion', 'text_box']' ('['date', 'datetime', 'free_text', 'number', 'suggestion', 'text']') +# DONE: post-migration: mapped values + +---XML records in module 'survey'--- +NEW ir.actions.act_window: survey.survey_user_input_line_action +DEL ir.actions.act_window: survey.action_survey_user_input_line +NEW ir.actions.act_window: survey.survey_question_answer_action +DEL ir.actions.act_window: survey.action_survey_label_form +# DONE: pre-migration: renamed xmlids + +NEW ir.model.access: survey.access_survey_invite +# NOTHING TO DO + +NEW ir.model.access: survey.access_survey_question_answer_all +NEW ir.model.access: survey.access_survey_question_answer_survey_manager +NEW ir.model.access: survey.access_survey_question_answer_survey_user +NEW ir.model.access: survey.access_survey_question_answer_user +DEL ir.model.access: survey.access_survey_label_all +DEL ir.model.access: survey.access_survey_label_survey_manager +DEL ir.model.access: survey.access_survey_label_survey_user +DEL ir.model.access: survey.access_survey_label_user +# DONE: pre-migration: renamed xmlids + +NEW ir.model.constraint: survey.constraint_survey_question_positive_answer_score +NEW ir.model.constraint: survey.constraint_survey_question_scored_date_have_answers +NEW ir.model.constraint: survey.constraint_survey_question_scored_datetime_have_answers +NEW ir.model.constraint: survey.constraint_survey_survey_certification_check +NEW ir.model.constraint: survey.constraint_survey_survey_scoring_success_min_check +NEW ir.model.constraint: survey.constraint_survey_survey_session_code_unique +ir.model.constraint: survey.constraint_survey_user_input_unique_token (changed definition: is now 'unique(access_token)' ('unique(token)')) +# NOTHING TO DO + +DEL ir.model.constraint: survey.constraint_survey_survey_certificate_check +# DONE: pre-migration: deleted constraints + +NEW ir.rule: survey.survey_question_answer_rule_survey_manager (noupdate) +NEW ir.rule: survey.survey_question_answer_rule_survey_user_cw (noupdate) +NEW ir.rule: survey.survey_question_answer_rule_survey_user_read (noupdate) +DEL ir.rule: survey.survey_label_rule_survey_manager (noupdate) +DEL ir.rule: survey.survey_label_rule_survey_user_cw (noupdate) +DEL ir.rule: survey.survey_label_rule_survey_user_read (noupdate) +# DONE: pre-migration: renamed xmlids + +DEL ir.ui.view: survey.survey_label_search +DEL ir.ui.view: survey.survey_label_tree +NEW ir.ui.view: survey.survey_question_answer_view_search +NEW ir.ui.view: survey.survey_question_answer_view_tree +# DONE: pre-migration: renamed xmlids + +NEW ir.ui.view: survey.survey_user_input_line_view_form +DEL ir.ui.view: survey.survey_user_input_line_form +NEW ir.ui.view: survey.survey_user_input_line_view_search +DEL ir.ui.view: survey.survey_response_line_search +NEW ir.ui.view: survey.survey_response_line_view_tree +DEL ir.ui.view: survey.survey_response_line_tree +# DONE: pre-migration: renamed xmlids + +DEL ir.ui.view: survey.403 +NEW ir.ui.view: survey.survey_403_page +DEL ir.ui.view: survey.auth_required +NEW ir.ui.view: survey.survey_auth_required +DEL ir.ui.view: survey.date +NEW ir.ui.view: survey.question_date +DEL ir.ui.view: survey.datetime +NEW ir.ui.view: survey.question_datetime +DEL ir.ui.view: survey.matrix +NEW ir.ui.view: survey.question_matrix +DEL ir.ui.view: survey.multiple_choice +NEW ir.ui.view: survey.question_multiple_choice +DEL ir.ui.view: survey.numerical_box +NEW ir.ui.view: survey.question_numerical_box +DEL ir.ui.view: survey.result_choice +NEW ir.ui.view: survey.question_result_choice +DEL ir.ui.view: survey.result_comments +NEW ir.ui.view: survey.question_result_comments +DEL ir.ui.view: survey.result_matrix +NEW ir.ui.view: survey.question_result_matrix +DEL ir.ui.view: survey.result_number +NEW ir.ui.view: survey.question_result_number_or_date +DEL ir.ui.view: survey.result_text +NEW ir.ui.view: survey.question_result_text +DEL ir.ui.view: survey.textbox +NEW ir.ui.view: survey.question_char_box +DEL ir.ui.view: survey.free_text +NEW ir.ui.view: survey.question_text_box +DEL ir.ui.view: survey.pagination +NEW ir.ui.view: survey.question_table_pagination +DEL ir.ui.view: survey.retake_survey_button +NEW ir.ui.view: survey.survey_button_retake +DEL ir.ui.view: survey.simple_choice +NEW ir.ui.view: survey.question_simple_choice +DEL ir.ui.view: survey.survey_expired +NEW ir.ui.view: survey.survey_closed_expired +DEL ir.ui.view: survey.survey_void +NEW ir.ui.view: survey.survey_void_content +DEL ir.ui.view: survey.survey_print +NEW ir.ui.view: survey.survey_page_print +DEL ir.ui.view: survey.question +NEW ir.ui.view: survey.question_container +DEL ir.ui.view: survey.back +NEW ir.ui.view: survey.survey_button_form_view +DEL ir.ui.view: survey.survey +NEW ir.ui.view: survey.survey_page_fill +DEL ir.ui.view: survey.page +NEW ir.ui.view: survey.survey_fill_form +DEL ir.ui.view: survey.survey_header +NEW ir.ui.view: survey.survey_fill_header +DEL ir.ui.view: survey.survey_init +NEW ir.ui.view: survey.survey_fill_form_start +DEL ir.ui.view: survey.sfinished +NEW ir.ui.view: survey.survey_fill_form_done +DEL ir.ui.view: survey.result +NEW ir.ui.view: survey.survey_page_statistics +# DONE: pre-migration: renamed xmlids + +NEW ir.ui.view: survey.certification_report_view_classic +NEW ir.ui.view: survey.certification_report_view_modern +NEW ir.ui.view: survey.question_suggested_value_image +NEW ir.ui.view: survey.survey_fill_form_in_progress +NEW ir.ui.view: survey.survey_navigation +NEW ir.ui.view: survey.survey_page_statistics_header +NEW ir.ui.view: survey.survey_page_statistics_inner +NEW ir.ui.view: survey.survey_page_statistics_question +NEW ir.ui.view: survey.survey_progression +NEW ir.ui.view: survey.survey_selection_key +NEW ir.ui.view: survey.survey_session_code +NEW ir.ui.view: survey.survey_user_input_session_assets +NEW ir.ui.view: survey.user_input_session +NEW ir.ui.view: survey.user_input_session_leaderboard +NEW ir.ui.view: survey.user_input_session_manage +NEW ir.ui.view: survey.user_input_session_manage_content +NEW ir.ui.view: survey.user_input_session_open +# NOTHING TO DO From 79b9f1702166783b127a493cf7d3884a6daf5cf5 Mon Sep 17 00:00:00 2001 From: hoangdinhhieu Date: Wed, 19 Jan 2022 11:26:05 +0700 Subject: [PATCH 061/403] [MIG]website_slides: migration script --- docsource/modules130-140.rst | 2 +- .../14.0.2.2/noupdate_changes.xml | 4 +- .../website_slides/14.0.2.2/post-migration.py | 18 ++++ .../website_slides/14.0.2.2/pre-migration.py | 16 +++ .../14.0.2.2/upgrade_analysis_work.txt | 100 ++++++++++++++++++ 5 files changed, 137 insertions(+), 3 deletions(-) create mode 100644 openupgrade_scripts/scripts/website_slides/14.0.2.2/post-migration.py create mode 100644 openupgrade_scripts/scripts/website_slides/14.0.2.2/pre-migration.py create mode 100644 openupgrade_scripts/scripts/website_slides/14.0.2.2/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 22874d3a0975..dc7ea38b1203 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -784,7 +784,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |website_sale_wishlist | | +--------------------------------------------+-------------------------------------------------+ -|website_slides | | +|website_slides | Done | +--------------------------------------------+-------------------------------------------------+ |website_slides_forum | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/website_slides/14.0.2.2/noupdate_changes.xml b/openupgrade_scripts/scripts/website_slides/14.0.2.2/noupdate_changes.xml index 82ccfce27c16..0cfd9c5ade7f 100644 --- a/openupgrade_scripts/scripts/website_slides/14.0.2.2/noupdate_changes.xml +++ b/openupgrade_scripts/scripts/website_slides/14.0.2.2/noupdate_changes.xml @@ -11,7 +11,7 @@ - + Channel: public/portal/user: restricted to published and (public or member only) @@ -21,7 +21,7 @@ - + diff --git a/openupgrade_scripts/scripts/website_slides/14.0.2.2/post-migration.py b/openupgrade_scripts/scripts/website_slides/14.0.2.2/post-migration.py new file mode 100644 index 000000000000..20d50fa792d7 --- /dev/null +++ b/openupgrade_scripts/scripts/website_slides/14.0.2.2/post-migration.py @@ -0,0 +1,18 @@ +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.load_data(env.cr, "website_slides", "14.0.2.2/noupdate_changes.xml") + env["slide.channel.partner"].search([])._recompute_completion() + openupgrade.copy_fields_multilang( + env.cr, + "slide.channel", + "slide_channel", + ["description_short"], + "id", + "slide.channel", + "slide_channel", + ["description"], + False, + ) diff --git a/openupgrade_scripts/scripts/website_slides/14.0.2.2/pre-migration.py b/openupgrade_scripts/scripts/website_slides/14.0.2.2/pre-migration.py new file mode 100644 index 000000000000..e3de793c39f0 --- /dev/null +++ b/openupgrade_scripts/scripts/website_slides/14.0.2.2/pre-migration.py @@ -0,0 +1,16 @@ +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.set_xml_ids_noupdate_value( + env, + "website_slides", + [ + "rule_slide_channel_global", + "rule_slide_channel_not_website", + "rule_slide_slide_global", + "rule_slide_slide_not_website", + ], + True, + ) diff --git a/openupgrade_scripts/scripts/website_slides/14.0.2.2/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_slides/14.0.2.2/upgrade_analysis_work.txt new file mode 100644 index 000000000000..94fa06eb17d3 --- /dev/null +++ b/openupgrade_scripts/scripts/website_slides/14.0.2.2/upgrade_analysis_work.txt @@ -0,0 +1,100 @@ +---Models in module 'website_slides'--- +new model slide.slide.resource +---Fields in module 'website_slides'--- +website_slides / gamification.challenge / category (False) : DEL selection_keys: ['certification', 'forum', 'hr', 'other', 'slides'], mode: modify +website_slides / gamification.challenge / challenge_category (False) : NEW selection_keys: ['certification', 'forum', 'hr', 'other', 'slides'], mode: modify +# NOTHING TO DO: done in gamification module + +website_slides / slide.answer / _order : _order is now 'question_id, sequence' ('question_id, id') +website_slides / slide.answer / comment (text) : NEW +website_slides / slide.answer / sequence (integer) : NEW +website_slides / slide.channel / activity_ids (one2many) : NEW relation: mail.activity +# NOTHING TO DO: new feature + +website_slides / slide.channel / description_short (text) : NEW +# DONE: post-migration fill data from description field + +website_slides / slide.channel / promote_strategy (selection) : selection_keys is now '['latest', 'most_viewed', 'most_voted', 'none', 'specific']' ('['latest', 'most_viewed', 'most_voted']') +website_slides / slide.channel / promoted_slide_id (many2one) : NEW relation: slide.slide +website_slides / slide.channel / seo_name (char) : NEW +# NOTHING TO DO: new feature + +website_slides / slide.channel.partner / completed_slides_count (integer): NEW +# DONE: post-migration recompute completion field and completed_slides_count field + +website_slides / slide.channel.tag / color (integer) : NEW +website_slides / slide.question / _order : _order is now 'sequence' ('id') +website_slides / slide.slide / seo_name (char) : NEW +website_slides / slide.slide / slide_resource_downloadable (boolean): NEW hasdefault +website_slides / slide.slide / slide_resource_ids (one2many) : NEW relation: slide.slide.resource +website_slides / slide.slide.resource / data (binary) : NEW attachment: True +website_slides / slide.slide.resource / name (char) : NEW required +website_slides / slide.slide.resource / slide_id (many2one) : NEW relation: slide.slide, required +# NOTHING TO DO: new feature + +---XML records in module 'website_slides'--- +NEW ir.model.access: website_slides.access_slide_answer_officer +NEW ir.model.access: website_slides.access_slide_channel_invite +NEW ir.model.access: website_slides.access_slide_channel_manager +NEW ir.model.access: website_slides.access_slide_channel_officer +NEW ir.model.access: website_slides.access_slide_question_officer +NEW ir.model.access: website_slides.access_slide_slide_link_officer +NEW ir.model.access: website_slides.access_slide_slide_manager +NEW ir.model.access: website_slides.access_slide_slide_officer +NEW ir.model.access: website_slides.access_slide_slide_resource_all +NEW ir.model.access: website_slides.access_slide_slide_resource_public +NEW ir.model.access: website_slides.access_slide_slide_resource_publisher +NEW ir.model.access: website_slides.access_slide_tag_officer +DEL ir.model.access: website_slides.access_slide_answer_publisher +DEL ir.model.access: website_slides.access_slide_channel_publisher +DEL ir.model.access: website_slides.access_slide_question_publisher +DEL ir.model.access: website_slides.access_slide_slide_link_publisher +DEL ir.model.access: website_slides.access_slide_slide_publisher +DEL ir.model.access: website_slides.access_slide_tag_publisher +# NOTHING TO DO + +ir.rule: website_slides.rule_slide_channel_global (noupdate) (noupdate switched) +NEW ir.rule: website_slides.rule_slide_channel_manager (noupdate) +ir.rule: website_slides.rule_slide_channel_not_website (noupdate) (noupdate switched) +NEW ir.rule: website_slides.rule_slide_channel_officer_cw (noupdate) +NEW ir.rule: website_slides.rule_slide_channel_officer_r (noupdate) +NEW ir.rule: website_slides.rule_slide_channel_partner_manager (noupdate) +NEW ir.rule: website_slides.rule_slide_channel_partner_officer (noupdate) +ir.rule: website_slides.rule_slide_slide_global (noupdate) (noupdate switched) +NEW ir.rule: website_slides.rule_slide_slide_manager (noupdate) +ir.rule: website_slides.rule_slide_slide_not_website (noupdate) (noupdate switched) +# DONE pre-migration: switched noupdate + +NEW ir.rule: website_slides.rule_slide_slide_officer_cw (noupdate) +NEW ir.rule: website_slides.rule_slide_slide_officer_r (noupdate) +NEW ir.rule: website_slides.rule_slide_slide_partner_manager (noupdate) +NEW ir.rule: website_slides.rule_slide_slide_partner_officer (noupdate) +NEW ir.rule: website_slides.rule_slide_slide_resource_downloadable (noupdate) +DEL ir.rule: website_slides.rule_slide_channel_website +DEL ir.rule: website_slides.rule_slide_slide_website +NEW ir.ui.menu: website_slides.website_slides_menu_config_course_groups +DEL ir.ui.menu: website_slides.website_slides_menu_config_course_tags +NEW ir.ui.view: website_slides.course_card_information +NEW ir.ui.view: website_slides.course_card_information_arrow +NEW ir.ui.view: website_slides.course_promoted_slide +NEW ir.ui.view: website_slides.course_slides_list_sample +NEW ir.ui.view: website_slides.join_course_link +NEW ir.ui.view: website_slides.lesson_content_quiz_add_buttons +NEW ir.ui.view: website_slides.lesson_content_quiz_question +NEW ir.ui.view: website_slides.mail_notification_channel_invite (noupdate) +NEW ir.ui.view: website_slides.slide_share_link +NEW ir.ui.view: website_slides.slide_share_modal +NEW ir.ui.view: website_slides.slide_share_modal_body +NEW ir.ui.view: website_slides.slide_share_modal_header +NEW ir.ui.view: website_slides.slide_share_social +NEW ir.ui.view: website_slides.website_slides_tests +DEL ir.ui.view: website_slides.slide_social_media +DEL ir.ui.view: website_slides.slides_share +NEW mail.activity.type: website_slides.mail_activity_data_access_request (noupdate) +NEW res.groups: website_slides.group_website_slides_manager +NEW res.groups: website_slides.group_website_slides_officer +NEW slide.channel.tag: website_slides.slide_channel_tag_level_advanced (noupdate) +NEW slide.channel.tag: website_slides.slide_channel_tag_level_basic (noupdate) +NEW slide.channel.tag: website_slides.slide_channel_tag_level_intermediate (noupdate) +NEW slide.channel.tag.group: website_slides.slide_channel_tag_group_level (noupdate) +# NOTHING TO DO \ No newline at end of file From 94988fcf57e2d7adabbc2994c1ba04dc3487520a Mon Sep 17 00:00:00 2001 From: hoangdinhhieu Date: Thu, 17 Mar 2022 09:48:01 +0700 Subject: [PATCH 062/403] [FIX]rating: fix update rating value --- openupgrade_scripts/scripts/rating/14.0.1.0/pre-migration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openupgrade_scripts/scripts/rating/14.0.1.0/pre-migration.py b/openupgrade_scripts/scripts/rating/14.0.1.0/pre-migration.py index e8b4566f7afa..918ed616606d 100644 --- a/openupgrade_scripts/scripts/rating/14.0.1.0/pre-migration.py +++ b/openupgrade_scripts/scripts/rating/14.0.1.0/pre-migration.py @@ -10,7 +10,7 @@ def update_rating_value(env): env.cr, """ UPDATE rating_rating - SET rating = round(rating / 2) + SET rating = round(rating / 2.0) WHERE rating IS NOT NULL""", ) From c3cd5a176e681442ae0610b06069c9adec5cb3bc Mon Sep 17 00:00:00 2001 From: hoangtiendung Date: Tue, 15 Mar 2022 18:17:09 +0700 Subject: [PATCH 063/403] [FIX]calendar: fix duplicated events Steps: 1. Create a recurrency event, on 03/16/2022 (wednesday), - Weekly repeating on monday, wednesday, friday 2. Run migration script Current: Create new events on 03/14/2022 (monday) and on 03/16/2022 (wednesday) Expected: No event is created --- .../calendar/14.0.1.0/post-migration.py | 39 ++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/openupgrade_scripts/scripts/calendar/14.0.1.0/post-migration.py b/openupgrade_scripts/scripts/calendar/14.0.1.0/post-migration.py index 6a4166d49c61..7ed20f12936e 100644 --- a/openupgrade_scripts/scripts/calendar/14.0.1.0/post-migration.py +++ b/openupgrade_scripts/scripts/calendar/14.0.1.0/post-migration.py @@ -73,7 +73,44 @@ def create_recurrent_events(env): But we do not create an activity on the real records. """ recs = env["calendar.recurrence"].search([("base_event_id", "!=", False)]) - recs.with_context(default_activity_ids=[(6, 0, [])])._apply_recurrence() + env.cr.execute( + """ + SELECT id, recurrent_id, recurrent_id_date + FROM calendar_event + WHERE recurrent_id > 0 + """ + ) + result = env.cr.fetchall() + + for recurrence in recs: + duration = recurrence.base_event_id.stop - recurrence.base_event_id.start + ranges = set(recurrence._get_ranges(recurrence.base_event_id.start, duration)) + # Remove range that contains start < event's start to avoid create past events + for range in list(ranges): + if range[0] <= recurrence.base_event_id.start: + ranges.remove(range) + else: + break + # Remove range that contains detach events + for event_id, recurrent_id, recurrent_id_date in result: + if recurrence.base_event_id.id == recurrent_id: + result.remove((event_id, recurrent_id, recurrent_id_date)) + if (recurrent_id_date, recurrent_id_date + duration) in ranges: + ranges.remove((recurrent_id_date, recurrent_id_date + duration)) + + values = {} + for start, stop in ranges: + values[(recurrence.id, start, stop)] = dict( + start=start, + stop=stop, + recurrence_id=recurrence.id, + ) + if values: + recurrence.with_context( + default_activity_ids=[(6, 0, [])] + )._apply_recurrence( + specific_values_creation=values, + ) @openupgrade.migrate() From e9a8f49a71ae4d527dc400a60af7f1d84d968801 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miquel=20Ra=C3=AFch?= Date: Fri, 25 Mar 2022 17:42:42 +0100 Subject: [PATCH 064/403] [IMP] account: speed up some queries --- .../scripts/account/14.0.1.1/post-migration.py | 2 ++ .../scripts/account/14.0.1.1/pre-migration.py | 10 ++++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/openupgrade_scripts/scripts/account/14.0.1.1/post-migration.py b/openupgrade_scripts/scripts/account/14.0.1.1/post-migration.py index 62c029b007b6..01fc887280de 100644 --- a/openupgrade_scripts/scripts/account/14.0.1.1/post-migration.py +++ b/openupgrade_scripts/scripts/account/14.0.1.1/post-migration.py @@ -92,6 +92,7 @@ def fill_payment_id_and_statement_line_id_fields(env): SET payment_id = am.payment_id FROM account_move am WHERE am.id = aml.move_id AND am.payment_id IS NOT NULL + AND aml.payment_id IS NULL """, ) openupgrade.logged_query( @@ -101,6 +102,7 @@ def fill_payment_id_and_statement_line_id_fields(env): SET statement_line_id = am.statement_line_id FROM account_move am WHERE am.id = aml.move_id AND am.statement_line_id IS NOT NULL + AND aml.statement_line_id IS NULL """, ) diff --git a/openupgrade_scripts/scripts/account/14.0.1.1/pre-migration.py b/openupgrade_scripts/scripts/account/14.0.1.1/pre-migration.py index d8e391bc4b25..f3eb73617025 100644 --- a/openupgrade_scripts/scripts/account/14.0.1.1/pre-migration.py +++ b/openupgrade_scripts/scripts/account/14.0.1.1/pre-migration.py @@ -209,6 +209,7 @@ def add_move_id_field_account_bank_statement_line(env): SET statement_line_id = aml.statement_line_id FROM account_move_line aml WHERE aml.move_id = am.id AND aml.statement_line_id IS NOT NULL + AND am.statement_line_id IS NULL """, ) # 1. set move_id from moves where statement_line_id is defined @@ -218,7 +219,7 @@ def add_move_id_field_account_bank_statement_line(env): UPDATE account_bank_statement_line absl SET move_id = am.id FROM account_move am - WHERE am.statement_line_id = absl.id + WHERE am.statement_line_id = absl.id AND absl.move_id IS NULL """, ) # 2. try to match on statement move_name or payment_ref (if move_name empty) @@ -246,7 +247,7 @@ def add_move_id_field_account_bank_statement_line(env): account_bank_statement bs WHERE absl.statement_id = bs.id AND aj.company_id = bs.company_id AND absl.move_id IS NULL AND absl.payment_ref NOT IN ('', '/') - AND absl.payment_ref = ap.communication + AND absl.payment_ref = ap.communication AND ap.move_id IS NOT NULL """, ) # 4. match on statement account number and move ref @@ -306,6 +307,7 @@ def add_move_id_field_account_payment(env): SET payment_id = aml.payment_id FROM account_move_line aml WHERE aml.move_id = am.id AND aml.payment_id IS NOT NULL + AND am.payment_id IS NULL """, ) # 1. set move_id from moves where payment_id is defined @@ -315,7 +317,7 @@ def add_move_id_field_account_payment(env): UPDATE account_payment ap SET move_id = am.id FROM account_move am - WHERE am.payment_id = ap.id""", + WHERE am.payment_id = ap.id AND ap.move_id IS NULL""", ) # 2. try to match on payment move_name or payment_reference (if move_name empty) openupgrade.logged_query( @@ -349,7 +351,7 @@ def add_move_id_field_account_payment(env): UPDATE account_move am SET payment_id = ap.id FROM account_payment ap - WHERE am.id = ap.move_id + WHERE am.id = ap.move_id AND am.payment_id IS NULL """, ) From 5d56e552a439b05f0be1af9df275274f7c2053f7 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Sun, 27 Mar 2022 00:11:20 +0100 Subject: [PATCH 065/403] [OU-ADD] l10n_pt: Nothing to do Even no upgrade analysis file. TT33391 --- docsource/modules130-140.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 22874d3a0975..2c4a1bacf280 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -378,7 +378,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |l10n_pl | | +--------------------------------------------+-------------------------------------------------+ -|l10n_pt | | +|l10n_pt | Nothing to do | +--------------------------------------------+-------------------------------------------------+ |l10n_ro | | +--------------------------------------------+-------------------------------------------------+ From 9b1e777ba74d0f71e10279bbea578f2c3f732dd3 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Sun, 27 Mar 2022 00:20:14 +0100 Subject: [PATCH 066/403] [OU-ADD] hr_timesheet_attendance: Nothing to do TT30276 --- docsource/modules130-140.rst | 2 +- .../14.0.1.0/upgrade_analysis_work.txt | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/hr_timesheet_attendance/14.0.1.0/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 2c4a1bacf280..ccb636b8a65e 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -192,7 +192,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |hr_timesheet | Done | +--------------------------------------------+-------------------------------------------------+ -|hr_timesheet_attendance | | +|hr_timesheet_attendance | Nothing to do | +--------------------------------------------+-------------------------------------------------+ |hr_work_entry | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/hr_timesheet_attendance/14.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/hr_timesheet_attendance/14.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..9468578f136c --- /dev/null +++ b/openupgrade_scripts/scripts/hr_timesheet_attendance/14.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,5 @@ +---Models in module 'hr_timesheet_attendance'--- +---Fields in module 'hr_timesheet_attendance'--- +---XML records in module 'hr_timesheet_attendance'--- +---nothing has changed in this module-- +# NOTHING TO DO From 70a95e48031d38b233c572de999556c66be7b5cf Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 26 Mar 2022 23:22:48 +0000 Subject: [PATCH 067/403] [UPD] HTML documentation --- docs/modules100-110.html | 8 ++++---- docs/modules110-120.html | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/modules100-110.html b/docs/modules100-110.html index 7fc56ef5c608..d0c1272e7780 100644 --- a/docs/modules100-110.html +++ b/docs/modules100-110.html @@ -259,7 +259,7 @@

Module coverage 10.0 -> 11.0

hr_maintenance

- +

Nothing to do

new hr_org_chart

@@ -496,7 +496,7 @@

Module coverage 10.0 -> 11.0

l10n_pt

- +

Done

l10n_ro

@@ -544,7 +544,7 @@

Module coverage 10.0 -> 11.0

maintenance

- +

Nothing to do

del marketing_campaign

@@ -568,7 +568,7 @@

Module coverage 10.0 -> 11.0

mrp_byproduct

- +

Nothing to do

mrp_repair

Done

diff --git a/docs/modules110-120.html b/docs/modules110-120.html index 49730148a4f7..ff7c2af06303 100644 --- a/docs/modules110-120.html +++ b/docs/modules110-120.html @@ -523,7 +523,7 @@

Module coverage 11.0 -> 12.0

l10n_pt

- +

Done

l10n_ro

From 5fa4e163dd49d63a52545de25ad31ef8c8ee65f3 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 26 Mar 2022 23:24:02 +0000 Subject: [PATCH 068/403] [UPD] HTML documentation --- docs/modules130-140.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules130-140.html b/docs/modules130-140.html index 12229075f17b..b1e58da71df5 100644 --- a/docs/modules130-140.html +++ b/docs/modules130-140.html @@ -617,7 +617,7 @@

Module coverage 13.0 -> 14.0

l10n_pt

- +

Nothing to do

l10n_ro

From 93d33429a1fec7611535cdfe01f53a59e8ca4f60 Mon Sep 17 00:00:00 2001 From: mreficent Date: Mon, 12 Jul 2021 11:13:05 +0200 Subject: [PATCH 069/403] [OU-ADD] maintenance: Migration scripts TT33394 --- docsource/modules130-140.rst | 2 +- .../maintenance/14.0.1.0/noupdate_changes.xml | 5 +++-- .../maintenance/14.0.1.0/post-migration.py | 8 +++++++ .../maintenance/14.0.1.0/pre-migration.py | 22 +++++++++++++++++++ .../14.0.1.0/upgrade_analysis_work.txt | 12 ++++++++++ 5 files changed, 46 insertions(+), 3 deletions(-) create mode 100644 openupgrade_scripts/scripts/maintenance/14.0.1.0/post-migration.py create mode 100644 openupgrade_scripts/scripts/maintenance/14.0.1.0/pre-migration.py create mode 100644 openupgrade_scripts/scripts/maintenance/14.0.1.0/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 2c4a1bacf280..1394869199e0 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -430,7 +430,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ | |new| mail_client_extension | | +--------------------------------------------+-------------------------------------------------+ -|maintenance | | +|maintenance | Done | +--------------------------------------------+-------------------------------------------------+ |mass_mailing | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/maintenance/14.0.1.0/noupdate_changes.xml b/openupgrade_scripts/scripts/maintenance/14.0.1.0/noupdate_changes.xml index d14809ce6655..9932d31dba60 100644 --- a/openupgrade_scripts/scripts/maintenance/14.0.1.0/noupdate_changes.xml +++ b/openupgrade_scripts/scripts/maintenance/14.0.1.0/noupdate_changes.xml @@ -1,6 +1,7 @@ - + + diff --git a/openupgrade_scripts/scripts/maintenance/14.0.1.0/post-migration.py b/openupgrade_scripts/scripts/maintenance/14.0.1.0/post-migration.py new file mode 100644 index 000000000000..fd1b13314f35 --- /dev/null +++ b/openupgrade_scripts/scripts/maintenance/14.0.1.0/post-migration.py @@ -0,0 +1,8 @@ +# Copyright 2021 ForgeFlow S.L. +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.load_data(env.cr, "maintenance", "14.0.1.0/noupdate_changes.xml") diff --git a/openupgrade_scripts/scripts/maintenance/14.0.1.0/pre-migration.py b/openupgrade_scripts/scripts/maintenance/14.0.1.0/pre-migration.py new file mode 100644 index 000000000000..459cff499d33 --- /dev/null +++ b/openupgrade_scripts/scripts/maintenance/14.0.1.0/pre-migration.py @@ -0,0 +1,22 @@ +# Copyright 2021 ForgeFlow S.L. +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.set_xml_ids_noupdate_value( + env, + "maintenance", + [ + "equipment_request_rule_admin_user", + "equipment_request_rule_user", + "equipment_rule_admin_user", + "equipment_rule_user", + "maintenance_equipment_category_comp_rule", + "maintenance_equipment_comp_rule", + "maintenance_request_comp_rule", + "maintenance_team_comp_rule", + ], + True, + ) diff --git a/openupgrade_scripts/scripts/maintenance/14.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/maintenance/14.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..9585d88db08d --- /dev/null +++ b/openupgrade_scripts/scripts/maintenance/14.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,12 @@ +---Models in module 'maintenance'--- +---Fields in module 'maintenance'--- +---XML records in module 'maintenance'--- +ir.rule: maintenance.equipment_request_rule_admin_user (noupdate) (noupdate switched) +ir.rule: maintenance.equipment_request_rule_user (noupdate) (noupdate switched) +ir.rule: maintenance.equipment_rule_admin_user (noupdate) (noupdate switched) +ir.rule: maintenance.equipment_rule_user (noupdate) (noupdate switched) +ir.rule: maintenance.maintenance_equipment_category_comp_rule (noupdate) (noupdate switched) +ir.rule: maintenance.maintenance_equipment_comp_rule (noupdate) (noupdate switched) +ir.rule: maintenance.maintenance_request_comp_rule (noupdate) (noupdate switched) +ir.rule: maintenance.maintenance_team_comp_rule (noupdate) (noupdate switched) +# DONE: pre-migration: switched noupdate From 1d5b1f514302f7732ffc3eaee669a29db9707a4e Mon Sep 17 00:00:00 2001 From: Chankya Soni Date: Fri, 9 Jul 2021 15:22:32 +0530 Subject: [PATCH 070/403] [OU-ADD] fleet: Migration scripts --- docsource/modules130-140.rst | 2 +- .../fleet/14.0.0.1/noupdate_changes.xml | 2 +- .../14.0.0.1/openupgrade_analysis_work.txt | 125 ++++++++++++++++++ .../scripts/fleet/14.0.0.1/post-migration.py | 54 ++++++++ 4 files changed, 181 insertions(+), 2 deletions(-) create mode 100644 openupgrade_scripts/scripts/fleet/14.0.0.1/openupgrade_analysis_work.txt create mode 100644 openupgrade_scripts/scripts/fleet/14.0.0.1/post-migration.py diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index ccb636b8a65e..5c97509225d1 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -136,7 +136,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |fetchmail_gmail | Nothing to do | +--------------------------------------------+-------------------------------------------------+ -|fleet | | +|fleet | Done | +--------------------------------------------+-------------------------------------------------+ |gamification | Done | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/fleet/14.0.0.1/noupdate_changes.xml b/openupgrade_scripts/scripts/fleet/14.0.0.1/noupdate_changes.xml index b6519ddcb906..dddab20ea0fc 100644 --- a/openupgrade_scripts/scripts/fleet/14.0.0.1/noupdate_changes.xml +++ b/openupgrade_scripts/scripts/fleet/14.0.0.1/noupdate_changes.xml @@ -10,6 +10,6 @@ 4 - + diff --git a/openupgrade_scripts/scripts/fleet/14.0.0.1/openupgrade_analysis_work.txt b/openupgrade_scripts/scripts/fleet/14.0.0.1/openupgrade_analysis_work.txt new file mode 100644 index 000000000000..e3a56fd48926 --- /dev/null +++ b/openupgrade_scripts/scripts/fleet/14.0.0.1/openupgrade_analysis_work.txt @@ -0,0 +1,125 @@ +---Models in module 'fleet'--- +obsolete model fleet.vehicle.cost +obsolete model fleet.vehicle.log.fuel +new model fleet.vehicle.cost.report [sql_view] +---Fields in module 'fleet'--- +fleet / fleet.vehicle / description (text) : NEW +fleet / fleet.vehicle / log_fuel (one2many) : DEL relation: fleet.vehicle.log.fuel +fleet / fleet.vehicle / manager_id (many2one) : is now stored +fleet / fleet.vehicle / manager_id (many2one) : not related anymore +fleet / fleet.vehicle / manager_id (many2one) : now a function +fleet / fleet.vehicle.cost / amount (float) : DEL +fleet / fleet.vehicle.cost / auto_generated (boolean) : DEL +fleet / fleet.vehicle.cost / company_id (many2one) : DEL relation: res.company +fleet / fleet.vehicle.cost / contract_id (many2one) : DEL relation: fleet.vehicle.log.contract +fleet / fleet.vehicle.cost / cost_ids (one2many) : DEL relation: fleet.vehicle.cost +fleet / fleet.vehicle.cost / cost_subtype_id (many2one) : DEL relation: fleet.service.type +fleet / fleet.vehicle.cost / cost_type (selection) : DEL required, selection_keys: ['contract', 'fuel', 'other', 'services'], req_default: function +fleet / fleet.vehicle.cost / date (date) : DEL +fleet / fleet.vehicle.cost / description (char) : DEL +fleet / fleet.vehicle.cost / name (char) : DEL +fleet / fleet.vehicle.cost / odometer_id (many2one) : DEL relation: fleet.vehicle.odometer +fleet / fleet.vehicle.cost / parent_id (many2one) : DEL relation: fleet.vehicle.cost +fleet / fleet.vehicle.cost / vehicle_id (many2one) : DEL relation: fleet.vehicle, required +fleet / fleet.vehicle.log.contract / _inherits : DEL _inherits: {'fleet.vehicle.cost': 'cost_id'} +fleet / fleet.vehicle.log.contract / amount (float) : is now stored +fleet / fleet.vehicle.log.contract / amount (float) : not related anymore +fleet / fleet.vehicle.log.contract / company_id (many2one) : is now stored +fleet / fleet.vehicle.log.contract / company_id (many2one) : not related anymore +fleet / fleet.vehicle.log.contract / cost_amount (float) : DEL +fleet / fleet.vehicle.log.contract / cost_id (many2one) : DEL relation: fleet.vehicle.cost, required +fleet / fleet.vehicle.log.contract / cost_subtype_id (many2one) : is now stored +fleet / fleet.vehicle.log.contract / cost_subtype_id (many2one) : not related anymore +fleet / fleet.vehicle.log.contract / date (date) : is now stored +fleet / fleet.vehicle.log.contract / date (date) : not related anymore +fleet / fleet.vehicle.log.contract / generated_cost_ids (one2many) : DEL relation: fleet.vehicle.cost +fleet / fleet.vehicle.log.contract / name (text) : type is now 'char' ('text') +fleet / fleet.vehicle.log.contract / odometer (float) : DEL +fleet / fleet.vehicle.log.contract / purchaser_id (many2one) : not stored anymore +fleet / fleet.vehicle.log.contract / purchaser_id (many2one) : now related +fleet / fleet.vehicle.log.contract / service_ids (many2many) : NEW relation: fleet.service.type +fleet / fleet.vehicle.log.contract / state (selection) : selection_keys is now '['closed', 'expired', 'futur', 'open']' ('['closed', 'diesoon', 'expired', 'futur', 'open']') +fleet / fleet.vehicle.log.contract / vehicle_id (many2one) : is now stored +fleet / fleet.vehicle.log.contract / vehicle_id (many2one) : not related anymore +fleet / fleet.vehicle.log.fuel / _inherits : DEL _inherits: {'fleet.vehicle.cost': 'cost_id'} +fleet / fleet.vehicle.log.fuel / cost_amount (float) : DEL +fleet / fleet.vehicle.log.fuel / cost_id (many2one) : DEL relation: fleet.vehicle.cost, required +fleet / fleet.vehicle.log.fuel / inv_ref (char) : DEL +fleet / fleet.vehicle.log.fuel / liter (float) : DEL +fleet / fleet.vehicle.log.fuel / notes (text) : DEL +fleet / fleet.vehicle.log.fuel / price_per_liter (float) : DEL +fleet / fleet.vehicle.log.fuel / purchaser_id (many2one) : DEL relation: res.partner +fleet / fleet.vehicle.log.fuel / vendor_id (many2one) : DEL relation: res.partner +fleet / fleet.vehicle.log.services / _inherits : DEL _inherits: {'fleet.vehicle.cost': 'cost_id'} +fleet / fleet.vehicle.log.services / active (boolean) : NEW hasdefault +fleet / fleet.vehicle.log.services / activity_ids (one2many) : NEW relation: mail.activity +fleet / fleet.vehicle.log.services / amount (float) : is now stored +fleet / fleet.vehicle.log.services / amount (float) : not related anymore +fleet / fleet.vehicle.log.services / company_id (many2one) : is now stored +fleet / fleet.vehicle.log.services / company_id (many2one) : not related anymore +fleet / fleet.vehicle.log.services / cost_amount (float) : DEL +fleet / fleet.vehicle.log.services / cost_id (many2one) : DEL relation: fleet.vehicle.cost, required +fleet / fleet.vehicle.log.services / date (date) : is now stored +fleet / fleet.vehicle.log.services / date (date) : not related anymore +fleet / fleet.vehicle.log.services / description (char) : is now stored +fleet / fleet.vehicle.log.services / description (char) : not related anymore +fleet / fleet.vehicle.log.services / message_follower_ids (one2many): NEW relation: mail.followers +fleet / fleet.vehicle.log.services / message_ids (one2many) : NEW relation: mail.message +fleet / fleet.vehicle.log.services / message_main_attachment_id (many2one): NEW relation: ir.attachment +fleet / fleet.vehicle.log.services / odometer (float) : not related anymore +fleet / fleet.vehicle.log.services / odometer (float) : now a function +fleet / fleet.vehicle.log.services / odometer_id (many2one) : is now stored +fleet / fleet.vehicle.log.services / odometer_id (many2one) : not related anymore +fleet / fleet.vehicle.log.services / purchaser_id (many2one) : now a function +fleet / fleet.vehicle.log.services / service_type_id (many2one) : NEW relation: fleet.service.type, required, req_default: function, hasdefault +fleet / fleet.vehicle.log.services / state (selection) : NEW selection_keys: ['cancelled', 'done', 'running', 'todo'], hasdefault +fleet / fleet.vehicle.log.services / vehicle_id (many2one) : is now stored +fleet / fleet.vehicle.log.services / vehicle_id (many2one) : not related anymore +fleet / fleet.vehicle.model / active (boolean) : NEW hasdefault +fleet / fleet.vehicle.model / vehicle_type (selection) : NEW required, selection_keys: ['bike', 'car'], req_default: function, hasdefault +fleet / fleet.vehicle.model.brand / _order : _order is now 'model_count desc, name asc' ('name asc') +fleet / fleet.vehicle.model.brand / model_count (integer) : NEW isfunction: function, stored +fleet / fleet.vehicle.model.brand / model_ids (one2many) : NEW relation: fleet.vehicle.model +---XML records in module 'fleet'--- +NEW fleet.vehicle.state: fleet.fleet_vehicle_state_downgraded (noupdate) +NEW fleet.vehicle.state: fleet.fleet_vehicle_state_registered (noupdate) +NEW fleet.vehicle.state: fleet.fleet_vehicle_state_to_order (noupdate) +ir.actions.act_window: fleet.fleet_vehicle_service_types_action (deleted domain) +DEL ir.actions.act_window: fleet.act_renew_contract +DEL ir.actions.act_window: fleet.fleet_costs_reporting_non_effective_action +DEL ir.actions.act_window: fleet.fleet_vehicle_contract_types_action +DEL ir.actions.act_window: fleet.fleet_vehicle_costs_action +DEL ir.actions.act_window: fleet.fleet_vehicle_log_fuel_action +DEL ir.actions.act_window.view: fleet.fleet_reporting_graph_action +DEL ir.actions.act_window.view: fleet.fleet_reporting_pivot_action +DEL ir.actions.act_window.view: fleet.view_fleet_non_effective_graph_action +DEL ir.actions.act_window.view: fleet.view_fleet_non_effective_pivot_action +NEW ir.model.access: fleet.access_fleet_report_manager +DEL ir.model.access: fleet.access_fleet_vehicle_cost +DEL ir.model.access: fleet.access_fleet_vehicle_cost_user +DEL ir.model.access: fleet.fleet_vehicle_log_fuel_access_right +DEL ir.rule: fleet.fleet_rule_cost_visibility_manager (noupdate) +DEL ir.rule: fleet.fleet_rule_cost_visibility_user (noupdate) +DEL ir.rule: fleet.fleet_rule_fuel_log_visibility_manager (noupdate) +DEL ir.rule: fleet.fleet_rule_fuel_log_visibility_user (noupdate) +DEL ir.ui.menu: fleet.fleet_vehicle_contract_types_menu +DEL ir.ui.menu: fleet.fleet_vehicle_costs_menu +DEL ir.ui.menu: fleet.fleet_vehicle_log_fuel_menu +DEL ir.ui.menu: fleet.menu_fleet_reporting_indicative_costs +NEW ir.ui.view: fleet.fleet_costs_report_view_graph +NEW ir.ui.view: fleet.fleet_costs_report_view_pivot +NEW ir.ui.view: fleet.fleet_costs_report_view_search +DEL ir.ui.view: fleet.fleet_vehicle_cost_indicative_view_graph +DEL ir.ui.view: fleet.fleet_vehicle_cost_indicative_view_pivot +DEL ir.ui.view: fleet.fleet_vehicle_cost_view_graph +DEL ir.ui.view: fleet.fleet_vehicle_cost_view_kanban +DEL ir.ui.view: fleet.fleet_vehicle_cost_view_pivot +DEL ir.ui.view: fleet.fleet_vehicle_cost_view_tree +DEL ir.ui.view: fleet.fleet_vehicle_costs_view_form +DEL ir.ui.view: fleet.fleet_vehicle_costs_view_graph +DEL ir.ui.view: fleet.fleet_vehicle_costs_view_search +DEL ir.ui.view: fleet.fleet_vehicle_log_fuel_view_form +DEL ir.ui.view: fleet.fleet_vehicle_log_fuel_view_graph +DEL ir.ui.view: fleet.fleet_vehicle_log_fuel_view_kanban +DEL ir.ui.view: fleet.fleet_vehicle_log_fuel_view_search +DEL ir.ui.view: fleet.fleet_vehicle_log_fuel_view_tree diff --git a/openupgrade_scripts/scripts/fleet/14.0.0.1/post-migration.py b/openupgrade_scripts/scripts/fleet/14.0.0.1/post-migration.py new file mode 100644 index 000000000000..1a7f28b1f2ae --- /dev/null +++ b/openupgrade_scripts/scripts/fleet/14.0.0.1/post-migration.py @@ -0,0 +1,54 @@ +# Copyright (C) 2021 Open Source Integrators +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + # Load noupdate changes + openupgrade.load_data(env.cr, "fleet", "14.0.0.1/noupdate_changes.xml") + + openupgrade.logged_query( + env.cr, + """ + UPDATE + fleet_vehicle_log_contract as fvlc set + vehicle_id = fvc.vehicle_id, + amount = fvc.amount, + cost_subtype_id = fvc.cost_subtype_id, + company_id = fvc.company_id, + date = fvc.date + FROM + fleet_vehicle_cost as fvc + WHERE + fvc.id = fvlc.cost_id + """, + ) + + openupgrade.logged_query( + env.cr, + """ + UPDATE + fleet_vehicle_log_services as fvls set + vehicle_id = fvc.vehicle_id, + amount = fvc.amount, + company_id = fvc.company_id, + odometer_id = fvc.odometer_id, + description = fvc.description, + date = fvc.date + FROM + fleet_vehicle_cost as fvc + WHERE + fvc.id = fvls.cost_id + """, + ) + + openupgrade.logged_query( + env.cr, + """ + DELETE + from ir_model + where id=(select res_id from ir_model_data + where model='ir.model' and name='model_fleet_vehicle_cost' + )""", + ) From 0698ebbfa7ba95f51ba17644fa1ea58e10704c94 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 26 Mar 2022 23:35:09 +0000 Subject: [PATCH 071/403] [UPD] HTML documentation --- docs/modules130-140.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules130-140.html b/docs/modules130-140.html index b1e58da71df5..60ff56baa22a 100644 --- a/docs/modules130-140.html +++ b/docs/modules130-140.html @@ -338,7 +338,7 @@

Module coverage 13.0 -> 14.0

hr_timesheet_attendance

- +

Nothing to do

hr_work_entry

From 30857f63a668df606147920cbd5de4f278f15d65 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 26 Mar 2022 23:42:56 +0000 Subject: [PATCH 072/403] [UPD] HTML documentation --- docs/modules130-140.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules130-140.html b/docs/modules130-140.html index 60ff56baa22a..4cb1f4dc6eca 100644 --- a/docs/modules130-140.html +++ b/docs/modules130-140.html @@ -695,7 +695,7 @@

Module coverage 13.0 -> 14.0

maintenance

- +

Done

mass_mailing

From 7443178200741bd2b94bf453b7654ab6941a8300 Mon Sep 17 00:00:00 2001 From: mreficent Date: Thu, 22 Jul 2021 14:47:31 +0200 Subject: [PATCH 073/403] [OU-ADD] fleet (continuation) - Complete analysis work - Map fleet.vehicle.log.contract.state - Empty fleet.fleet_vehicle_service_types_action domain - Recompute fleet.vehicle.log.contract name - Fill fleet.vehicle.log.contract.service_ids from cost_ids.cost_subtype_id - Set fleet_vehicle_log_services.state to 'done'. Co-Authored-By: Pedro M. Baeza --- .../fleet/14.0.0.1/noupdate_changes.xml | 6 +- .../scripts/fleet/14.0.0.1/post-migration.py | 87 ++++++++++--- .../scripts/fleet/14.0.0.1/pre-migration.py | 11 ++ ...sis_work.txt => upgrade_analysis_work.txt} | 115 ++++++++++++------ 4 files changed, 165 insertions(+), 54 deletions(-) create mode 100644 openupgrade_scripts/scripts/fleet/14.0.0.1/pre-migration.py rename openupgrade_scripts/scripts/fleet/14.0.0.1/{openupgrade_analysis_work.txt => upgrade_analysis_work.txt} (92%) diff --git a/openupgrade_scripts/scripts/fleet/14.0.0.1/noupdate_changes.xml b/openupgrade_scripts/scripts/fleet/14.0.0.1/noupdate_changes.xml index dddab20ea0fc..f2ab7f421838 100644 --- a/openupgrade_scripts/scripts/fleet/14.0.0.1/noupdate_changes.xml +++ b/openupgrade_scripts/scripts/fleet/14.0.0.1/noupdate_changes.xml @@ -9,7 +9,7 @@ 4 - - - + diff --git a/openupgrade_scripts/scripts/fleet/14.0.0.1/post-migration.py b/openupgrade_scripts/scripts/fleet/14.0.0.1/post-migration.py index 1a7f28b1f2ae..e49c3e0a72c3 100644 --- a/openupgrade_scripts/scripts/fleet/14.0.0.1/post-migration.py +++ b/openupgrade_scripts/scripts/fleet/14.0.0.1/post-migration.py @@ -1,18 +1,16 @@ -# Copyright (C) 2021 Open Source Integrators +# Copyright (C) 2021 Open Source Integrators +# Copyright 2021 ForgeFlow S.L. # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). from openupgradelib import openupgrade -@openupgrade.migrate() -def migrate(env, version): - # Load noupdate changes - openupgrade.load_data(env.cr, "fleet", "14.0.0.1/noupdate_changes.xml") - +def fill_fleet_vehicle_log_contract_fields(env): openupgrade.logged_query( env.cr, """ UPDATE - fleet_vehicle_log_contract as fvlc set + fleet_vehicle_log_contract as fvlc + SET vehicle_id = fvc.vehicle_id, amount = fvc.amount, cost_subtype_id = fvc.cost_subtype_id, @@ -25,17 +23,21 @@ def migrate(env, version): """, ) + +def fill_fleet_vehicle_log_services_fields(env): openupgrade.logged_query( env.cr, """ UPDATE - fleet_vehicle_log_services as fvls set + fleet_vehicle_log_services as fvls + SET vehicle_id = fvc.vehicle_id, amount = fvc.amount, company_id = fvc.company_id, odometer_id = fvc.odometer_id, description = fvc.description, - date = fvc.date + date = fvc.date, + service_type_id = fvc.cost_subtype_id FROM fleet_vehicle_cost as fvc WHERE @@ -43,12 +45,69 @@ def migrate(env, version): """, ) + +def fill_fleet_vehicle_log_contract_service_ids(env): openupgrade.logged_query( env.cr, """ - DELETE - from ir_model - where id=(select res_id from ir_model_data - where model='ir.model' and name='model_fleet_vehicle_cost' - )""", + INSERT INTO fleet_service_type_fleet_vehicle_log_contract_rel + (fleet_vehicle_log_contract_id, fleet_service_type_id) + SELECT fvlc.id, fvc.cost_subtype_id + FROM fleet_vehicle_log_contract fvlc + JOIN fleet_vehicle_cost fvc ON fvc.contract_id = fvlc.id + """, + ) + + +def set_fleet_vehicle_log_services_state(env): + """Set all records to 'done', as it was the supposed option in v13 and the ORM + default 'todo' is not suitable. + """ + openupgrade.logged_query( + env.cr, "UPDATE fleet_vehicle_log_services SET state = 'done'" + ) + + +def map_fleet_vehicle_log_contract_state(env): + openupgrade.map_values( + env.cr, + openupgrade.get_legacy_name("state"), + "state", + [("diesoon", "open")], + table="fleet_vehicle_log_contract", + ) + + +def delete_domain_from_view(env): + view = env.ref("fleet.fleet_vehicle_service_types_action") + view.domain = False + + +def recompute_fleet_vehicle_log_contract_name(env): + contracts = ( + env["fleet.vehicle.log.contract"].with_context(active_test=False).search([]) + ) + contracts._compute_contract_name() + + +@openupgrade.migrate() +def migrate(env, version): + fill_fleet_vehicle_log_contract_fields(env) + fill_fleet_vehicle_log_services_fields(env) + fill_fleet_vehicle_log_contract_service_ids(env) + set_fleet_vehicle_log_services_state(env) + map_fleet_vehicle_log_contract_state(env) + delete_domain_from_view(env) + openupgrade.load_data(env.cr, "fleet", "14.0.0.1/noupdate_changes.xml") + openupgrade.delete_records_safely_by_xml_id( + env, + [ + "fleet.fleet_rule_cost_visibility_manager", + "fleet.fleet_rule_cost_visibility_user", + "fleet.fleet_rule_fuel_log_visibility_manager", + "fleet.fleet_rule_fuel_log_visibility_user", + "fleet.ir_rule_fleet_cost", + "fleet.ir_rule_fleet_log_fuel", + ], ) + recompute_fleet_vehicle_log_contract_name(env) diff --git a/openupgrade_scripts/scripts/fleet/14.0.0.1/pre-migration.py b/openupgrade_scripts/scripts/fleet/14.0.0.1/pre-migration.py new file mode 100644 index 000000000000..2693c805aa45 --- /dev/null +++ b/openupgrade_scripts/scripts/fleet/14.0.0.1/pre-migration.py @@ -0,0 +1,11 @@ +# Copyright 2021 ForgeFlow S.L. +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.copy_columns( + env.cr, + {"fleet_vehicle_log_contract": [("state", None, None), ("name", None, None)]}, + ) diff --git a/openupgrade_scripts/scripts/fleet/14.0.0.1/openupgrade_analysis_work.txt b/openupgrade_scripts/scripts/fleet/14.0.0.1/upgrade_analysis_work.txt similarity index 92% rename from openupgrade_scripts/scripts/fleet/14.0.0.1/openupgrade_analysis_work.txt rename to openupgrade_scripts/scripts/fleet/14.0.0.1/upgrade_analysis_work.txt index e3a56fd48926..1af3ead87bf9 100644 --- a/openupgrade_scripts/scripts/fleet/14.0.0.1/openupgrade_analysis_work.txt +++ b/openupgrade_scripts/scripts/fleet/14.0.0.1/upgrade_analysis_work.txt @@ -1,46 +1,77 @@ ---Models in module 'fleet'--- -obsolete model fleet.vehicle.cost -obsolete model fleet.vehicle.log.fuel new model fleet.vehicle.cost.report [sql_view] +# NOTHING TO DO + ---Fields in module 'fleet'--- fleet / fleet.vehicle / description (text) : NEW fleet / fleet.vehicle / log_fuel (one2many) : DEL relation: fleet.vehicle.log.fuel +# NOTHING TO DO + fleet / fleet.vehicle / manager_id (many2one) : is now stored fleet / fleet.vehicle / manager_id (many2one) : not related anymore fleet / fleet.vehicle / manager_id (many2one) : now a function -fleet / fleet.vehicle.cost / amount (float) : DEL -fleet / fleet.vehicle.cost / auto_generated (boolean) : DEL -fleet / fleet.vehicle.cost / company_id (many2one) : DEL relation: res.company -fleet / fleet.vehicle.cost / contract_id (many2one) : DEL relation: fleet.vehicle.log.contract -fleet / fleet.vehicle.cost / cost_ids (one2many) : DEL relation: fleet.vehicle.cost -fleet / fleet.vehicle.cost / cost_subtype_id (many2one) : DEL relation: fleet.service.type -fleet / fleet.vehicle.cost / cost_type (selection) : DEL required, selection_keys: ['contract', 'fuel', 'other', 'services'], req_default: function -fleet / fleet.vehicle.cost / date (date) : DEL -fleet / fleet.vehicle.cost / description (char) : DEL -fleet / fleet.vehicle.cost / name (char) : DEL -fleet / fleet.vehicle.cost / odometer_id (many2one) : DEL relation: fleet.vehicle.odometer -fleet / fleet.vehicle.cost / parent_id (many2one) : DEL relation: fleet.vehicle.cost -fleet / fleet.vehicle.cost / vehicle_id (many2one) : DEL relation: fleet.vehicle, required +# NOTHING TO DO: computed in load + +obsolete model fleet.vehicle.cost fleet / fleet.vehicle.log.contract / _inherits : DEL _inherits: {'fleet.vehicle.cost': 'cost_id'} +fleet / fleet.vehicle.log.contract / cost_id (many2one) : DEL relation: fleet.vehicle.cost, required +fleet / fleet.vehicle.log.services / _inherits : DEL _inherits: {'fleet.vehicle.cost': 'cost_id'} +fleet / fleet.vehicle.log.services / cost_id (many2one) : DEL relation: fleet.vehicle.cost, required +fleet / fleet.vehicle.cost / amount (float) : DEL fleet / fleet.vehicle.log.contract / amount (float) : is now stored fleet / fleet.vehicle.log.contract / amount (float) : not related anymore +fleet / fleet.vehicle.log.services / amount (float) : is now stored +fleet / fleet.vehicle.log.services / amount (float) : not related anymore +fleet / fleet.vehicle.cost / company_id (many2one) : DEL relation: res.company fleet / fleet.vehicle.log.contract / company_id (many2one) : is now stored fleet / fleet.vehicle.log.contract / company_id (many2one) : not related anymore -fleet / fleet.vehicle.log.contract / cost_amount (float) : DEL -fleet / fleet.vehicle.log.contract / cost_id (many2one) : DEL relation: fleet.vehicle.cost, required +fleet / fleet.vehicle.log.services / company_id (many2one) : is now stored +fleet / fleet.vehicle.log.services / company_id (many2one) : not related anymore fleet / fleet.vehicle.log.contract / cost_subtype_id (many2one) : is now stored fleet / fleet.vehicle.log.contract / cost_subtype_id (many2one) : not related anymore +fleet / fleet.vehicle.log.services / service_type_id (many2one) : NEW relation: fleet.service.type, required, req_default: function, hasdefault +fleet / fleet.vehicle.cost / date (date) : DEL fleet / fleet.vehicle.log.contract / date (date) : is now stored fleet / fleet.vehicle.log.contract / date (date) : not related anymore -fleet / fleet.vehicle.log.contract / generated_cost_ids (one2many) : DEL relation: fleet.vehicle.cost +fleet / fleet.vehicle.log.services / date (date) : is now stored +fleet / fleet.vehicle.log.services / date (date) : not related anymore +fleet / fleet.vehicle.cost / description (char) : DEL +fleet / fleet.vehicle.log.services / description (char) : is now stored +fleet / fleet.vehicle.log.services / description (char) : not related anymore +fleet / fleet.vehicle.cost / odometer_id (many2one) : DEL relation: fleet.vehicle.odometer +fleet / fleet.vehicle.log.services / odometer_id (many2one) : is now stored +fleet / fleet.vehicle.log.services / odometer_id (many2one) : not related anymore +fleet / fleet.vehicle.cost / vehicle_id (many2one) : DEL relation: fleet.vehicle, required +fleet / fleet.vehicle.log.contract / vehicle_id (many2one) : is now stored +fleet / fleet.vehicle.log.contract / vehicle_id (many2one) : not related anymore +fleet / fleet.vehicle.log.services / vehicle_id (many2one) : is now stored +fleet / fleet.vehicle.log.services / vehicle_id (many2one) : not related anymore +fleet / fleet.vehicle.cost / auto_generated (boolean) : DEL +fleet / fleet.vehicle.cost / cost_type (selection) : DEL required, selection_keys: ['contract', 'fuel', 'other', 'services'], req_default: function +fleet / fleet.vehicle.cost / name (char) : DEL +fleet / fleet.vehicle.cost / parent_id (many2one) : DEL relation: fleet.vehicle.cost +# DONE: post-migration: filled log contract and log services from vehicle cost + fleet / fleet.vehicle.log.contract / name (text) : type is now 'char' ('text') +# DONE: post-migration: recomputed, because now name is calculated differently + +fleet / fleet.vehicle.log.contract / cost_amount (float) : DEL +fleet / fleet.vehicle.log.contract / generated_cost_ids (one2many) : DEL relation: fleet.vehicle.cost fleet / fleet.vehicle.log.contract / odometer (float) : DEL fleet / fleet.vehicle.log.contract / purchaser_id (many2one) : not stored anymore fleet / fleet.vehicle.log.contract / purchaser_id (many2one) : now related +# NOTHING TO DO + +fleet / fleet.vehicle.cost / cost_ids (one2many) : DEL relation: fleet.vehicle.cost +fleet / fleet.vehicle.cost / contract_id (many2one) : DEL relation: fleet.vehicle.log.contract fleet / fleet.vehicle.log.contract / service_ids (many2many) : NEW relation: fleet.service.type +fleet / fleet.vehicle.cost / cost_subtype_id (many2one) : DEL relation: fleet.service.type +# DONE: post-migration: Fill service_ids from cost_ids.cost_subtype_id + fleet / fleet.vehicle.log.contract / state (selection) : selection_keys is now '['closed', 'expired', 'futur', 'open']' ('['closed', 'diesoon', 'expired', 'futur', 'open']') -fleet / fleet.vehicle.log.contract / vehicle_id (many2one) : is now stored -fleet / fleet.vehicle.log.contract / vehicle_id (many2one) : not related anymore +# DONE: post-migration: mapped 'diesoon' to 'open' + +obsolete model fleet.vehicle.log.fuel fleet / fleet.vehicle.log.fuel / _inherits : DEL _inherits: {'fleet.vehicle.cost': 'cost_id'} fleet / fleet.vehicle.log.fuel / cost_amount (float) : DEL fleet / fleet.vehicle.log.fuel / cost_id (many2one) : DEL relation: fleet.vehicle.cost, required @@ -50,41 +81,44 @@ fleet / fleet.vehicle.log.fuel / notes (text) : DEL fleet / fleet.vehicle.log.fuel / price_per_liter (float) : DEL fleet / fleet.vehicle.log.fuel / purchaser_id (many2one) : DEL relation: res.partner fleet / fleet.vehicle.log.fuel / vendor_id (many2one) : DEL relation: res.partner -fleet / fleet.vehicle.log.services / _inherits : DEL _inherits: {'fleet.vehicle.cost': 'cost_id'} -fleet / fleet.vehicle.log.services / active (boolean) : NEW hasdefault +# NOTHING TO DO: Lost feature + fleet / fleet.vehicle.log.services / activity_ids (one2many) : NEW relation: mail.activity -fleet / fleet.vehicle.log.services / amount (float) : is now stored -fleet / fleet.vehicle.log.services / amount (float) : not related anymore -fleet / fleet.vehicle.log.services / company_id (many2one) : is now stored -fleet / fleet.vehicle.log.services / company_id (many2one) : not related anymore -fleet / fleet.vehicle.log.services / cost_amount (float) : DEL -fleet / fleet.vehicle.log.services / cost_id (many2one) : DEL relation: fleet.vehicle.cost, required -fleet / fleet.vehicle.log.services / date (date) : is now stored -fleet / fleet.vehicle.log.services / date (date) : not related anymore -fleet / fleet.vehicle.log.services / description (char) : is now stored -fleet / fleet.vehicle.log.services / description (char) : not related anymore fleet / fleet.vehicle.log.services / message_follower_ids (one2many): NEW relation: mail.followers fleet / fleet.vehicle.log.services / message_ids (one2many) : NEW relation: mail.message fleet / fleet.vehicle.log.services / message_main_attachment_id (many2one): NEW relation: ir.attachment +# NOTHING TO DO: mail mixins + fleet / fleet.vehicle.log.services / odometer (float) : not related anymore fleet / fleet.vehicle.log.services / odometer (float) : now a function -fleet / fleet.vehicle.log.services / odometer_id (many2one) : is now stored -fleet / fleet.vehicle.log.services / odometer_id (many2one) : not related anymore +# NOTHING TO DO: non stored field + +fleet / fleet.vehicle.log.services / cost_amount (float) : DEL fleet / fleet.vehicle.log.services / purchaser_id (many2one) : now a function -fleet / fleet.vehicle.log.services / service_type_id (many2one) : NEW relation: fleet.service.type, required, req_default: function, hasdefault +# NOTHING TO DO + fleet / fleet.vehicle.log.services / state (selection) : NEW selection_keys: ['cancelled', 'done', 'running', 'todo'], hasdefault -fleet / fleet.vehicle.log.services / vehicle_id (many2one) : is now stored -fleet / fleet.vehicle.log.services / vehicle_id (many2one) : not related anymore +# DONE: post-migration: Set all of them as 'done', as it was the supposed option in v13 and the ORM default 'todo' is not suitable + +fleet / fleet.vehicle.log.services / active (boolean) : NEW hasdefault fleet / fleet.vehicle.model / active (boolean) : NEW hasdefault fleet / fleet.vehicle.model / vehicle_type (selection) : NEW required, selection_keys: ['bike', 'car'], req_default: function, hasdefault +# NOTHING TO DO: Defaults are sane + fleet / fleet.vehicle.model.brand / _order : _order is now 'model_count desc, name asc' ('name asc') fleet / fleet.vehicle.model.brand / model_count (integer) : NEW isfunction: function, stored fleet / fleet.vehicle.model.brand / model_ids (one2many) : NEW relation: fleet.vehicle.model +# NOTHING TO DO + ---XML records in module 'fleet'--- NEW fleet.vehicle.state: fleet.fleet_vehicle_state_downgraded (noupdate) NEW fleet.vehicle.state: fleet.fleet_vehicle_state_registered (noupdate) NEW fleet.vehicle.state: fleet.fleet_vehicle_state_to_order (noupdate) +# NOTHING TO DO + ir.actions.act_window: fleet.fleet_vehicle_service_types_action (deleted domain) +# DONE: post-migration: deleted domain + DEL ir.actions.act_window: fleet.act_renew_contract DEL ir.actions.act_window: fleet.fleet_costs_reporting_non_effective_action DEL ir.actions.act_window: fleet.fleet_vehicle_contract_types_action @@ -98,10 +132,16 @@ NEW ir.model.access: fleet.access_fleet_report_manager DEL ir.model.access: fleet.access_fleet_vehicle_cost DEL ir.model.access: fleet.access_fleet_vehicle_cost_user DEL ir.model.access: fleet.fleet_vehicle_log_fuel_access_right +# NOTHING TO DO + DEL ir.rule: fleet.fleet_rule_cost_visibility_manager (noupdate) DEL ir.rule: fleet.fleet_rule_cost_visibility_user (noupdate) DEL ir.rule: fleet.fleet_rule_fuel_log_visibility_manager (noupdate) DEL ir.rule: fleet.fleet_rule_fuel_log_visibility_user (noupdate) +DEL ir.rule: fleet.ir_rule_fleet_cost (noupdate) +DEL ir.rule: fleet.ir_rule_fleet_log_fuel (noupdate) +# DONE: post-migration: safely deleted xmlids + DEL ir.ui.menu: fleet.fleet_vehicle_contract_types_menu DEL ir.ui.menu: fleet.fleet_vehicle_costs_menu DEL ir.ui.menu: fleet.fleet_vehicle_log_fuel_menu @@ -123,3 +163,4 @@ DEL ir.ui.view: fleet.fleet_vehicle_log_fuel_view_graph DEL ir.ui.view: fleet.fleet_vehicle_log_fuel_view_kanban DEL ir.ui.view: fleet.fleet_vehicle_log_fuel_view_search DEL ir.ui.view: fleet.fleet_vehicle_log_fuel_view_tree +# NOTHING TO DO From 10a6154dc8612959f37b2a394b94e7b40dc18415 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 27 Mar 2022 00:33:10 +0000 Subject: [PATCH 074/403] [UPD] HTML documentation --- docs/modules130-140.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules130-140.html b/docs/modules130-140.html index 4cb1f4dc6eca..6bfca752ab9a 100644 --- a/docs/modules130-140.html +++ b/docs/modules130-140.html @@ -254,7 +254,7 @@

Module coverage 13.0 -> 14.0

fleet

- +

Done

gamification

Done

From e6f2258f830907c211654f2f4af8474ede877b39 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 27 Mar 2022 00:45:33 +0000 Subject: [PATCH 075/403] [UPD] HTML documentation --- docs/modules130-140.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules130-140.html b/docs/modules130-140.html index 6bfca752ab9a..376a9af3cd52 100644 --- a/docs/modules130-140.html +++ b/docs/modules130-140.html @@ -311,7 +311,7 @@

Module coverage 13.0 -> 14.0

hr_maintenance

- +

Nothing to do

hr_org_chart

Nothing to do

From 08ba14030e5b84fc980557ca6d9d49f4fd824161 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 27 Mar 2022 01:01:14 +0000 Subject: [PATCH 076/403] [UPD] HTML documentation --- docs/modules130-140.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/modules130-140.html b/docs/modules130-140.html index 376a9af3cd52..d46f9d344219 100644 --- a/docs/modules130-140.html +++ b/docs/modules130-140.html @@ -290,7 +290,7 @@

Module coverage 13.0 -> 14.0

hr_expense

- +

Nothing to do

del hr_expense_check

Merged into hr_expense

@@ -950,7 +950,7 @@

Module coverage 13.0 -> 14.0

sale_margin

- +

Done

sale_mrp

From 61c61f7ac8fba8e57570a7c4f7831a62b7cabbe9 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Sun, 27 Mar 2022 03:18:04 +0200 Subject: [PATCH 077/403] [OU-ADD] sale_expense: Nothing to do TT30301 --- docsource/modules130-140.rst | 2 +- .../sale_expense/14.0.1.0/upgrade_analysis_work.txt | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/sale_expense/14.0.1.0/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index c6ab0b7b07c8..3d85f0a25b7c 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -596,7 +596,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |sale_crm | Nothing to do | +--------------------------------------------+-------------------------------------------------+ -|sale_expense | | +|sale_expense | Nothing to do | +--------------------------------------------+-------------------------------------------------+ |sale_management | Done | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/sale_expense/14.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/sale_expense/14.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..dc20b0d0b42f --- /dev/null +++ b/openupgrade_scripts/scripts/sale_expense/14.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,9 @@ +---Models in module 'sale_expense'--- +---Fields in module 'sale_expense'--- +sale_expense / hr.expense / sale_order_id (many2one) : now a function +# NOTHING TO DO: Turned into computed writable + +---XML records in module 'sale_expense'--- +DEL digest.tip: sale_expense.digest_tip_sale_expense_0 +NEW ir.ui.view: sale_expense.hr_expense_tree_view_inherit_sale_expense +# NOTHING TO DO: noupdate=0 records From ff62aaf0804a4df57770331a74a8b27dec34c24c Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 27 Mar 2022 11:02:19 +0000 Subject: [PATCH 078/403] [UPD] HTML documentation --- docs/modules130-140.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules130-140.html b/docs/modules130-140.html index d46f9d344219..38896f862482 100644 --- a/docs/modules130-140.html +++ b/docs/modules130-140.html @@ -944,7 +944,7 @@

Module coverage 13.0 -> 14.0

sale_expense

- +

Nothing to do

sale_management

Done

From 8b0eb4f23d4fc1631012137606693aa273e7da59 Mon Sep 17 00:00:00 2001 From: mreficent Date: Tue, 6 Jul 2021 11:37:30 +0200 Subject: [PATCH 079/403] [OU-ADD] stock: Migration scripts Co-Authored-By: Pedro M. Baeza --- docsource/modules130-140.rst | 2 +- .../stock/14.0.1.1/noupdate_changes.xml | 12 +- .../scripts/stock/14.0.1.1/post-migration.py | 50 +++++ .../scripts/stock/14.0.1.1/pre-migration.py | 54 ++++++ .../stock/14.0.1.1/upgrade_analysis_work.txt | 176 ++++++++++++++++++ 5 files changed, 287 insertions(+), 7 deletions(-) create mode 100644 openupgrade_scripts/scripts/stock/14.0.1.1/post-migration.py create mode 100644 openupgrade_scripts/scripts/stock/14.0.1.1/pre-migration.py create mode 100644 openupgrade_scripts/scripts/stock/14.0.1.1/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 3d85f0a25b7c..6eac9a2cbf75 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -636,7 +636,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |social_media | Nothing to do | +--------------------------------------------+-------------------------------------------------+ -|stock | | +|stock | Done | +--------------------------------------------+-------------------------------------------------+ |stock_account | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/stock/14.0.1.1/noupdate_changes.xml b/openupgrade_scripts/scripts/stock/14.0.1.1/noupdate_changes.xml index 709746846132..e1ef75ef368f 100644 --- a/openupgrade_scripts/scripts/stock/14.0.1.1/noupdate_changes.xml +++ b/openupgrade_scripts/scripts/stock/14.0.1.1/noupdate_changes.xml @@ -34,7 +34,7 @@ - + ['|',('company_id','=',False),('company_id', 'in', company_ids)] - + [('company_id', 'in', company_ids)] - + - + diff --git a/openupgrade_scripts/scripts/stock/14.0.1.1/post-migration.py b/openupgrade_scripts/scripts/stock/14.0.1.1/post-migration.py new file mode 100644 index 000000000000..2f89516821e0 --- /dev/null +++ b/openupgrade_scripts/scripts/stock/14.0.1.1/post-migration.py @@ -0,0 +1,50 @@ +# Copyright 2021 ForgeFlow S.L. +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from openupgradelib import openupgrade + + +def merge_priorities(env): + openupgrade.map_values( + env.cr, + openupgrade.get_legacy_name("priority"), + "priority", + [("1", "0"), ("2", "1"), ("3", "1")], + table="stock_move", + ) + openupgrade.map_values( + env.cr, + openupgrade.get_legacy_name("priority"), + "priority", + [("1", "0"), ("2", "1"), ("3", "1")], + table="stock_picking", + ) + + +def recompute_stock_picking_scheduled_date(env): + env.cr.execute( + """ + SELECT sp.id + FROM stock_picking sp + JOIN stock_move sm ON sm.picking_id = sp.id + WHERE sm.state NOT IN ('done', 'cancel')""" + ) + picking_ids = [pick[0] for pick in env.cr.fetchall()] + if picking_ids: + pickings = env["stock.picking"].browse(picking_ids) + pickings._compute_scheduled_date() + + +def delete_domain_from_view(env): + view = env.ref("stock.report_stock_quantity_action") + view.domain = None + + +@openupgrade.migrate() +def migrate(env, version): + merge_priorities(env) + delete_domain_from_view(env) + openupgrade.load_data(env.cr, "stock", "14.0.1.1/noupdate_changes.xml") + recompute_stock_picking_scheduled_date(env) + openupgrade.delete_record_translations( + env.cr, "stock", ["mail_template_data_delivery_confirmation"] + ) diff --git a/openupgrade_scripts/scripts/stock/14.0.1.1/pre-migration.py b/openupgrade_scripts/scripts/stock/14.0.1.1/pre-migration.py new file mode 100644 index 000000000000..6493e44b59a7 --- /dev/null +++ b/openupgrade_scripts/scripts/stock/14.0.1.1/pre-migration.py @@ -0,0 +1,54 @@ +# Copyright 2021 ForgeFlow S.L. +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from openupgradelib import openupgrade + +_column_copies = { + "stock_move": [ + ("priority", None, None), + ], + "stock_picking": [ + ("priority", None, None), + ], +} + +_field_renames = [("stock.move", "stock_move", "date_expected", "date_deadline")] + +_xmlid_renames = [ + ("stock.action_orderpoint_form", "stock.action_orderpoint"), + ("stock.access_stock_picking_portal", "sale_stock.access_stock_picking_portal"), +] + + +def fast_precreate_orderpoint_product_category_id(env): + openupgrade.logged_query( + env.cr, + """ + ALTER TABLE stock_warehouse_orderpoint + ADD COLUMN product_category_id integer""", + ) + openupgrade.logged_query( + env.cr, + """ + UPDATE stock_warehouse_orderpoint swo + SET product_category_id = pt.categ_id + FROM product_product pp + JOIN product_template pt ON pp.product_tmpl_id = pt.id + WHERE swo.product_id = pp.id""", + ) + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.copy_columns(env.cr, _column_copies) + openupgrade.rename_fields(env, _field_renames) + openupgrade.rename_xmlids(env.cr, _xmlid_renames) + fast_precreate_orderpoint_product_category_id(env) + # Disappeared constraint + openupgrade.logged_query( + env.cr, + """ALTER TABLE stock_production_lot + DROP CONSTRAINT IF EXISTS stock_production_lot_name_ref_uniq""", + ) + openupgrade.delete_records_safely_by_xml_id( + env, ["stock.constraint_stock_production_lot_name_ref_uniq"] + ) diff --git a/openupgrade_scripts/scripts/stock/14.0.1.1/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/stock/14.0.1.1/upgrade_analysis_work.txt new file mode 100644 index 000000000000..be394ae90380 --- /dev/null +++ b/openupgrade_scripts/scripts/stock/14.0.1.1/upgrade_analysis_work.txt @@ -0,0 +1,176 @@ +---Models in module 'stock'--- +obsolete model stock.overprocessed.transfer [transient] +obsolete model stock.picking.responsible [transient] +new model report.stock.report_product_product_replenishment [abstract] +new model report.stock.report_product_template_replenishment [abstract] +new model stock.backorder.confirmation.line [transient] +new model stock.immediate.transfer.line [transient] +new model stock.orderpoint.snooze [transient] +# NOTHING TO DO: transient/abstract models + +---Fields in module 'stock'--- +stock / procurement.group / stock_move_ids (one2many) : NEW relation: stock.move +# NOTHING TO DO: one2many + +stock / stock.inventory / activity_ids (one2many) : NEW relation: mail.activity +stock / stock.inventory / message_follower_ids (one2many): NEW relation: mail.followers +stock / stock.inventory / message_ids (one2many) : NEW relation: mail.message +stock / stock.inventory / message_main_attachment_id (many2one): NEW relation: ir.attachment +stock / stock.inventory / website_message_ids (one2many): NEW relation: mail.message +# NOTHING TO DO: from added mail mixins + +stock / stock.inventory / exhausted (boolean) : NEW +# NOTHING TO DO: new feature + +stock / stock.move / date_deadline (datetime) : NEW +stock / stock.move / date_expected (datetime) : DEL required, req_default: function +# DONE: pre-migration: renamed field + +stock / stock.move / delay_alert_date (datetime) : NEW isfunction: function, stored +# NOTHING TO DO: computed during loading + +stock / stock.move / delay_alert (boolean) : DEL +stock / stock.move / propagate_date (boolean) : DEL +stock / stock.move / propagate_date_minimum_delta (integer): DEL +stock / stock.rule / delay_alert (boolean) : DEL +stock / stock.rule / propagate_date (boolean) : DEL +stock / stock.rule / propagate_date_minimum_delta (integer): DEL +# NOTHING TO DO: not used anymore + +stock / stock.move / orderpoint_id (many2one) : NEW relation: stock.warehouse.orderpoint +# NOTHING TO DO: New field related to the new replenishment system with no sense for past moves + +stock / stock.move / priority (selection) : now a function +stock / stock.move / priority (selection) : selection_keys is now '['0', '1']' ('['0', '1', '2', '3']') +# DONE: post-migration: merge 1 to 0, and 2 and 3 to 1 + +stock / stock.picking / _order : _order is now 'priority desc, scheduled_date asc, id desc' ('priority desc, date asc, id desc') +# NOTHING TO DO + +stock / stock.picking / date_deadline (datetime) : NEW isfunction: function, stored +stock / stock.picking / has_deadline_issue (boolean) : NEW hasdefault, isfunction: function, stored +# NOTHING TO DO: computed during loading + +stock / stock.picking / priority (selection) : not a function anymore +stock / stock.picking / priority (selection) : selection_keys is now '['0', '1']' ('['0', '1', '2', '3']') +# DONE: post-migration: merge 1 to 0, and 2 and 3 to 1 + +stock / stock.picking / signature (binary) : NEW attachment: True +# NOTHING TO DO: new feature + +stock / stock.warehouse.orderpoint / _order : _order is now 'location_id,company_id,id' ('id') +# NOTHING TO DO + +stock / stock.warehouse.orderpoint / lead_days (integer) : DEL +stock / stock.warehouse.orderpoint / lead_type (selection) : DEL required, selection_keys: ['net', 'supplier'], req_default: function +# NOTHING TO DO: removed (and seems to be replaced by computed lead_days_date) + +stock / stock.warehouse.orderpoint / product_category_id (many2one): NEW relation: product.category, isrelated: related, stored +# DONE: pre-migration: precreated and fast filled + +stock / stock.warehouse.orderpoint / qty_to_order (float) : NEW isfunction: function, stored +# NOTHING TO DO: computed during loading + +stock / stock.warehouse.orderpoint / route_id (many2one) : NEW relation: stock.location.route +# NOTHING TO DO: replenished only when using new replenish feature + +stock / stock.warehouse.orderpoint / snoozed_until (date) : NEW +# NOTHING TO DO: new feature (used in new wizard stock.orderpoint.snooze) + +stock / stock.warehouse.orderpoint / trigger (selection) : NEW required, selection_keys: ['auto', 'manual'], req_default: function, hasdefault +# NOTHING TO DO: the default is the previous version behaviour + +---XML records in module 'stock'--- +NEW digest.tip: stock.digest_tip_stock_0 +# NOTHING TO DO + +DEL ir.actions.act_window: stock.action_orderpoint_form +NEW ir.actions.act_window: stock.action_orderpoint +# DONE: pre-migration: renamed xmlid + +ir.actions.act_window: stock.report_stock_quantity_action (deleted domain) +# DONE: post-migration: deleted domain + +NEW ir.actions.act_window: stock.action_orderpoint_replenish +NEW ir.actions.act_window: stock.action_orderpoint_snooze +NEW ir.actions.act_window: stock.action_prod_inv_location_form +DEL ir.actions.act_window: stock.act_product_stock_move_open +DEL ir.actions.act_window: stock.action_receipt_picking_move +DEL ir.actions.act_window: stock.product_open_orderpoint +DEL ir.actions.act_window: stock.product_template_open_quants +# NOTHING TO DO + +NEW ir.actions.client: stock.stock_replenishment_product_product_action +NEW ir.actions.report: stock.stock_replenishment_report_product_product_action +NEW ir.actions.report: stock.stock_replenishment_report_product_template_action +NEW ir.actions.server: stock.action_open_routes +NEW ir.actions.server: stock.action_replenishment +NEW ir.actions.server: stock.action_unreserve_picking +NEW ir.actions.server: stock.action_validate_picking +# NOTHING TO DO + +DEL ir.model.access: stock.access_stock_picking_portal [renamed to sale_stock module] +# DONE: pre-migration: renamed xmlid + +NEW ir.model.access: stock.access_product_replenish +NEW ir.model.access: stock.access_stock_assign_serial +NEW ir.model.access: stock.access_stock_backorder_confirmation +NEW ir.model.access: stock.access_stock_backorder_confirmation_line +NEW ir.model.access: stock.access_stock_change_product_qty +NEW ir.model.access: stock.access_stock_immediate_transfer +NEW ir.model.access: stock.access_stock_immediate_transfer_line +NEW ir.model.access: stock.access_stock_location_partner_manager +NEW ir.model.access: stock.access_stock_orderpoint_snooze +NEW ir.model.access: stock.access_stock_package_destination +NEW ir.model.access: stock.access_stock_quantity_history +NEW ir.model.access: stock.access_stock_return_picking +NEW ir.model.access: stock.access_stock_return_picking_line +NEW ir.model.access: stock.access_stock_rules_report +NEW ir.model.access: stock.access_stock_scheduler_compute +NEW ir.model.access: stock.access_stock_traceability_report +NEW ir.model.access: stock.access_stock_track_confirmation +NEW ir.model.access: stock.access_stock_track_line +NEW ir.model.access: stock.access_stock_warn_insufficient_qty_scrap +DEL ir.model.access: stock.access_ir_property_group_stock_manager +DEL ir.model.access: stock.access_stock_location__partner_manager +DEL ir.model.access: stock.access_stock_location_stock_manager +DEL ir.model.access: stock.access_stock_move_line_portal +DEL ir.model.access: stock.access_stock_move_portal +DEL ir.model.access: stock.access_stock_picking_type_portal +DEL ir.model.access: stock.access_stock_rule +DEL ir.model.access: stock.access_stock_rule_manager +DEL ir.model.access: stock.access_stock_warehouse_orderpoint_portal +# NOTHING TO DO + +DEL ir.model.constraint: stock.constraint_stock_production_lot_name_ref_uniq +# DONE: pre-migration: deleted constraint + +NEW ir.ui.menu: stock.menu_reordering_rules_replenish +NEW ir.ui.view: stock.assets_common_replenishment_report +NEW ir.ui.view: stock.package_level_form_edit_view +NEW ir.ui.view: stock.report_generic_barcode +NEW ir.ui.view: stock.report_product_product_replenishment +NEW ir.ui.view: stock.report_product_template_replenishment +NEW ir.ui.view: stock.report_replenishment_header +NEW ir.ui.view: stock.stock_inventory_line_tree_no_product_create +NEW ir.ui.view: stock.stock_reorder_report_search +NEW ir.ui.view: stock.stock_report_delivery_aggregated_move_lines +NEW ir.ui.view: stock.stock_report_delivery_has_serial_move_line +NEW ir.ui.view: stock.stock_report_delivery_no_package_section_line +NEW ir.ui.view: stock.stock_report_delivery_package_section_line +NEW ir.ui.view: stock.view_stock_orderpoint_snooze +NEW ir.ui.view: stock.view_stock_quant_form_editable +NEW ir.ui.view: stock.view_warehouse_orderpoint_tree_editable +NEW ir.ui.view: stock.view_warehouse_orderpoint_tree_editable_config +DEL ir.ui.view: stock.stock_inventory_line_tree2 +DEL ir.ui.view: stock.stock_move_tree +DEL ir.ui.view: stock.stock_move_view_kanban +DEL ir.ui.view: stock.stock_warehouse_view_form_editable +DEL ir.ui.view: stock.stock_warehouse_view_tree_editable +DEL ir.ui.view: stock.view_move_picking_tree +DEL ir.ui.view: stock.view_move_tree_receipt_picking_board +DEL ir.ui.view: stock.view_overprocessed_transfer +DEL ir.ui.view: stock.view_stock_move_kanban +DEL ir.ui.view: stock.view_warehouse_orderpoint_tree +NEW res.groups: stock.group_stock_sign_delivery +# NOTHING TO DO From ae0cd9cfe3ba68662a0b1b781e8e28c1595f1c50 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 27 Mar 2022 11:54:32 +0000 Subject: [PATCH 080/403] [UPD] HTML documentation --- docs/modules130-140.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules130-140.html b/docs/modules130-140.html index 38896f862482..d5bbda5fef67 100644 --- a/docs/modules130-140.html +++ b/docs/modules130-140.html @@ -1004,7 +1004,7 @@

Module coverage 13.0 -> 14.0

stock

- +

Done

stock_account

From 3c77c8e99e43a94ed3952556747a4e00ae0159ca Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Sun, 27 Mar 2022 13:56:38 +0200 Subject: [PATCH 081/403] [OU-ADD] stock_dropshipping: Nothing to do Even no analysis file TT31836 --- docsource/modules130-140.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 6eac9a2cbf75..4aec1e44e4b3 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -640,7 +640,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |stock_account | | +--------------------------------------------+-------------------------------------------------+ -|stock_dropshipping | | +|stock_dropshipping | Nothing to do | +--------------------------------------------+-------------------------------------------------+ |stock_landed_costs | | +--------------------------------------------+-------------------------------------------------+ From d924368e9f1de91cddd4dff9a984c283092fe0f1 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 27 Mar 2022 12:42:02 +0000 Subject: [PATCH 082/403] [UPD] HTML documentation --- docs/modules130-140.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules130-140.html b/docs/modules130-140.html index d5bbda5fef67..2db95588cbbd 100644 --- a/docs/modules130-140.html +++ b/docs/modules130-140.html @@ -1010,7 +1010,7 @@

Module coverage 13.0 -> 14.0

stock_dropshipping

- +

Nothing to do

stock_landed_costs

From 42231f878ff39aad6a13f21958c4705a416e49be Mon Sep 17 00:00:00 2001 From: Chankya Soni Date: Tue, 22 Jun 2021 17:39:41 +0530 Subject: [PATCH 083/403] [OU-ADD] repair: Migration scripts --- docsource/modules130-140.rst | 2 +- .../scripts/repair/14.0.1.0/post-migration.py | 9 +++++++++ .../repair/14.0.1.0/upgrade_analysis_work.txt | 19 +++++++++++++++++++ 3 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/repair/14.0.1.0/post-migration.py create mode 100644 openupgrade_scripts/scripts/repair/14.0.1.0/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 4aec1e44e4b3..3709bc6e662d 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -584,7 +584,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |rating | Done | +--------------------------------------------+-------------------------------------------------+ -|repair | | +|repair | Done | +--------------------------------------------+-------------------------------------------------+ |resource | Nothing to do | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/repair/14.0.1.0/post-migration.py b/openupgrade_scripts/scripts/repair/14.0.1.0/post-migration.py new file mode 100644 index 000000000000..fa36805b99e6 --- /dev/null +++ b/openupgrade_scripts/scripts/repair/14.0.1.0/post-migration.py @@ -0,0 +1,9 @@ +# Copyright (C) 2021 Open Source Integrators +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + # Load noupdate changes + openupgrade.load_data(env.cr, "repair", "14.0.1.0/noupdate_changes.xml") diff --git a/openupgrade_scripts/scripts/repair/14.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/repair/14.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..494112603a10 --- /dev/null +++ b/openupgrade_scripts/scripts/repair/14.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,19 @@ +---Models in module 'repair'--- +obsolete model repair.cancel [transient] +---Fields in module 'repair'--- +repair / repair.fee / company_id (many2one) : NEW relation: res.company, isrelated: related, stored +repair / repair.line / company_id (many2one) : NEW relation: res.company, isrelated: related, stored +repair / repair.line / repair_id (many2one) : now required +repair / repair.order / company_id (many2one) : now required, req_default: function +---XML records in module 'repair'--- +DEL ir.actions.act_window: repair.action_cancel_repair +NEW ir.model.access: repair.access_repair_order_make_invoice +NEW ir.model.access: repair.access_stock_warn_insufficient_qty_repair +NEW ir.rule: repair.repair_fee_rule (noupdate) +NEW ir.rule: repair.repair_line_rule (noupdate) +NEW ir.rule: repair.repair_order_rule (noupdate) +DEL ir.rule: repair.repair_rule (noupdate) +DEL ir.ui.view: repair.view_cancel_repair +---Update noupdate-- +mail.template: mail_template_repair_quotation +# DONE: post-migration: noupdate changed to "mail_template_repair_quotation" From 8c8987da15745620b9d287f5d9b359f627377ef7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miquel=20Ra=C3=AFch?= Date: Fri, 3 Dec 2021 10:30:23 +0100 Subject: [PATCH 084/403] [OU-ADD] repair: Migration scripts (continuation) --- .../repair/14.0.1.0/noupdate_changes.xml | 5 ++++ .../scripts/repair/14.0.1.0/post-migration.py | 4 ++++ .../scripts/repair/14.0.1.0/pre-migration.py | 12 ++++++++++ .../repair/14.0.1.0/upgrade_analysis_work.txt | 24 ++++++++++++------- 4 files changed, 37 insertions(+), 8 deletions(-) create mode 100644 openupgrade_scripts/scripts/repair/14.0.1.0/pre-migration.py diff --git a/openupgrade_scripts/scripts/repair/14.0.1.0/noupdate_changes.xml b/openupgrade_scripts/scripts/repair/14.0.1.0/noupdate_changes.xml index 0d809edb54e8..c3e39d6992c5 100644 --- a/openupgrade_scripts/scripts/repair/14.0.1.0/noupdate_changes.xml +++ b/openupgrade_scripts/scripts/repair/14.0.1.0/noupdate_changes.xml @@ -28,4 +28,9 @@ + + + [('company_id', 'in', company_ids)] + repair order multi-company + diff --git a/openupgrade_scripts/scripts/repair/14.0.1.0/post-migration.py b/openupgrade_scripts/scripts/repair/14.0.1.0/post-migration.py index fa36805b99e6..e3a393f7d425 100644 --- a/openupgrade_scripts/scripts/repair/14.0.1.0/post-migration.py +++ b/openupgrade_scripts/scripts/repair/14.0.1.0/post-migration.py @@ -1,4 +1,5 @@ # Copyright (C) 2021 Open Source Integrators +# Copyright 2021 ForgeFlow S.L. # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). from openupgradelib import openupgrade @@ -7,3 +8,6 @@ def migrate(env, version): # Load noupdate changes openupgrade.load_data(env.cr, "repair", "14.0.1.0/noupdate_changes.xml") + openupgrade.delete_record_translations( + env.cr, "repair", ["mail_template_repair_quotation"] + ) diff --git a/openupgrade_scripts/scripts/repair/14.0.1.0/pre-migration.py b/openupgrade_scripts/scripts/repair/14.0.1.0/pre-migration.py new file mode 100644 index 000000000000..281dab23cfee --- /dev/null +++ b/openupgrade_scripts/scripts/repair/14.0.1.0/pre-migration.py @@ -0,0 +1,12 @@ +# Copyright 2021 ForgeFlow S.L. +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from openupgradelib import openupgrade + +_xmlid_renames = [ + ("repair.repair_rule", "repair.repair_order_rule"), +] + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.rename_xmlids(env.cr, _xmlid_renames) diff --git a/openupgrade_scripts/scripts/repair/14.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/repair/14.0.1.0/upgrade_analysis_work.txt index 494112603a10..f7a5b0de0b1a 100644 --- a/openupgrade_scripts/scripts/repair/14.0.1.0/upgrade_analysis_work.txt +++ b/openupgrade_scripts/scripts/repair/14.0.1.0/upgrade_analysis_work.txt @@ -1,19 +1,27 @@ ---Models in module 'repair'--- obsolete model repair.cancel [transient] +# NOTHING TO DO + ---Fields in module 'repair'--- -repair / repair.fee / company_id (many2one) : NEW relation: res.company, isrelated: related, stored -repair / repair.line / company_id (many2one) : NEW relation: res.company, isrelated: related, stored repair / repair.line / repair_id (many2one) : now required repair / repair.order / company_id (many2one) : now required, req_default: function +# NOTHING TO DO: Already filled for all records that came regularly by Odoo UI + +repair / repair.fee / company_id (many2one) : NEW relation: res.company, isrelated: related, stored +repair / repair.line / company_id (many2one) : NEW relation: res.company, isrelated: related, stored +# NOTHING TO DO: Filled by ORM + ---XML records in module 'repair'--- DEL ir.actions.act_window: repair.action_cancel_repair NEW ir.model.access: repair.access_repair_order_make_invoice NEW ir.model.access: repair.access_stock_warn_insufficient_qty_repair -NEW ir.rule: repair.repair_fee_rule (noupdate) -NEW ir.rule: repair.repair_line_rule (noupdate) +DEL ir.ui.view: repair.view_cancel_repair +# NOTHING TO DO: noupdate=0 ir records + NEW ir.rule: repair.repair_order_rule (noupdate) DEL ir.rule: repair.repair_rule (noupdate) -DEL ir.ui.view: repair.view_cancel_repair ----Update noupdate-- -mail.template: mail_template_repair_quotation -# DONE: post-migration: noupdate changed to "mail_template_repair_quotation" +# DONE: pre-migration: renamed xmlid + +NEW ir.rule: repair.repair_fee_rule (noupdate) +NEW ir.rule: repair.repair_line_rule (noupdate) +# NOTHING TO DO: New records \ No newline at end of file From 38cfb71469514ee1056ae1e1cae103ba8278f566 Mon Sep 17 00:00:00 2001 From: mreficent Date: Mon, 19 Jul 2021 14:56:09 +0200 Subject: [PATCH 085/403] [OU-ADD] stock_account: Migration scripts --- docsource/modules130-140.rst | 2 +- .../14.0.1.1/noupdate_changes.xml | 4 ++-- .../stock_account/14.0.1.1/post-migration.py | 8 +++++++ .../stock_account/14.0.1.1/pre-migration.py | 10 ++++++++ .../14.0.1.1/upgrade_analysis_work.txt | 23 +++++++++++++++++++ 5 files changed, 44 insertions(+), 3 deletions(-) create mode 100644 openupgrade_scripts/scripts/stock_account/14.0.1.1/post-migration.py create mode 100644 openupgrade_scripts/scripts/stock_account/14.0.1.1/pre-migration.py create mode 100644 openupgrade_scripts/scripts/stock_account/14.0.1.1/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 4aec1e44e4b3..f94d7ecd42a9 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -638,7 +638,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |stock | Done | +--------------------------------------------+-------------------------------------------------+ -|stock_account | | +|stock_account | Done | +--------------------------------------------+-------------------------------------------------+ |stock_dropshipping | Nothing to do | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/stock_account/14.0.1.1/noupdate_changes.xml b/openupgrade_scripts/scripts/stock_account/14.0.1.1/noupdate_changes.xml index 8489e4de551d..bbe69d7d5e24 100644 --- a/openupgrade_scripts/scripts/stock_account/14.0.1.1/noupdate_changes.xml +++ b/openupgrade_scripts/scripts/stock_account/14.0.1.1/noupdate_changes.xml @@ -1,6 +1,6 @@ - + diff --git a/openupgrade_scripts/scripts/stock_account/14.0.1.1/post-migration.py b/openupgrade_scripts/scripts/stock_account/14.0.1.1/post-migration.py new file mode 100644 index 000000000000..7f39345c4a3d --- /dev/null +++ b/openupgrade_scripts/scripts/stock_account/14.0.1.1/post-migration.py @@ -0,0 +1,8 @@ +# Copyright 2021 ForgeFlow S.L. +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.load_data(env.cr, "stock_account", "14.0.1.1/noupdate_changes.xml") diff --git a/openupgrade_scripts/scripts/stock_account/14.0.1.1/pre-migration.py b/openupgrade_scripts/scripts/stock_account/14.0.1.1/pre-migration.py new file mode 100644 index 000000000000..3034c706112f --- /dev/null +++ b/openupgrade_scripts/scripts/stock_account/14.0.1.1/pre-migration.py @@ -0,0 +1,10 @@ +# Copyright 2021 ForgeFlow S.L. +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.set_xml_ids_noupdate_value( + env, "stock_account", ["stock_valuation_layer_company_rule"], True + ) diff --git a/openupgrade_scripts/scripts/stock_account/14.0.1.1/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/stock_account/14.0.1.1/upgrade_analysis_work.txt new file mode 100644 index 000000000000..bd53d7606404 --- /dev/null +++ b/openupgrade_scripts/scripts/stock_account/14.0.1.1/upgrade_analysis_work.txt @@ -0,0 +1,23 @@ +---Models in module 'stock_account'--- +obsolete model stock.change.standard.price [transient] +new model stock.valuation.layer.revaluation [transient] +---Fields in module 'stock_account'--- +---XML records in module 'stock_account'--- +DEL ir.actions.act_window: stock_account.action_stock_inventory_valuation +DEL ir.actions.act_window: stock_account.action_view_change_standard_price +NEW ir.model.access: stock_account.access_account_journal_stock_manager +NEW ir.model.access: stock_account.access_stock_move_invoicing_payments_readonly +NEW ir.model.access: stock_account.access_stock_picking_invoicing_payments_readonly +NEW ir.model.access: stock_account.access_stock_valuation_layer_revaluation +DEL ir.model.access: stock_account.access_account_tag_stock_user +NEW ir.ui.view: stock_account.stock_account_report_product_product_replenishment +NEW ir.ui.view: stock_account.stock_valuation_layer_revaluation_form_view +DEL ir.ui.view: stock_account.product_product_normal_form_view_inherit +DEL ir.ui.view: stock_account.product_variant_easy_edit_view_inherit +DEL ir.ui.view: stock_account.stock_valuation_layer_search +DEL ir.ui.view: stock_account.view_change_standard_price +DEL ir.ui.view: stock_account.view_template_property_form +# NOTHING TO DO + +ir.rule: stock_account.stock_valuation_layer_company_rule (noupdate) (noupdate switched) +# DONE: pre-migration: switched noupdate From 7d0b0cc01239058a82f320137bd5e717f96f4e06 Mon Sep 17 00:00:00 2001 From: mreficent Date: Mon, 19 Jul 2021 16:58:23 +0200 Subject: [PATCH 086/403] [OU-ADD] purchase: Migration scripts --- docsource/modules130-140.rst | 2 +- .../purchase/14.0.1.2/noupdate_changes.xml | 4 +- .../purchase/14.0.1.2/post-migration.py | 15 +++++ .../purchase/14.0.1.2/pre-migration.py | 32 ++++++++++ .../14.0.1.2/upgrade_analysis_work.txt | 60 +++++++++++++++++++ 5 files changed, 110 insertions(+), 3 deletions(-) create mode 100644 openupgrade_scripts/scripts/purchase/14.0.1.2/post-migration.py create mode 100644 openupgrade_scripts/scripts/purchase/14.0.1.2/pre-migration.py create mode 100644 openupgrade_scripts/scripts/purchase/14.0.1.2/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 4aec1e44e4b3..d7c825f51835 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -570,7 +570,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |project_timesheet_holidays | | +--------------------------------------------+-------------------------------------------------+ -|purchase | | +|purchase | Done | +--------------------------------------------+-------------------------------------------------+ |purchase_mrp | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/purchase/14.0.1.2/noupdate_changes.xml b/openupgrade_scripts/scripts/purchase/14.0.1.2/noupdate_changes.xml index 532ae5521bc1..7937adbe773a 100644 --- a/openupgrade_scripts/scripts/purchase/14.0.1.2/noupdate_changes.xml +++ b/openupgrade_scripts/scripts/purchase/14.0.1.2/noupdate_changes.xml @@ -31,7 +31,7 @@ Portal Purchase Order Lines - + [('move_id.move_type', 'in', ('in_invoice', 'in_refund', 'in_receipt'))] diff --git a/openupgrade_scripts/scripts/purchase/14.0.1.2/post-migration.py b/openupgrade_scripts/scripts/purchase/14.0.1.2/post-migration.py new file mode 100644 index 000000000000..3ff8cd5c91ca --- /dev/null +++ b/openupgrade_scripts/scripts/purchase/14.0.1.2/post-migration.py @@ -0,0 +1,15 @@ +# Copyright 2021 ForgeFlow S.L. +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.load_data(env.cr, "purchase", "14.0.1.2/noupdate_changes.xml") + openupgrade.delete_record_translations( + env.cr, + "purchase", + [ + "email_template_edi_purchase_done", + ], + ) diff --git a/openupgrade_scripts/scripts/purchase/14.0.1.2/pre-migration.py b/openupgrade_scripts/scripts/purchase/14.0.1.2/pre-migration.py new file mode 100644 index 000000000000..78dc5d16549e --- /dev/null +++ b/openupgrade_scripts/scripts/purchase/14.0.1.2/pre-migration.py @@ -0,0 +1,32 @@ +# Copyright 2021 ForgeFlow S.L. +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from openupgradelib import openupgrade + + +def fill_purchase_order_line_qty_to_invoice(env): + if not openupgrade.column_exists(env.cr, "purchase_order_line", "qty_to_invoice"): + openupgrade.logged_query( + env.cr, + """ + ALTER TABLE purchase_order_line + ADD COLUMN qty_to_invoice numeric""", + ) + openupgrade.logged_query( + env.cr, + """ + UPDATE purchase_order_line pol + SET qty_to_invoice = CASE WHEN po.state IN ('purchase', 'done') + AND pt.purchase_method = 'purchase' + THEN pol.product_qty - pol.qty_invoiced + WHEN po.state IN ('purchase', 'done') + THEN pol.qty_received - pol.qty_invoiced + ELSE 0 END + FROM purchase_order po, product_product pp + JOIN product_template pt ON pp.product_tmpl_id = pt.id + WHERE pol.order_id = po.id AND pol.product_id = pp.id""", + ) + + +@openupgrade.migrate() +def migrate(env, version): + fill_purchase_order_line_qty_to_invoice(env) diff --git a/openupgrade_scripts/scripts/purchase/14.0.1.2/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/purchase/14.0.1.2/upgrade_analysis_work.txt new file mode 100644 index 000000000000..1b1d606b66f5 --- /dev/null +++ b/openupgrade_scripts/scripts/purchase/14.0.1.2/upgrade_analysis_work.txt @@ -0,0 +1,60 @@ +---Models in module 'purchase'--- +---Fields in module 'purchase'--- +purchase / purchase.order / _order : _order is now 'priority desc, id desc' ('date_order desc, id desc') +purchase / purchase.order / date_planned (datetime) : now a function +purchase / purchase.order.line / account_analytic_id (many2one): now a function +purchase / purchase.order.line / analytic_tag_ids (many2many) : now a function +# NOTHING TO DO + +purchase / purchase.order / date_calendar_start (datetime): NEW isfunction: function, stored +# NOTHING TO DO: computed in load + +purchase / purchase.order / mail_reception_confirmed (boolean): NEW hasdefault +purchase / purchase.order / mail_reminder_confirmed (boolean): NEW hasdefault +purchase / purchase.order / priority (selection) : NEW selection_keys: ['0', '1'], hasdefault +# NOTHING TO DO: new features + +purchase / purchase.order.line / qty_to_invoice (float) : NEW isfunction: function, stored +# DONE: pre-migration: fast filled + +purchase / res.partner / receipt_reminder_email (boolean): NEW hasdefault +purchase / res.partner / reminder_date_before_receipt (integer): NEW hasdefault +# NOTHING TO DO: new features + +---XML records in module 'purchase'--- +NEW digest.tip: purchase.digest_tip_purchase_0 +NEW digest.tip: purchase.digest_tip_purchase_1 +NEW ir.actions.act_window: purchase.action_rfq_form +NEW ir.actions.act_window: purchase.purchase_action_dashboard_kanban +NEW ir.actions.act_window: purchase.purchase_action_dashboard_list +DEL ir.actions.act_window: purchase.purchase_order_action_generic +NEW ir.actions.server: purchase.action_purchase_batch_bills +NEW ir.actions.server: purchase.action_purchase_send_reminder +NEW ir.cron: purchase.purchase_send_reminder_mail (noupdate) +DEL ir.filters: purchase.filter_purchase_order_average_delivery_time +DEL ir.filters: purchase.filter_purchase_order_monthly_purchases +DEL ir.filters: purchase.filter_purchase_order_price_per_supplier +NEW ir.model.access: purchase.access_account_move +NEW ir.model.access: purchase.access_account_move_line_manager +NEW ir.model.access: purchase.access_account_tag_purchase_user +NEW ir.model.access: purchase.access_purchase_order_invoicing_payments_readonly +NEW ir.model.access: purchase.access_purchase_order_line_invoicing_payments_readonly +DEL ir.model.access: purchase.access_account_journal_purchase_manager +DEL ir.model.access: purchase.access_account_move_purchase +DEL ir.model.access: purchase.access_account_move_purchase_manager +DEL ir.model.access: purchase.access_product_group_res_partner_purchase_manager +NEW ir.property: purchase.receipt_reminder_email (noupdate) +NEW ir.property: purchase.reminder_date_before_receipt (noupdate) +NEW ir.ui.menu: purchase.menu_product_attribute_action +NEW ir.ui.menu: purchase.menu_unit_of_measure_in_config_purchase +DEL ir.ui.menu: purchase.menu_report_purchase +NEW ir.ui.view: purchase.assets_backend +NEW ir.ui.view: purchase.assets_frontend +NEW ir.ui.view: purchase.mail_notification_confirm (noupdate) +NEW ir.ui.view: purchase.portal_my_purchase_order_update_date +NEW ir.ui.view: purchase.product_supplierinfo_tree_view2 +NEW ir.ui.view: purchase.purchase_order_kpis_tree +NEW ir.ui.view: purchase.track_po_line_qty_received_template +NEW mail.template: purchase.email_template_edi_purchase_reminder (noupdate) +NEW res.groups: purchase.group_send_reminder +# NOTHING TO DO From 499314e48ad2b4c4dc164786cf900b441f8cbaf3 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 27 Mar 2022 14:33:33 +0000 Subject: [PATCH 087/403] [UPD] HTML documentation --- docs/modules130-140.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules130-140.html b/docs/modules130-140.html index 2db95588cbbd..cb25284c4a15 100644 --- a/docs/modules130-140.html +++ b/docs/modules130-140.html @@ -926,7 +926,7 @@

Module coverage 13.0 -> 14.0

repair

- +

Done

resource

Nothing to do

From 0a19d1873aff56579785bc5d24fecf10197eca90 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 27 Mar 2022 14:49:34 +0000 Subject: [PATCH 088/403] [UPD] HTML documentation --- docs/modules130-140.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/modules130-140.html b/docs/modules130-140.html index cb25284c4a15..f73d075fa551 100644 --- a/docs/modules130-140.html +++ b/docs/modules130-140.html @@ -905,7 +905,7 @@

Module coverage 13.0 -> 14.0

purchase

- +

Done

purchase_mrp

@@ -1007,7 +1007,7 @@

Module coverage 13.0 -> 14.0

stock_account

- +

Done

stock_dropshipping

Nothing to do

From 283a6a72be9bde447c6fcf5b9254b92ce4ef9913 Mon Sep 17 00:00:00 2001 From: mreficent Date: Wed, 21 Jul 2021 20:00:52 +0200 Subject: [PATCH 089/403] [OU-ADD] mrp: Migration scripts --- docsource/modules130-140.rst | 2 +- .../scripts/mrp/14.0.2.0/noupdate_changes.xml | 18 +- .../scripts/mrp/14.0.2.0/post-migration.py | 56 +++++ .../scripts/mrp/14.0.2.0/pre-migration.py | 107 ++++++++++ .../mrp/14.0.2.0/upgrade_analysis_work.txt | 198 ++++++++++++++++++ 5 files changed, 371 insertions(+), 10 deletions(-) create mode 100644 openupgrade_scripts/scripts/mrp/14.0.2.0/post-migration.py create mode 100644 openupgrade_scripts/scripts/mrp/14.0.2.0/pre-migration.py create mode 100644 openupgrade_scripts/scripts/mrp/14.0.2.0/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 4aec1e44e4b3..cf0cab923f2d 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -456,7 +456,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ | |new| microsoft_calendar | | +--------------------------------------------+-------------------------------------------------+ -|mrp | | +|mrp | Done | +--------------------------------------------+-------------------------------------------------+ |mrp_account | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/mrp/14.0.2.0/noupdate_changes.xml b/openupgrade_scripts/scripts/mrp/14.0.2.0/noupdate_changes.xml index 40e581faefcb..a0c7c162ccea 100644 --- a/openupgrade_scripts/scripts/mrp/14.0.2.0/noupdate_changes.xml +++ b/openupgrade_scripts/scripts/mrp/14.0.2.0/noupdate_changes.xml @@ -1,30 +1,30 @@ - + - + - + - + - + - + - + - + - + diff --git a/openupgrade_scripts/scripts/mrp/14.0.2.0/post-migration.py b/openupgrade_scripts/scripts/mrp/14.0.2.0/post-migration.py new file mode 100644 index 000000000000..55403f593e7b --- /dev/null +++ b/openupgrade_scripts/scripts/mrp/14.0.2.0/post-migration.py @@ -0,0 +1,56 @@ +# Copyright 2021 ForgeFlow S.L. +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from openupgradelib import openupgrade + + +def merge_priorities(env): + openupgrade.map_values( + env.cr, + openupgrade.get_legacy_name("priority"), + "priority", + [("1", "0"), ("2", "1"), ("3", "1")], + table="mrp_production", + ) + + +def map_stock_move_line_lot_produced_ids(env): + openupgrade.logged_query( + env.cr, + """ + UPDATE stock_move_line sml + SET lot_id = rel.stock_production_lot_id + FROM stock_move_line_stock_production_lot_rel rel + JOIN stock_move_line_consume_rel rel2 + ON rel2.produce_line_id = rel.stock_move_line_id + WHERE sml.lot_id IS NULL AND rel2.consume_line_id = sml.id""", + ) + openupgrade.logged_query( + env.cr, + """ + INSERT INTO stock_move_line_consume_rel ( + produce_line_id, consume_line_id) + SELECT rel.stock_move_line_id, sml.id + FROM stock_move_line_stock_production_lot_rel rel + JOIN stock_move_line sml ON ( + sml.lot_id = rel.stock_production_lot_id + AND rel.stock_move_line_id != sml.id) + LEFT JOIN stock_move_line_consume_rel rel2 ON ( + rel2.produce_line_id = rel.stock_move_line_id + AND rel2.consume_line_id = sml.id) + WHERE rel2.produce_line_id IS NULL""", + ) + + +def map_mrp_production_state_planned(env): + env["mrp.production"].search([("state", "=", "planned")])._compute_state() + + +@openupgrade.migrate() +def migrate(env, version): + merge_priorities(env) + map_stock_move_line_lot_produced_ids(env) + map_mrp_production_state_planned(env) + openupgrade.load_data(env.cr, "mrp", "14.0.2.0/noupdate_changes.xml") + openupgrade.delete_records_safely_by_xml_id( + env, ["mrp.mrp_routing_rule", "mrp.sequence_mrp_route"] + ) diff --git a/openupgrade_scripts/scripts/mrp/14.0.2.0/pre-migration.py b/openupgrade_scripts/scripts/mrp/14.0.2.0/pre-migration.py new file mode 100644 index 000000000000..e2f42d3f7c03 --- /dev/null +++ b/openupgrade_scripts/scripts/mrp/14.0.2.0/pre-migration.py @@ -0,0 +1,107 @@ +# Copyright 2021 ForgeFlow S.L. +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from openupgradelib import openupgrade + +_column_copies = { + "mrp_production": [ + ("priority", None, None), + ("state", None, None), + ], +} + + +def fill_mrp_routing_workcenter_bom_id(env): + openupgrade.logged_query( + env.cr, + """ + ALTER TABLE mrp_routing_workcenter + ADD COLUMN bom_id integer""", + ) + openupgrade.logged_query( + env.cr, + """ + ALTER TABLE mrp_routing_workcenter + ADD COLUMN old_routing_workcenter_id integer""", + ) + openupgrade.logged_query( + env.cr, + """ + ALTER TABLE mrp_routing_workcenter + ALTER COLUMN routing_id DROP NOT NULL""", + ) + openupgrade.logged_query( + env.cr, + """ + ALTER TABLE mrp_routing_workcenter + ALTER COLUMN batch DROP NOT NULL""", + ) + openupgrade.logged_query( + env.cr, + """ + INSERT INTO mrp_routing_workcenter (name, workcenter_id, sequence, + company_id, worksheet_type, note, worksheet_google_slide, time_mode, + time_mode_batch, time_cycle_manual, create_uid, write_uid, + create_date, write_date, bom_id, routing_id, + old_routing_workcenter_id) + SELECT mrw.name, mrw.workcenter_id, mrw.sequence, mrw.company_id, + mrw.worksheet_type, mrw.note, mrw.worksheet_google_slide, + mrw.time_mode, mrw.time_mode_batch, mrw.time_cycle_manual, + mrw.create_uid, mb.write_uid, mb.create_date, mb.create_date, + mb.id, mrw.routing_id, mrw.id + FROM mrp_routing_workcenter mrw + JOIN mrp_bom mb ON mb.routing_id = mrw.routing_id""", + ) + openupgrade.logged_query( + env.cr, + """ + UPDATE mrp_bom_line mbl + SET operation_id = mrw.id + FROM mrp_bom mb + JOIN mrp_routing_workcenter mrw ON mrw.bom_id = mb.id + JOIN mrp_routing_workcenter mrw2 ON mrw.old_routing_workcenter_id = mrw2.id + WHERE mbl.bom_id = mb.id AND mbl.operation_id = mrw2.id""", + ) + openupgrade.logged_query( + env.cr, + """ + UPDATE mrp_bom_byproduct mbp + SET operation_id = mrw.id + FROM mrp_bom mb + JOIN mrp_routing_workcenter mrw ON mrw.bom_id = mb.id + JOIN mrp_routing_workcenter mrw2 ON mrw.old_routing_workcenter_id = mrw2.id + WHERE mbp.bom_id = mb.id AND mbp.operation_id = mrw2.id""", + ) + openupgrade.logged_query( + env.cr, + """ + UPDATE mrp_workorder mw + SET operation_id = mrw.id + FROM mrp_production mp + JOIN mrp_bom mb ON mp.bom_id = mb.id + JOIN mrp_routing_workcenter mrw ON mrw.bom_id = mb.id + JOIN mrp_routing_workcenter mrw2 ON mrw.old_routing_workcenter_id = mrw2.id + WHERE mw.production_id = mp.id AND mw.operation_id = mrw2.id""", + ) + openupgrade.logged_query( + env.cr, + """ + UPDATE stock_move sm + SET operation_id = mrw.id + FROM mrp_production mp + JOIN mrp_bom mb ON mp.bom_id = mb.id + JOIN mrp_routing_workcenter mrw ON mrw.bom_id = mb.id + JOIN mrp_routing_workcenter mrw2 ON mrw.old_routing_workcenter_id = mrw2.id + WHERE sm.raw_material_production_id = mp.id AND sm.operation_id = mrw2.id""", + ) + openupgrade.logged_query( + env.cr, + """ + DELETE FROM mrp_routing_workcenter + WHERE old_routing_workcenter_id IS NULL""", + ) + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.copy_columns(env.cr, _column_copies) + fill_mrp_routing_workcenter_bom_id(env) diff --git a/openupgrade_scripts/scripts/mrp/14.0.2.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/mrp/14.0.2.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..544ccc0052bd --- /dev/null +++ b/openupgrade_scripts/scripts/mrp/14.0.2.0/upgrade_analysis_work.txt @@ -0,0 +1,198 @@ +---Models in module 'mrp'--- +obsolete model mrp.abstract.workorder [abstract] +obsolete model mrp.abstract.workorder.line [abstract] +obsolete model mrp.product.produce [transient] +obsolete model mrp.product.produce.line [transient] +new model mrp.consumption.warning [transient] +new model mrp.consumption.warning.line [transient] +new model mrp.immediate.production [transient] +new model mrp.immediate.production.line [transient] +new model mrp.production.backorder [transient] +new model mrp.production.backorder.line [transient] +# NOTHING TO DO: abstract + transient models + +obsolete model mrp.routing +obsolete model mrp.workorder.line +# NOTHING TO DO: obsolete models + +---Fields in module 'mrp'--- +mrp / mrp.document / key (char) : previously in module website +mrp / mrp.document / theme_template_id (many2one) : previously in module website_theme_install +mrp / mrp.document / website_id (many2one) : previously in module website +mrp / mrp.document / website_url (char) : previously in module website +# NOTHING TO DO: falsy analysis, but if anything, handled by ORM + +mrp / mrp.bom / consumption (selection) : now required, req_default: function +mrp / mrp.bom / consumption (selection) : selection_keys is now '['flexible', 'strict', 'warning']' ('['flexible', 'strict']') +# NOTHING TO DO: new default value 'warning' + +mrp / mrp.production / consumption (selection) : NEW required, selection_keys: ['flexible', 'strict', 'warning'], req_default: function, hasdefault +mrp / mrp.workorder / consumption (selection) : selection_keys is now '['flexible', 'strict', 'warning']' ('['flexible', 'strict']') +# NOTHING TO DO: new features + +mrp / mrp.bom / operation_ids (one2many) : NEW relation: mrp.routing.workcenter +mrp / mrp.routing / operation_ids (one2many) : DEL relation: mrp.routing.workcenter +mrp / mrp.routing.workcenter / bom_id (many2one) : NEW relation: mrp.bom +mrp / mrp.routing.workcenter / routing_id (many2one) : DEL relation: mrp.routing, required +# DONE: pre-migration: duplicate mrp.routing.workcenter records and fill bom_id + +mrp / mrp.bom / routing_id (many2one) : DEL relation: mrp.routing +mrp / mrp.bom.byproduct / routing_id (many2one) : DEL relation: mrp.routing +mrp / mrp.bom.line / routing_id (many2one) : DEL relation: mrp.routing +mrp / mrp.production / routing_id (many2one) : DEL relation: mrp.routing +# NOTHING TO DO: mrp.routing model is obsolete + +mrp / mrp.production / _order : _order is now 'priority desc, date_planned_start asc,id' ('date_planned_start asc,id') +# NOTHING TO DO + +mrp / mrp.production / backorder_sequence (integer) : NEW hasdefault +# NOTHING TO DO: new feature + +mrp / mrp.production / date_deadline (datetime) : now a function +mrp / mrp.production / date_start_wo (datetime) : DEL +# NOTHING TO DO + +mrp / mrp.production / lot_producing_id (many2one) : NEW relation: stock.production.lot +mrp / mrp.production / qty_producing (float) : NEW +# NOTHING TO DO: fields from mrp.abstract.workorder (used in old mrp.product.produce wizard) + +mrp / mrp.production / priority (selection) : selection_keys is now '['0', '1']' ('['0', '1', '2', '3']') +# DONE: post-migration: merge 1 to 0, and 2 and 3 to 1 + +mrp / mrp.production / product_description_variants (char): NEW +# TODO: new feature, may be filled in some cases + +mrp / mrp.production / production_location_id (many2one): is now stored +mrp / mrp.production / production_location_id (many2one): not related anymore +mrp / mrp.production / production_location_id (many2one): now a function +# NOTHING TO DO: computed in load + +mrp / mrp.production / propagate_date (boolean) : DEL +mrp / mrp.production / propagate_date_minimum_delta (integer): DEL +# NOTHING TO DO: not used anymore + +mrp / mrp.production / state (selection) : selection_keys is now '['cancel', 'confirmed', 'done', 'draft', 'progress', 'to_close']' ('['cancel', 'confirmed', 'done', 'draft', 'planned', 'progress', 'to_close']') +DONE: post-migration: map 'planned' to 'confirmed'/'progress'/'done' using _compute_state method + +mrp / mrp.routing / active (boolean) : DEL +mrp / mrp.routing / code (char) : DEL +mrp / mrp.routing / company_id (many2one) : DEL relation: res.company +mrp / mrp.routing / name (char) : DEL required +mrp / mrp.routing / note (text) : DEL +# NOTHING TO DO: obsolete model + +mrp / mrp.routing.workcenter / batch (selection) : DEL required, selection_keys: ['no', 'yes'], req_default: function +mrp / mrp.routing.workcenter / batch_size (float) : DEL +# NOTHING TO DO: obsolete + +mrp / mrp.routing.workcenter / company_id (many2one) : not related anymore +# NOTHING TO DO + +mrp / mrp.routing.workcenter / worksheet_type (selection) : selection_keys is now '['google_slide', 'pdf', 'text']' ('['google_slide', 'pdf']') +# NOTHING TO DO: new option 'text' + +mrp / mrp.workorder / activity_ids (one2many) : DEL relation: mail.activity +mrp / mrp.workorder / message_follower_ids (one2many): DEL relation: mail.followers +mrp / mrp.workorder / message_ids (one2many) : DEL relation: mail.message +mrp / mrp.workorder / message_main_attachment_id (many2one): DEL relation: ir.attachment +mrp / mrp.workorder / website_message_ids (one2many): DEL relation: mail.message +# NOTHING TO DO: losing mail mixins + +mrp / mrp.workorder / capacity (float) : DEL +# NOTHING TO DO: unused field + +mrp / mrp.workorder / finished_lot_id (many2one) : not stored anymore +mrp / mrp.workorder / finished_lot_id (many2one) : now a function +mrp / mrp.workorder / qty_producing (float) : not stored anymore +mrp / mrp.workorder / qty_producing (float) : now a function +# NOTHING TO DO: non-stored computes + +mrp / mrp.workorder.line / finished_workorder_id (many2one): DEL relation: mrp.workorder +mrp / mrp.workorder.line / lot_id (many2one) : DEL relation: stock.production.lot +mrp / mrp.workorder.line / move_id (many2one) : DEL relation: stock.move +mrp / mrp.workorder.line / product_id (many2one) : DEL relation: product.product, required +mrp / mrp.workorder.line / product_uom_id (many2one) : DEL relation: uom.uom +mrp / mrp.workorder.line / qty_done (float) : DEL +mrp / mrp.workorder.line / qty_reserved (float) : DEL +mrp / mrp.workorder.line / qty_to_consume (float) : DEL +mrp / mrp.workorder.line / raw_workorder_id (many2one) : DEL relation: mrp.workorder +mrp / mrp.workorder / finished_workorder_line_ids (one2many): DEL relation: mrp.workorder.line +# NOTHING TO DO: obsolete model + +mrp / procurement.group / mrp_production_ids (one2many) : NEW relation: mrp.production +# NOTHING TO DO: one2many + +mrp / stock.move / unit_factor (float) : now a function +# NOTHING TO DO: automatic compute + +mrp / stock.move.line / done_move (boolean) : DEL +mrp / stock.move.line / lot_produced_qty (float) : DEL +# NOTHING TO DO: unused fields + +mrp / stock.move.line / lot_produced_ids (many2many) : DEL relation: stock.production.lot +DONE: post-migration: use stock_move_line_stock_production_lot_rel to fill stock_move_line_consume_rel + +mrp / stock.warehouse.orderpoint / bom_id (many2one) : NEW relation: mrp.bom +# NOTHING TO DO: new feature + +---XML records in module 'mrp'--- +NEW digest.tip: mrp.digest_tip_mrp_0 +NEW ir.actions.act_window: mrp.action_mrp_consumption_warning +NEW ir.actions.act_window: mrp.action_mrp_production_backorder +NEW ir.actions.act_window: mrp.mrp_workorder_mrp_production_form +DEL ir.actions.act_window: mrp.act_mrp_product_produce +DEL ir.actions.act_window: mrp.act_product_mrp_production +DEL ir.actions.act_window: mrp.action_mrp_unbuild_move_line +DEL ir.actions.act_window: mrp.mrp_workcenter_productivity_loss_action +DEL ir.actions.act_window: mrp.mrp_workorder_delta_report +NEW ir.actions.server: mrp.action_production_order_mark_done +NEW ir.actions.server: mrp.mrp_production_action_unreserve_tree +NEW ir.model.access: mrp.access_change_production_qty +NEW ir.model.access: mrp.access_mrp_consumption_warning +NEW ir.model.access: mrp.access_mrp_consumption_warning_line +NEW ir.model.access: mrp.access_mrp_immediate_production +NEW ir.model.access: mrp.access_mrp_immediate_production_line +NEW ir.model.access: mrp.access_mrp_production_backorder +NEW ir.model.access: mrp.access_mrp_production_backorder_line +NEW ir.model.access: mrp.access_stock_warn_insufficient_qty_unbuild +DEL ir.model.access: mrp.access_mrp_resource_manager +DEL ir.model.access: mrp.access_mrp_routing +DEL ir.model.access: mrp.access_mrp_routing_manager +DEL ir.model.access: mrp.access_mrp_workorder_line_mrp_manager +DEL ir.model.access: mrp.access_mrp_workorder_line_mrp_user +NEW ir.ui.menu: mrp.menu_procurement_compute_mrp +DEL ir.ui.menu: mrp.menu_mrp_dashboard +NEW ir.ui.view: mrp.mrp_production_workorder_form_view_inherit_editable +NEW ir.ui.view: mrp.mrp_production_workorder_tree_editable_view +NEW ir.ui.view: mrp.mrp_production_workorder_tree_view +NEW ir.ui.view: mrp.mrp_report_product_product_replenishment +NEW ir.ui.view: mrp.mrp_unbuild_form_view_simplified +NEW ir.ui.view: mrp.stock_report_delivery_document_inherit_mrp +NEW ir.ui.view: mrp.stock_report_delivery_kit_sections +NEW ir.ui.view: mrp.stock_report_delivery_no_kit_section +NEW ir.ui.view: mrp.view_immediate_production +NEW ir.ui.view: mrp.view_mrp_consumption_warning_form +NEW ir.ui.view: mrp.view_mrp_document_form +NEW ir.ui.view: mrp.view_mrp_production_backorder_form +NEW ir.ui.view: mrp.view_stock_move_operations_finished +NEW ir.ui.view: mrp.view_stock_move_operations_raw +NEW ir.ui.view: mrp.view_warehouse_orderpoint_tree_editable_inherited_purchase +DEL ir.ui.view: mrp.mrp_product_produce_line_form +DEL ir.ui.view: mrp.mrp_product_produce_line_kanban +DEL ir.ui.view: mrp.mrp_production_workorder_tree_view_inherit +DEL ir.ui.view: mrp.mrp_routing_form_view +DEL ir.ui.view: mrp.mrp_routing_kanban_view +DEL ir.ui.view: mrp.mrp_routing_search_view +DEL ir.ui.view: mrp.mrp_routing_tree_view +DEL ir.ui.view: mrp.view_document_form +DEL ir.ui.view: mrp.view_finisehd_move_line +DEL ir.ui.view: mrp.view_move_kanban_inherit_mrp +DEL ir.ui.view: mrp.view_mrp_product_produce_wizard +DEL ir.ui.view: mrp.view_stock_move_lots +DEL ir.ui.view: mrp.view_stock_move_raw_tree +NEW res.groups: mrp.group_locked_by_default +# NOTHING TO DO + +DEL ir.rule: mrp.mrp_routing_rule (noupdate) +DEL ir.sequence: mrp.sequence_mrp_route (noupdate) +# DONE: post-migration: safely deleted xmlids From a09e41264475314d5ecb24e26b2528a1a42a70a5 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Sun, 27 Mar 2022 17:51:30 +0200 Subject: [PATCH 090/403] [OU-ADD] mrp: Migration scripts (continuation) --- .../scripts/mrp/14.0.2.0/noupdate_changes.xml | 22 +++++------ .../scripts/mrp/14.0.2.0/post-migration.py | 38 +++++++++++++++++++ .../scripts/mrp/14.0.2.0/pre-migration.py | 28 ++++++++++++++ .../mrp/14.0.2.0/upgrade_analysis_work.txt | 19 ++++++---- 4 files changed, 88 insertions(+), 19 deletions(-) diff --git a/openupgrade_scripts/scripts/mrp/14.0.2.0/noupdate_changes.xml b/openupgrade_scripts/scripts/mrp/14.0.2.0/noupdate_changes.xml index a0c7c162ccea..330faff28cc2 100644 --- a/openupgrade_scripts/scripts/mrp/14.0.2.0/noupdate_changes.xml +++ b/openupgrade_scripts/scripts/mrp/14.0.2.0/noupdate_changes.xml @@ -1,30 +1,30 @@ - - + + - + - + - + - + - + - + - - + + --> diff --git a/openupgrade_scripts/scripts/mrp/14.0.2.0/post-migration.py b/openupgrade_scripts/scripts/mrp/14.0.2.0/post-migration.py index 55403f593e7b..a622eae1ecb5 100644 --- a/openupgrade_scripts/scripts/mrp/14.0.2.0/post-migration.py +++ b/openupgrade_scripts/scripts/mrp/14.0.2.0/post-migration.py @@ -45,11 +45,49 @@ def map_mrp_production_state_planned(env): env["mrp.production"].search([("state", "=", "planned")])._compute_state() +def generate_workorders_for_draft_orders(env): + """Recreate workorders for draft production orders, as in v13, this is only done + later when planning production. + """ + env.cr.execute( + "SELECT id, routing_id FROM mrp_production " + "WHERE state = 'draft' AND routing_id IS NOT NULL" + ) + for production_id, routing_id in env.cr.fetchall(): + production = env["mrp.production"].browse(production_id) + workorders_values = [] + env.cr.execute( + """ + SELECT mrw.id, mrw.name, mrw.workcenter_id + FROM mrp_routing_workcenter mrw + WHERE mrw.routing_id = %s AND mrw.bom_id = %s + """, + (routing_id, production.bom_id.id), + ) + # TODO: If there are phantom BoMs with other routings, it won't be covered + for operation_id, operation_name, workcenter_id in env.cr.fetchall(): + workorders_values += [ + { + "name": operation_name, + "production_id": production_id, + "workcenter_id": workcenter_id, + "product_uom_id": production.product_uom_id.id, + "operation_id": operation_id, + "state": "pending", + "consumption": production.consumption, + } + ] + workorders = production.workorder_ids.create(workorders_values) + for workorder in workorders: + workorder.duration_expected = workorder._get_duration_expected() + + @openupgrade.migrate() def migrate(env, version): merge_priorities(env) map_stock_move_line_lot_produced_ids(env) map_mrp_production_state_planned(env) + generate_workorders_for_draft_orders(env) openupgrade.load_data(env.cr, "mrp", "14.0.2.0/noupdate_changes.xml") openupgrade.delete_records_safely_by_xml_id( env, ["mrp.mrp_routing_rule", "mrp.sequence_mrp_route"] diff --git a/openupgrade_scripts/scripts/mrp/14.0.2.0/pre-migration.py b/openupgrade_scripts/scripts/mrp/14.0.2.0/pre-migration.py index e2f42d3f7c03..b13948247770 100644 --- a/openupgrade_scripts/scripts/mrp/14.0.2.0/pre-migration.py +++ b/openupgrade_scripts/scripts/mrp/14.0.2.0/pre-migration.py @@ -10,6 +10,32 @@ } +def switch_flexible_consumption_to_warning(env): + """For benefiting from this new feature.""" + openupgrade.logged_query( + env.cr, + "UPDATE mrp_bom SET consumption = 'warning' WHERE consumption='flexible'", + ) + openupgrade.logged_query( + env.cr, + "UPDATE mrp_workorder SET consumption = 'warning' WHERE consumption='flexible'", + ) + + +def fill_mrp_production__consumption(env): + openupgrade.logged_query( + env.cr, "ALTER TABLE mrp_production ADD consumption VARCHAR" + ) + openupgrade.logged_query( + env.cr, + """UPDATE mrp_production mp + SET consumption = mb.consumption + FROM mrp_bom mb + WHERE mb.id = mp.bom_id + """, + ) + + def fill_mrp_routing_workcenter_bom_id(env): openupgrade.logged_query( env.cr, @@ -104,4 +130,6 @@ def fill_mrp_routing_workcenter_bom_id(env): @openupgrade.migrate() def migrate(env, version): openupgrade.copy_columns(env.cr, _column_copies) + switch_flexible_consumption_to_warning(env) + fill_mrp_production__consumption(env) fill_mrp_routing_workcenter_bom_id(env) diff --git a/openupgrade_scripts/scripts/mrp/14.0.2.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/mrp/14.0.2.0/upgrade_analysis_work.txt index 544ccc0052bd..3d6e0bc5524f 100644 --- a/openupgrade_scripts/scripts/mrp/14.0.2.0/upgrade_analysis_work.txt +++ b/openupgrade_scripts/scripts/mrp/14.0.2.0/upgrade_analysis_work.txt @@ -11,7 +11,6 @@ new model mrp.production.backorder [transient] new model mrp.production.backorder.line [transient] # NOTHING TO DO: abstract + transient models -obsolete model mrp.routing obsolete model mrp.workorder.line # NOTHING TO DO: obsolete models @@ -24,24 +23,28 @@ mrp / mrp.document / website_url (char) : previo mrp / mrp.bom / consumption (selection) : now required, req_default: function mrp / mrp.bom / consumption (selection) : selection_keys is now '['flexible', 'strict', 'warning']' ('['flexible', 'strict']') -# NOTHING TO DO: new default value 'warning' +mrp / mrp.workorder / consumption (selection) : selection_keys is now '['flexible', 'strict', 'warning']' ('['flexible', 'strict']') +# DONE: pre-migration: Switch 'flexible' to 'warning' for benefiting from this new feature mrp / mrp.production / consumption (selection) : NEW required, selection_keys: ['flexible', 'strict', 'warning'], req_default: function, hasdefault -mrp / mrp.workorder / consumption (selection) : selection_keys is now '['flexible', 'strict', 'warning']' ('['flexible', 'strict']') -# NOTHING TO DO: new features +# DONE: pre-migration: Init the field with its related BoM value +obsolete model mrp.routing mrp / mrp.bom / operation_ids (one2many) : NEW relation: mrp.routing.workcenter mrp / mrp.routing / operation_ids (one2many) : DEL relation: mrp.routing.workcenter mrp / mrp.routing.workcenter / bom_id (many2one) : NEW relation: mrp.bom mrp / mrp.routing.workcenter / routing_id (many2one) : DEL relation: mrp.routing, required -# DONE: pre-migration: duplicate mrp.routing.workcenter records and fill bom_id - mrp / mrp.bom / routing_id (many2one) : DEL relation: mrp.routing +# DONE: pre-migration: duplicate mrp.routing.workcenter records per assigned BoM, filling bom_id +# TODO: There can be mrp.routing without assigned BoMs that will be in a limbo after this migration. This will be highlighted through mrp.routing.workcenter having nulls in `bom_id` field. One possible strategy is to create fake BoMs for that routings with a wildcard product. + mrp / mrp.bom.byproduct / routing_id (many2one) : DEL relation: mrp.routing mrp / mrp.bom.line / routing_id (many2one) : DEL relation: mrp.routing -mrp / mrp.production / routing_id (many2one) : DEL relation: mrp.routing # NOTHING TO DO: mrp.routing model is obsolete +mrp / mrp.production / routing_id (many2one) : DEL relation: mrp.routing +# DONE: post-migration: Populate workorders for draft production orders from old routing + mrp / mrp.production / _order : _order is now 'priority desc, date_planned_start asc,id' ('date_planned_start asc,id') # NOTHING TO DO @@ -117,7 +120,7 @@ mrp / mrp.workorder.line / qty_reserved (float) : DEL mrp / mrp.workorder.line / qty_to_consume (float) : DEL mrp / mrp.workorder.line / raw_workorder_id (many2one) : DEL relation: mrp.workorder mrp / mrp.workorder / finished_workorder_line_ids (one2many): DEL relation: mrp.workorder.line -# NOTHING TO DO: obsolete model +# TODO: Not clear if there should be any conversion mrp / procurement.group / mrp_production_ids (one2many) : NEW relation: mrp.production # NOTHING TO DO: one2many From 1f6d9e4ec20de570ea4a12bc81996c9d8409443d Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Sun, 27 Mar 2022 20:50:34 +0200 Subject: [PATCH 091/403] [OU-ADD] web_unsplash: Nothing to do Even no analysis file TT30043 --- docsource/modules130-140.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index ec78494dc1a6..b56f41dd85f5 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -686,7 +686,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |web_tour | Nothing to do | +--------------------------------------------+-------------------------------------------------+ -|web_unsplash | | +|web_unsplash | Nothing to do | +--------------------------------------------+-------------------------------------------------+ |website | Done | +--------------------------------------------+-------------------------------------------------+ From d6d897bf482d57de4c2c8c4cc25838b15443d5ec Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 27 Mar 2022 18:53:36 +0000 Subject: [PATCH 092/403] [UPD] HTML documentation --- docs/.buildinfo | 2 +- docs/API.html | 2 +- docs/_static/doctools.js | 72 +++++++++++++++++++-------- docs/_static/documentation_options.js | 4 +- docs/_static/searchtools.js | 8 +-- docs/after_migration.html | 2 +- docs/analyse.html | 2 +- docs/analysis.html | 2 +- docs/community.html | 2 +- docs/coverage_legend.html | 2 +- docs/development.html | 2 +- docs/devfaq.html | 2 +- docs/format.html | 2 +- docs/genindex.html | 2 +- docs/index.html | 2 +- docs/intro.html | 2 +- docs/migration_details.html | 2 +- docs/migrationmanager.html | 2 +- docs/modules100-110.html | 2 +- docs/modules110-120.html | 2 +- docs/modules120-130.html | 2 +- docs/modules130-140.html | 14 +++--- docs/modules50-60.html | 2 +- docs/modules60-61.html | 2 +- docs/modules61-70.html | 2 +- docs/modules70-80.html | 2 +- docs/modules80-90.html | 2 +- docs/modules90-100.html | 2 +- docs/py-modindex.html | 2 +- docs/search.html | 2 +- docs/searchindex.js | 2 +- docs/status.html | 2 +- docs/xmlids.html | 2 +- 33 files changed, 93 insertions(+), 63 deletions(-) diff --git a/docs/.buildinfo b/docs/.buildinfo index f380dfd99014..acedee56d4a9 100644 --- a/docs/.buildinfo +++ b/docs/.buildinfo @@ -1,4 +1,4 @@ # Sphinx build info version 1 # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. -config: 42c543985a50af3760286617c327a56e +config: a8112f43cfcc43fbce6eb873ea87ab34 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/docs/API.html b/docs/API.html index 2924e355d2ad..ee329d28f64f 100644 --- a/docs/API.html +++ b/docs/API.html @@ -1123,7 +1123,7 @@

Quick search

©2012-2021, Odoo Community Association (OCA) / The OpenUpgrade developers. | - Powered by
Sphinx 4.4.0 + Powered by Sphinx 4.5.0 & Alabaster 0.7.12 diff --git a/docs/_static/doctools.js b/docs/_static/doctools.js index e509e48349c5..e1bfd708b7f4 100644 --- a/docs/_static/doctools.js +++ b/docs/_static/doctools.js @@ -154,9 +154,7 @@ var Documentation = { this.fixFirefoxAnchorBug(); this.highlightSearchWords(); this.initIndexTable(); - if (DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) { - this.initOnKeyListeners(); - } + this.initOnKeyListeners(); }, /** @@ -269,6 +267,13 @@ var Documentation = { window.history.replaceState({}, '', url); }, + /** + * helper function to focus on search bar + */ + focusSearchBar : function() { + $('input[name=q]').first().focus(); + }, + /** * make the url absolute */ @@ -291,27 +296,54 @@ var Documentation = { }, initOnKeyListeners: function() { + // only install a listener if it is really needed + if (!DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS && + !DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS) + return; + $(document).keydown(function(event) { var activeElementType = document.activeElement.tagName; // don't navigate when in search box, textarea, dropdown or button if (activeElementType !== 'TEXTAREA' && activeElementType !== 'INPUT' && activeElementType !== 'SELECT' - && activeElementType !== 'BUTTON' && !event.altKey && !event.ctrlKey && !event.metaKey - && !event.shiftKey) { - switch (event.keyCode) { - case 37: // left - var prevHref = $('link[rel="prev"]').prop('href'); - if (prevHref) { - window.location.href = prevHref; - return false; - } - break; - case 39: // right - var nextHref = $('link[rel="next"]').prop('href'); - if (nextHref) { - window.location.href = nextHref; - return false; - } - break; + && activeElementType !== 'BUTTON') { + if (event.altKey || event.ctrlKey || event.metaKey) + return; + + if (!event.shiftKey) { + switch (event.key) { + case 'ArrowLeft': + if (!DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) + break; + var prevHref = $('link[rel="prev"]').prop('href'); + if (prevHref) { + window.location.href = prevHref; + return false; + } + break; + case 'ArrowRight': + if (!DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) + break; + var nextHref = $('link[rel="next"]').prop('href'); + if (nextHref) { + window.location.href = nextHref; + return false; + } + break; + case 'Escape': + if (!DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS) + break; + Documentation.hideSearchWords(); + return false; + } + } + + // some keyboard layouts may need Shift to get / + switch (event.key) { + case '/': + if (!DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS) + break; + Documentation.focusSearchBar(); + return false; } } }); diff --git a/docs/_static/documentation_options.js b/docs/_static/documentation_options.js index 7ca0b5f601e6..d3ff5d23f1ea 100644 --- a/docs/_static/documentation_options.js +++ b/docs/_static/documentation_options.js @@ -8,5 +8,7 @@ var DOCUMENTATION_OPTIONS = { LINK_SUFFIX: '.html', HAS_SOURCE: false, SOURCELINK_SUFFIX: '.txt', - NAVIGATION_WITH_KEYS: false + NAVIGATION_WITH_KEYS: false, + SHOW_SEARCH_SUMMARY: true, + ENABLE_SEARCH_SHORTCUTS: true, }; \ No newline at end of file diff --git a/docs/_static/searchtools.js b/docs/_static/searchtools.js index 2d7785937bb7..0a44e8582f6e 100644 --- a/docs/_static/searchtools.js +++ b/docs/_static/searchtools.js @@ -172,10 +172,6 @@ var Search = { } // stem the word var word = stemmer.stemWord(tmp[i].toLowerCase()); - // prevent stemmer from cutting word smaller than two chars - if(word.length < 3 && tmp[i].length >= 3) { - word = tmp[i]; - } var toAppend; // select the correct list if (word[0] == '-') { @@ -276,7 +272,7 @@ var Search = { setTimeout(function() { displayNextItem(); }, 5); - } else if (DOCUMENTATION_OPTIONS.HAS_SOURCE) { + } else if (DOCUMENTATION_OPTIONS.SHOW_SEARCH_SUMMARY) { $.ajax({url: requestUrl, dataType: "text", complete: function(jqxhr, textstatus) { @@ -293,7 +289,7 @@ var Search = { }, 5); }}); } else { - // no source available, just display title + // just display title Search.output.append(listItem); setTimeout(function() { displayNextItem(); diff --git a/docs/after_migration.html b/docs/after_migration.html index 6e292a67d5e4..883c32d76bfe 100644 --- a/docs/after_migration.html +++ b/docs/after_migration.html @@ -119,7 +119,7 @@

Quick search

©2012-2021, Odoo Community Association (OCA) / The OpenUpgrade developers. | - Powered by Sphinx 4.4.0 + Powered by Sphinx 4.5.0 & Alabaster 0.7.12 diff --git a/docs/analyse.html b/docs/analyse.html index 239852abd0c7..3281bad58ab3 100644 --- a/docs/analyse.html +++ b/docs/analyse.html @@ -141,7 +141,7 @@

Quick search

©2012-2021, Odoo Community Association (OCA) / The OpenUpgrade developers. | - Powered by Sphinx 4.4.0 + Powered by Sphinx 4.5.0 & Alabaster 0.7.12 diff --git a/docs/analysis.html b/docs/analysis.html index 6b218f1d61de..6a124abc8c09 100644 --- a/docs/analysis.html +++ b/docs/analysis.html @@ -151,7 +151,7 @@

Quick search

©2012-2021, Odoo Community Association (OCA) / The OpenUpgrade developers. | - Powered by Sphinx 4.4.0 + Powered by Sphinx 4.5.0 & Alabaster 0.7.12 diff --git a/docs/community.html b/docs/community.html index d1590e9a11ec..133658776f88 100644 --- a/docs/community.html +++ b/docs/community.html @@ -119,7 +119,7 @@

Quick search

©2012-2021, Odoo Community Association (OCA) / The OpenUpgrade developers. | - Powered by Sphinx 4.4.0 + Powered by Sphinx 4.5.0 & Alabaster 0.7.12 diff --git a/docs/coverage_legend.html b/docs/coverage_legend.html index 6e3cf7512e66..be1bfecb32e0 100644 --- a/docs/coverage_legend.html +++ b/docs/coverage_legend.html @@ -104,7 +104,7 @@

Quick search

©2012-2021, Odoo Community Association (OCA) / The OpenUpgrade developers. | - Powered by Sphinx 4.4.0 + Powered by Sphinx 4.5.0 & Alabaster 0.7.12 diff --git a/docs/development.html b/docs/development.html index a6459f373dbe..4a1eaf44b552 100644 --- a/docs/development.html +++ b/docs/development.html @@ -220,7 +220,7 @@

Quick search

©2012-2021, Odoo Community Association (OCA) / The OpenUpgrade developers. | - Powered by Sphinx 4.4.0 + Powered by Sphinx 4.5.0 & Alabaster 0.7.12 diff --git a/docs/devfaq.html b/docs/devfaq.html index 41a0435be866..effe704ead3b 100644 --- a/docs/devfaq.html +++ b/docs/devfaq.html @@ -130,7 +130,7 @@

Quick search

©2012-2021, Odoo Community Association (OCA) / The OpenUpgrade developers. | - Powered by Sphinx 4.4.0 + Powered by Sphinx 4.5.0 & Alabaster 0.7.12 diff --git a/docs/format.html b/docs/format.html index 7cc5a45a8576..727ddbd00716 100644 --- a/docs/format.html +++ b/docs/format.html @@ -182,7 +182,7 @@

Quick search

©2012-2021, Odoo Community Association (OCA) / The OpenUpgrade developers. | - Powered by Sphinx 4.4.0 + Powered by Sphinx 4.5.0 & Alabaster 0.7.12 diff --git a/docs/genindex.html b/docs/genindex.html index 6620f6ed8f4a..dea76a5f3e9a 100644 --- a/docs/genindex.html +++ b/docs/genindex.html @@ -357,7 +357,7 @@

Quick search

©2012-2021, Odoo Community Association (OCA) / The OpenUpgrade developers. | - Powered by Sphinx 4.4.0 + Powered by Sphinx 4.5.0 & Alabaster 0.7.12 diff --git a/docs/index.html b/docs/index.html index 553134052c60..571a9752984e 100644 --- a/docs/index.html +++ b/docs/index.html @@ -192,7 +192,7 @@

Quick search

©2012-2021, Odoo Community Association (OCA) / The OpenUpgrade developers. | - Powered by Sphinx 4.4.0 + Powered by Sphinx 4.5.0 & Alabaster 0.7.12 diff --git a/docs/intro.html b/docs/intro.html index 3579a6d02382..016db3be046f 100644 --- a/docs/intro.html +++ b/docs/intro.html @@ -155,7 +155,7 @@

Quick search

©2012-2021, Odoo Community Association (OCA) / The OpenUpgrade developers. | - Powered by Sphinx 4.4.0 + Powered by Sphinx 4.5.0 & Alabaster 0.7.12 diff --git a/docs/migration_details.html b/docs/migration_details.html index 0c6c9611ce73..61e731a64864 100644 --- a/docs/migration_details.html +++ b/docs/migration_details.html @@ -209,7 +209,7 @@

Quick search

©2012-2021, Odoo Community Association (OCA) / The OpenUpgrade developers. | - Powered by Sphinx 4.4.0 + Powered by Sphinx 4.5.0 & Alabaster 0.7.12 diff --git a/docs/migrationmanager.html b/docs/migrationmanager.html index 47c39a199272..525cf491d000 100644 --- a/docs/migrationmanager.html +++ b/docs/migrationmanager.html @@ -133,7 +133,7 @@

Quick search

©2012-2021, Odoo Community Association (OCA) / The OpenUpgrade developers. | - Powered by Sphinx 4.4.0 + Powered by Sphinx 4.5.0 & Alabaster 0.7.12 diff --git a/docs/modules100-110.html b/docs/modules100-110.html index d0c1272e7780..4061b8fe798f 100644 --- a/docs/modules100-110.html +++ b/docs/modules100-110.html @@ -1057,7 +1057,7 @@

Quick search

©2012-2021, Odoo Community Association (OCA) / The OpenUpgrade developers. | - Powered by Sphinx 4.4.0 + Powered by Sphinx 4.5.0 & Alabaster 0.7.12 diff --git a/docs/modules110-120.html b/docs/modules110-120.html index ff7c2af06303..56abcb982de6 100644 --- a/docs/modules110-120.html +++ b/docs/modules110-120.html @@ -1114,7 +1114,7 @@

Quick search

©2012-2021, Odoo Community Association (OCA) / The OpenUpgrade developers. | - Powered by Sphinx 4.4.0 + Powered by Sphinx 4.5.0 & Alabaster 0.7.12 diff --git a/docs/modules120-130.html b/docs/modules120-130.html index 73fee4a1f3f2..6696f8b49f9b 100644 --- a/docs/modules120-130.html +++ b/docs/modules120-130.html @@ -1239,7 +1239,7 @@

Quick search

©2012-2021, Odoo Community Association (OCA) / The OpenUpgrade developers. | - Powered by Sphinx 4.4.0 + Powered by Sphinx 4.5.0 & Alabaster 0.7.12 diff --git a/docs/modules130-140.html b/docs/modules130-140.html index f73d075fa551..9c0ddfedc904 100644 --- a/docs/modules130-140.html +++ b/docs/modules130-140.html @@ -104,7 +104,7 @@

Module coverage 13.0 -> 14.0

account_payment

- +

Nothing to do

new account_qr_code_sepa

@@ -242,7 +242,7 @@

Module coverage 13.0 -> 14.0

event_sale

- +

Done

event_sms

@@ -725,7 +725,7 @@

Module coverage 13.0 -> 14.0

membership

- +

Nothing to do

new microsoft_account

@@ -734,7 +734,7 @@

Module coverage 13.0 -> 14.0

mrp

- +

Done

mrp_account

@@ -908,7 +908,7 @@

Module coverage 13.0 -> 14.0

purchase_mrp

- +

Nothing to do

purchase_product_matrix

@@ -920,7 +920,7 @@

Module coverage 13.0 -> 14.0

purchase_stock

- +

Nothing to do

rating

Done

@@ -1333,7 +1333,7 @@

Quick search

©2012-2021, Odoo Community Association (OCA) / The OpenUpgrade developers. | - Powered by
Sphinx 4.4.0 + Powered by Sphinx 4.5.0 & Alabaster 0.7.12 diff --git a/docs/modules50-60.html b/docs/modules50-60.html index 76cf1213e9a6..1e4af05444d8 100644 --- a/docs/modules50-60.html +++ b/docs/modules50-60.html @@ -628,7 +628,7 @@

Quick search

©2012-2021, Odoo Community Association (OCA) / The OpenUpgrade developers. | - Powered by Sphinx 4.4.0 + Powered by Sphinx 4.5.0 & Alabaster 0.7.12 diff --git a/docs/modules60-61.html b/docs/modules60-61.html index 08222f963d0e..e757abe57858 100644 --- a/docs/modules60-61.html +++ b/docs/modules60-61.html @@ -636,7 +636,7 @@

Quick search

©2012-2021, Odoo Community Association (OCA) / The OpenUpgrade developers. | - Powered by Sphinx 4.4.0 + Powered by Sphinx 4.5.0 & Alabaster 0.7.12 diff --git a/docs/modules61-70.html b/docs/modules61-70.html index 6ee2a0e132d9..715bef0cd7cf 100644 --- a/docs/modules61-70.html +++ b/docs/modules61-70.html @@ -722,7 +722,7 @@

Quick search

©2012-2021, Odoo Community Association (OCA) / The OpenUpgrade developers. | - Powered by Sphinx 4.4.0 + Powered by Sphinx 4.5.0 & Alabaster 0.7.12 diff --git a/docs/modules70-80.html b/docs/modules70-80.html index 080a232f6a8b..9a28fb151254 100644 --- a/docs/modules70-80.html +++ b/docs/modules70-80.html @@ -910,7 +910,7 @@

Quick search

©2012-2021, Odoo Community Association (OCA) / The OpenUpgrade developers. | - Powered by Sphinx 4.4.0 + Powered by Sphinx 4.5.0 & Alabaster 0.7.12 diff --git a/docs/modules80-90.html b/docs/modules80-90.html index 1116fd7f0bb7..de9669500990 100644 --- a/docs/modules80-90.html +++ b/docs/modules80-90.html @@ -1149,7 +1149,7 @@

Quick search

©2012-2021, Odoo Community Association (OCA) / The OpenUpgrade developers. | - Powered by Sphinx 4.4.0 + Powered by Sphinx 4.5.0 & Alabaster 0.7.12 diff --git a/docs/modules90-100.html b/docs/modules90-100.html index e5c0f367a9fe..07f3a20cfbe2 100644 --- a/docs/modules90-100.html +++ b/docs/modules90-100.html @@ -1046,7 +1046,7 @@

Quick search

©2012-2021, Odoo Community Association (OCA) / The OpenUpgrade developers. | - Powered by Sphinx 4.4.0 + Powered by Sphinx 4.5.0 & Alabaster 0.7.12 diff --git a/docs/py-modindex.html b/docs/py-modindex.html index 99d4f4d0e99a..d6683d6868f8 100644 --- a/docs/py-modindex.html +++ b/docs/py-modindex.html @@ -132,7 +132,7 @@

Quick search

©2012-2021, Odoo Community Association (OCA) / The OpenUpgrade developers. | - Powered by Sphinx 4.4.0 + Powered by Sphinx 4.5.0 & Alabaster 0.7.12 diff --git a/docs/search.html b/docs/search.html index 85b6291946cd..35fc3b6be261 100644 --- a/docs/search.html +++ b/docs/search.html @@ -116,7 +116,7 @@

Related Topics

©2012-2021, Odoo Community Association (OCA) / The OpenUpgrade developers. | - Powered by Sphinx 4.4.0 + Powered by Sphinx 4.5.0 & Alabaster 0.7.12 diff --git a/docs/searchindex.js b/docs/searchindex.js index 689f3b7e936d..894a62ca8d77 100644 --- a/docs/searchindex.js +++ b/docs/searchindex.js @@ -1 +1 @@ -Search.setIndex({docnames:["API","after_migration","analyse","analysis","community","coverage_legend","development","devfaq","format","index","intro","migration_details","migrationmanager","modules100-110","modules110-120","modules120-130","modules130-140","modules50-60","modules60-61","modules61-70","modules70-80","modules80-90","modules90-100","status","xmlids"],envversion:{"sphinx.domains.c":2,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":4,"sphinx.domains.index":1,"sphinx.domains.javascript":2,"sphinx.domains.math":2,"sphinx.domains.python":3,"sphinx.domains.rst":2,"sphinx.domains.std":2,sphinx:56},filenames:["API.rst","after_migration.rst","analyse.rst","analysis.rst","community.rst","coverage_legend.rst","development.rst","devfaq.rst","format.rst","index.rst","intro.rst","migration_details.rst","migrationmanager.rst","modules100-110.rst","modules110-120.rst","modules120-130.rst","modules130-140.rst","modules50-60.rst","modules60-61.rst","modules61-70.rst","modules70-80.rst","modules80-90.rst","modules90-100.rst","status.rst","xmlids.rst"],objects:{"openupgradelib.openupgrade":[[0,1,1,"","add_fields"],[0,1,1,"","add_ir_model_fields"],[0,1,1,"","add_xmlid"],[0,1,1,"","check_values_selection_field"],[0,1,1,"","chunked"],[0,1,1,"","column_exists"],[0,1,1,"","convert_field_to_html"],[0,1,1,"","convert_to_company_dependent"],[0,1,1,"","copy_columns"],[0,1,1,"","copy_fields_multilang"],[0,1,1,"","cow_templates_mark_if_equal_to_upstream"],[0,1,1,"","cow_templates_replicate_upstream"],[0,1,1,"","date_to_datetime_tz"],[0,1,1,"","deactivate_workflow_transitions"],[0,1,1,"","delete_model_workflow"],[0,1,1,"","delete_record_translations"],[0,1,1,"","delete_records_safely_by_xml_id"],[0,1,1,"","disable_invalid_filters"],[0,1,1,"","drop_columns"],[0,1,1,"","float_to_integer"],[0,1,1,"","get_legacy_name"],[0,1,1,"","lift_constraints"],[0,1,1,"","load_data"],[0,1,1,"","logged_query"],[0,1,1,"","logging"],[0,1,1,"","m2o_to_x2m"],[0,1,1,"","map_values"],[0,1,1,"","message"],[0,1,1,"","migrate"],[0,1,1,"","move_field_m2o"],[0,1,1,"","reactivate_workflow_transitions"],[0,1,1,"","remove_tables_fks"],[0,1,1,"","rename_columns"],[0,1,1,"","rename_fields"],[0,1,1,"","rename_models"],[0,1,1,"","rename_property"],[0,1,1,"","rename_tables"],[0,1,1,"","rename_xmlids"],[0,1,1,"","safe_unlink"],[0,1,1,"","set_defaults"],[0,1,1,"","set_xml_ids_noupdate_value"],[0,1,1,"","table_exists"],[0,1,1,"","update_field_multilang"],[0,1,1,"","update_module_moved_fields"],[0,1,1,"","update_module_names"],[0,1,1,"","update_workflow_workitems"],[0,1,1,"","warn_possible_dataloss"]],"openupgradelib.openupgrade_70":[[0,1,1,"","get_partner_id_from_user_id"],[0,1,1,"","set_partner_id_from_partner_address_id"]],"openupgradelib.openupgrade_80":[[0,1,1,"","get_last_post_for_model"],[0,1,1,"","set_message_last_post"],[0,1,1,"","update_aliases"]],"openupgradelib.openupgrade_90":[[0,1,1,"","convert_binary_field_to_attachment"],[0,1,1,"","replace_account_types"]],openupgradelib:[[0,0,0,"-","openupgrade"],[0,0,0,"-","openupgrade_70"],[0,0,0,"-","openupgrade_80"],[0,0,0,"-","openupgrade_90"]]},objnames:{"0":["py","module","Python module"],"1":["py","function","Python function"]},objtypes:{"0":"py:module","1":"py:function"},terms:{"0":[2,3,7,9,10,11,12,23],"1":[0,9,10,13,14,20,21,23],"10":[0,9,23],"1000":0,"11":[0,9,23],"12":[0,6,9,11,23],"13":[6,9,11,23],"14":[2,3,6,9,10,11,23],"2":[0,6,9,10,12,14,18,20,21],"2273":6,"2275":6,"2499":6,"3":[6,9,10,20,21],"3apr":6,"4":[0,9,10,12,21],"5":[0,9,10,21,23],"5bfix":6,"5d":6,"6":[0,8,9,20,21,23],"7":[9,21,23],"7c95c14c06d77e5ebbd7aafd9c0c345b47d27d30":12,"8":[9,23],"8069":6,"8b02879ff5":12,"9":[7,9,12,23],"9201f92a4f29a53a014b462469f27b32dca8fc5a":0,"boolean":0,"break":0,"case":[0,2,6,8,24],"catch":0,"char":[0,8],"default":[0,8],"do":[0,2,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,24],"export":[0,11],"final":8,"float":0,"function":[0,4,6,8,10],"import":0,"new":[0,1,2,5,7,8,11,13,14,15,16,19,21,22,24],"null":0,"return":[0,7],"static":0,"switch":0,"true":[0,7],"try":[0,4,6,11],"while":1,A:[0,3,5,6,8,11,16],As:[0,6],At:[8,11],Be:11,But:6,For:[0,6,7,11,12,23],If:[0,2,4,8,9,11,24],In:[0,2,3,5,6,10,12,16,24],It:[0,6,8,10,12],No:[0,13,14,15,19,20,21,22],Not:[0,5,16],Of:8,On:2,One:0,Or:11,That:[2,6,7],The:[0,1,2,3,7,8,9,10,11,20,23,24],Then:6,There:[1,12],These:[0,6,22],To:0,With:11,_database_cleanup_:1,_inherit:8,_tabl:0,abl:0,about:[0,9,11],abov:[0,6],absolut:11,acc:6,access:[8,22,24],accomplish:4,accord:[0,6],account:[0,6,7,9,13,15,16,17,18,19,20,21],account_account:[13,17,18,19,20,21,22],account_analytic_analysi:[17,18,19,20,21],account_analytic_default:[13,14,15,16,17,18,19,20,21,22],account_analytic_default_hr_expens:[15,16],account_analytic_default_purchas:[15,16],account_analytic_distribut:21,account_analytic_plan:[17,18,19,20,21],account_anglo_saxon:[17,18,19,20,21],account_asset:[13,14,19,20,21,22],account_asset_manag:14,account_bank_statement_extens:[19,20,21],account_bank_statement_import:[13,14,15,16,21,22],account_budget:[13,14,17,18,19,20,21,22],account_budget_oca:14,account_cancel:[13,14,15,17,18,19,20,21,22],account_cash_basis_base_account:[13,14,21,22],account_chart:[17,18,19,20,21],account_check_print:[13,14,15,16,21,22],account_check_writ:[19,20,21],account_coda:[17,18],account_debit_not:[15,16],account_edi:16,account_edi_extend:16,account_edi_facturx:16,account_edi_proxy_cli:16,account_edi_ubl:16,account_extra_report:[21,22],account_facturx:[14,15,16],account_fleet:16,account_followup:[17,18,19,20,21],account_full_reconcil:[21,22],account_invo:[13,14],account_invoice_layout:[17,18],account_invoice_ship:22,account_lock:[13,14,15,16,21,22],account_pay:[13,14,15,16,17,18,19,20,21],account_payment_ord:21,account_qr_code_sepa:16,account_revers:14,account_sequ:[17,18,19,20,21],account_statement_import:16,account_tax_adjust:[21,22],account_tax_cash_basi:[13,21,22],account_tax_exig:[21,22],account_tax_python:[13,14,15,16,21,22],account_test:[13,14,15,16,19,20,21,22],account_vouch:[13,14,15,17,18,19,20,21,22],achiev:6,across:11,action:[0,8,24],activ:[0,10],activereview:19,actual:[0,8],ad:[0,6,8],adapt:0,add:[0,2,11],add_field:0,add_ir_model_field:0,add_xmlid:0,addit:[0,3,24],addon:[0,2,3,11,19,23],address:[0,22],address_field:0,adjust:[9,10],adopt:16,adyen_platform:16,affect:0,after:[0,3,6,8,9,10,11,12],again:11,against:7,aim:10,algorithm:0,alia:0,alias:0,alias_default:0,alias_parent_model_id:0,alias_parent_thread_id:0,all:[0,3,4,8,9,11,12,23,24],allow:[0,1,11],allow_merg:0,allowed_valu:0,alreadi:[0,6,11,12],also:[0,1,2,6,7,8],altern:6,although:0,alwai:[0,5,6,8,16],an:[0,1,3,4,6,8,10,11,12,23],analys:[5,13,14,15,16,19,20,21,22],analysi:[6,9,10,21,24],analyt:[13,14,15,16,17,18,19,20,21,22],analytic_contract_hr_expens:[19,20,21],analytic_journal_billing_r:[17,18],analytic_user_funct:[17,18,19,20,21],analyz:0,anglo_saxon_dropship:[20,21],ani:[0,1,3,4,6,7,8,10,12,14,15,16,22,24],annot:3,anonym:[13,14,17,18,19,20,21,22],anoth:[0,1,6,7,8,10],anticip:7,anymor:[0,3,22],anywai:[7,22],api:[6,9],appli:[0,7,8],applic:10,appropri:6,appropriatli:6,ar:[0,1,3,4,5,6,7,8,10,11,12,13,14,15,16,18,21,22,24],arg:0,args_detail:0,argument:[0,6,7],around:8,ask:11,asset:14,assign:[0,22],associ:[0,10,13,14,15,16,17,18,19,20,21,22],assum:0,assur:0,attach:0,attachment_index:[15,16],attempt:0,attribut:[0,24],auction:[17,18],audit:8,audittrail:[17,18,19],auth_crypt:[13,14,19,20,21,22],auth_ldap:[13,14,15,16,19,20,21,22],auth_oauth:[13,14,15,16,19,20,21,22],auth_oauth_signup:19,auth_openid:[19,20,21],auth_password_polici:[15,16],auth_password_policy_port:16,auth_password_policy_signup:[15,16],auth_signup:[13,14,15,16,19,20,21,22],auth_totp:16,auth_totp_port:16,autoinstal:11,automat:[0,3,8,24],avail:[0,2,6,11,12,13,14,15,19,20,21,22],avoid:0,awar:6,b:[0,6],back:[4,6,10,12],backup:11,bank:21,barcod:[13,14,15,16,21,22],base:[0,3,11,13,14,15,16,17,18,19,20,21,22],base_action_rul:[13,17,18,19,20,21,22],base_address_c:[13,14,15,16],base_address_extend:[13,14,15,16],base_autom:[13,14,15,16],base_calendar:[17,18,19],base_contact:[17,18],base_crypt:[17,18],base_gengo:[13,14,15,16,19,20,21,22],base_geoloc:[13,14,15,16,20,21,22],base_iban:[13,14,15,16,17,18,19,20,21,22],base_import:[13,14,15,16,19,20,21,22],base_import_modul:[13,14,15,16,20,21,22],base_module_doc_rst:[17,18],base_module_qu:[17,18],base_module_record:[17,18],base_report_cr:[17,18],base_report_design:[17,18,19,20,21],base_setup:[13,14,15,16,17,18,19,20,21,22],base_sparse_field:[13,14,15,16],base_statu:19,base_synchro:[17,18],base_tool:[17,18],base_vat:[13,14,15,16,17,18,19,20,21,22],base_vat_autocomplet:[13,14],basic:6,becam:8,becaus:[0,1],becom:[0,6,8],been:[0,1,3,5,6,8,11,13,14,15,16,19,20,21,22,24],befor:[0,2,3,6,10,11,12],being:[0,6,8],below:[0,5,6,8,16,23],better:7,between:[1,3,5,6,8,13,14,15,16,19,20,21,22,23],bewar:0,bin:11,binari:0,binary_field:0,blob:[0,12],block:0,board:[13,14,15,16,17,18,19,20,21,22],bool:0,both:[2,6,7,11],branch:[2,3,10,11],broken:0,bu:[13,14,15,16,21,22],budget:14,bug:11,built:12,busi:10,c:6,cach:0,caldav:[17,18],calendar:[13,14,15,16,20,21,22],calendar_sm:[13,14,15,16],call:[0,1,6,8,11],callabl:0,can:[0,1,3,4,5,6,8,10,11,12,16,23,24],care:[0,9,11],cascad:0,categori:[0,24],caus:[6,8],certain:0,chang:[0,3,5,6,8,13,14,15,16,19,20,21,22,24],check:[0,6,7,9,10,21],check_values_selection_field:0,chunk:0,circular:11,claim_from_deliveri:[17,18,19,20,21,22],claus:0,clean:[1,11],cleanup:0,clear:8,click:0,code:[0,7,9,10,12,19],coincid:0,collect:[12,24],collis:0,column:[0,1,8],column_exist:0,column_spec:0,columnspec:0,com:[0,1,2,3,4,5,6,10,11,12,13,14,15,16,20,21,22],combin:[0,6],come:0,command:11,comment:24,commit:[10,12],common:0,commun:[9,10,13,14,20,21],compani:[0,4],comparison:[2,24],complet:0,complex:6,compute_func:0,concern:0,config:2,configur:[0,2,4,9,10],connect:2,consequ:8,conserv:1,consid:[0,1,4],consist:[0,1],constraint:0,consult:4,contact:[0,13,14,15,16,19,20,21,22],contain:[0,2,3,6,8,10],content:[0,9],context:[0,12],continu:[0,6],contract:21,contrast:0,contribut:[4,9],contributor:[6,10],convers:0,convert:0,convert_binary_field_to_attach:0,convert_field_to_html:0,convert_to_company_depend:0,copi:[0,3,4,6,8,9,10],copy_column:0,copy_fields_multilang:0,core:[12,14,22],correct:0,correspond:[0,2,8],corrupt:7,could:[0,3,8],count:0,countri:24,coupl:0,coupon:16,cours:8,cover:[0,4,5,13,16,20,24],coverag:[9,10],cow:0,cow_templates_mark_if_equal_to_upstream:0,cow_templates_replicate_upstream:0,cr:0,craft:0,creat:[0,2,3,8,24],critic:0,crm:[13,14,15,16,17,18,19,20,21,22],crm_caldav:[17,18],crm_claim:[17,18,19,20,21,22],crm_fundrais:[17,18],crm_helpdesk:[17,18,19,20,21],crm_iap_lead:[15,16],crm_iap_lead_enrich:[15,16],crm_iap_lead_websit:[15,16],crm_livechat:[13,14,15,16],crm_mass_mail:21,crm_partner_assign:[17,18,19,20,21,22],crm_phone_valid:[13,14,15],crm_profil:[17,18,19,20,21],crm_project:[13,14,15],crm_project_issu:[13,20,21,22],crm_reveal:[14,15],crm_sm:[15,16],crm_todo:19,csv:[0,8],currenc:[0,24],current:[0,24],cursor:0,custom:[0,2,3,4,6,12],d:[0,6],dai:12,dashboard:18,data:[0,1,2,3,8,9,10,24],databas:[0,1,2,4,6,7,8,9,12,24],datatyp:0,date:0,date_field_nam:0,date_to_datetime_tz:0,datetim:0,datetime_field_nam:0,db:[0,6],dbname:0,deactiv:0,deactivate_workflow_transit:0,deal:0,debug:0,decid:11,decimal_precis:[13,14,15,17,18,19,20,21,22],declar:[0,6,7],decor:0,def:0,default_spec:0,defaults_id_kei:0,deferred_:12,defin:[0,24],definit:0,del:8,deleg:8,delet:[0,8],delete_model_workflow:0,delete_record_transl:0,delete_records_safely_by_xml_id:0,deliveri:[13,14,15,16,17,18,19,20,21,22],delivery_hs_cod:15,demo:[0,2],depart:8,depend:[0,6,7,9,10],deprec:0,deriv:8,describ:6,descript:8,design:23,destin:0,destination_column:0,destination_field_nam:0,destination_model:0,destination_t:0,detail:[0,6,9],detect:[7,8],determin:8,develop:[0,3,4,9,10,11,23,24],dict:0,dictionari:[0,11],did:6,differ:[0,6,8,23],digest:[14,15,16],direct:[0,11],directli:11,directori:[0,2,3,12,24],disabl:[0,7],disable_invalid_filt:0,discuss:[4,6],disk:1,displai:8,distinct:8,distribut:[2,5,16,21,23],do_rais:0,doc:0,docstr:12,document:[1,11,13,14,15,17,18,19,20,21,22],document_:[17,18],document_ftp:[17,18,19],document_pag:[19,20],document_webdav:[17,18,19],doe:[0,7,10,14,21],doesn:0,don:[0,9,11],donat:10,done:[0,5,6,13,14,15,16,17,18,19,20,21,22],down:0,drop:0,drop_column:0,drop_index:0,duplic:0,dure:[0,3,6,7,10,12],e:1,each:[0,2,3,6,10,11],earli:0,earlier:[0,9,11,12],easi:6,easier:8,edi:[7,19,20,21],edit:[3,5,6,11,14,16],effort:23,eg:0,egg:11,either:0,element:0,email_templ:[17,18,19,20,21],employe:8,empti:[0,5,8,13,14,15,16,19,20,21,22],encod:8,encount:[8,11],encourag:1,end:[0,3,6,12],engag:6,engin:7,ensur:6,enterpris:14,entri:[0,24],env:0,environ:[0,11],equal:0,equival:0,error:[0,9,11],essenti:0,estim:0,etc:0,even:[0,6,7],event:[13,14,15,16,17,18,19,20,21,22],event_crm:16,event_crm_sal:16,event_moodl:19,event_project:[17,18],event_sal:[13,14,15,16,19,20,21,22],event_sm:[15,16],ever:7,everi:[0,8,11],everyth:0,eviron:0,exactli:[14,21],exampl:[0,8,12],except:[0,6],execept:0,execut:[0,3,6,12],exempl:0,exist:[0,1,4,8,9,24],expect:[0,11],explain:6,explan:6,extend:0,extern:0,extra:[10,21,22],face:6,fact:0,fail:[0,9,11],fals:0,familiar:6,faq:[6,9],featur:[0,8,14,22],feedback:4,fetchmail:[13,14,15,16,17,18,19,20,21,22],fetchmail_gmail:[15,16],field:[0,3,7,9,24],field_nam:0,field_new_model:0,field_old_model:0,field_spec:0,file:[0,2,3,5,6,8,12,13,14,15,16,19,20,21,22,24],filenam:0,fill:[0,8],filter:0,financi:9,find:[0,5,9,14,15,16,22],finish:0,fire:7,first:[0,6,8,10],fit:8,fix:[1,6,9,10,12],fixed_modul:6,fk:0,flag:[8,11,24],fleet:[13,14,15,16,19,20,21,22],float_to_integ:0,fly:0,folder:2,follow:[0,2,5,6,8,11,16],forc:0,force_dep:11,forcecr:0,forcefulli:0,foreign:0,fork:[2,3,10,11],form:[2,24],format:[0,3,9],found:[0,3,5,6,16],frame:0,framework:10,free:[1,7],friendli:0,from:[0,1,2,7,8,9,10,13,14,15,16,20,21,24],full:[1,6,12],func:0,futur:[0,1],gamif:[13,14,15,16,20,21,22],gamification_sale_crm:[13,14,15,16,20,21,22],gener:[2,3,9,24],get:[0,6,9,10],get_last_post_for_model:0,get_legacy_nam:0,get_partner_id_from_user_id:0,get_pool:0,git:[10,11],github:[0,1,2,3,4,5,6,9,10,11,12,13,14,15,16,20,21,22],give:[4,10,24],given:[0,6],glitch:12,go:[0,4,6,11],goal:23,google_account:[13,14,15,16,20,21,22],google_base_account:19,google_calendar:[13,14,15,16,20,21,22],google_doc:19,google_dr:[13,14,15,16,20,21,22],google_gmail:[15,16],google_map:[17,18],google_recaptcha:16,google_spreadsheet:[13,14,15,16,20,21,22],govern:0,grant:22,group:24,guess:0,ha:[0,1,5,8,13,14,15,16,19,20,21,22,24],hack:[0,5,16],had:[0,8],hand:0,handl:0,handler:0,happen:[0,1,6],hardcod:8,hash:0,have:[0,1,3,4,5,6,8,11,12,16,24],header:11,help:[4,5,6,7,10,11,16],helper:[0,10,12],here:[0,6,9,14,15,16,22,24],hierarchi:8,high:0,higher:0,highlight:6,hint:0,hire:[4,10],host:[1,3,10],how:[0,3,6,7,8,9],hr:[8,13,14,15,16,17,18,19,20,21,22],hr_applicant_docu:[20,21],hr_attend:[13,14,15,16,17,18,19,20,21,22],hr_contract:[13,14,15,16,17,18,19,20,21,22],hr_equip:[21,22],hr_evalu:[17,18,19,20],hr_expens:[13,14,15,16,17,18,19,20,21,22],hr_expense_check:[13,14,15,16,22],hr_fleet:[15,16],hr_gamif:[13,14,15,16,20,21,22],hr_holidai:[13,14,15,16,17,18,19,20,21,22],hr_holidays_attend:[15,16],hr_holidays_calendar:16,hr_mainten:[13,14,15,16,22],hr_org_chart:[13,14,15,16],hr_payrol:[13,14,15,17,18,19,20,21,22],hr_payroll_account:[13,14,15,17,18,19,20,21,22],hr_presenc:[15,16],hr_recruit:[13,14,15,16,17,18,19,20,21,22],hr_recruitment_survei:[13,14,15,16,22],hr_skill:[15,16],hr_skills_slid:[15,16],hr_skills_survei:[15,16],hr_timesheet:[13,14,15,16,17,18,19,20,21,22],hr_timesheet_attend:[13,14,15,16,22],hr_timesheet_invoic:[17,18,19,20,21],hr_timesheet_sheet:[13,17,18,19,20,21,22],hr_work_entri:[15,16],html:0,html_field_nam:0,html_view:[17,18],http:[0,1,2,3,4,5,6,9,10,11,12,13,14,15,16,19,20,21,22],http_rout:[13,14,15,16],hw_blackbox_b:[13,14,15,22],hw_driver:[14,15,16],hw_escpo:[13,14,15,16,20,21,22],hw_posbox_homepag:[13,14,15,16,20,21,22],hw_posbox_upgrad:[13,14,15,20,21,22],hw_proxi:[13,14,15,16,20,21,22],hw_scale:[13,14,15,20,21,22],hw_scanner:[13,14,15,20,21,22],hw_screen:[13,14,15],i:[0,1],iap:[13,14,15,16],iap_crm:16,iap_mail:16,id:[0,3,9],idea:[17,18,19],ident:0,identifi:0,idref:0,ignor:[0,24],im:20,im_chat:21,im_livechat:[13,14,15,16,20,21,22],im_livechat_mail_bot:[14,15,16],im_odoo_support:[21,22],im_support:[14,15,16],implement:[0,6,8],improv:[4,10],includ:[0,2,7,10,11,12,14,22],incomplet:0,inconsist:[0,6],incorrect:1,independ:4,index:[0,9],indic:[0,2],inform:[13,14,15,19,20,21,22],inherit:8,init:[0,6,11],init_no_cr:0,initi:[0,10],inner:0,insist:4,instal:[0,2,7,8,9,10,12,13,24],instanc:[0,2,6,7,8,11,12],instead:[0,8,9,10],integ:0,integr:11,intend:0,interest:[4,24],intern:[0,12],introduc:[8,11,12],introduct:[6,9],intuit:1,invers:0,invoic:9,involv:[0,9],io:9,ir:[0,24],ir_model:0,ir_model_data:0,ir_model_field:0,issu:[0,4,6],item:[0,24],iter:0,its:[0,11,24],itself:[0,2,11,12],join:0,just:[0,3,9],keep:[0,1],kei:[0,11],kind:[0,6,14,15,16,22],know:[0,7],knowledg:[4,17,18,19,20,21],kwarg:0,l10n_ae:[13,14,15,16,21,22],l10n_ar:[13,14,15,16,19,20,21,22],l10n_ar_website_sal:16,l10n_at:[13,14,15,16,17,18,19,20,21,22],l10n_au:[13,14,15,16,21,22],l10n_be:[13,14,15,16,17,18,19,20,21,22],l10n_be_coda:[19,20,21],l10n_be_edi:[15,16],l10n_be_hr_payrol:[13,14,15,19,20,21,22],l10n_be_hr_payroll_account:[13,14,15,19,20,21,22],l10n_be_hr_payroll_fleet:[13,14,15],l10n_be_intrastat:[13,14,21,22],l10n_be_intrastat_2019:[13,14,22],l10n_be_invoice_bba:[13,14,15,16,19,20,21,22],l10n_bo:[13,14,15,16,19,20,21,22],l10n_br:[13,14,15,16,17,18,19,20,21,22],l10n_ca:[13,14,15,16,17,18,19,20,21,22],l10n_ch:[13,14,15,16,17,18,19,20,21,22],l10n_ch_qriban:16,l10n_cl:[13,14,15,16,19,20,21,22],l10n_cn:[13,14,15,16,17,18,19,20,21,22],l10n_cn_citi:[14,15,16],l10n_cn_small_busi:[13,14,15,16,21,22],l10n_cn_standard:[13,14,15,16,21,22],l10n_co:[13,14,15,16,19,20,21,22],l10n_co_po:[15,16],l10n_cr:[13,14,15,16,17,18,19,20,21,22],l10n_cz:16,l10n_de:[13,14,15,16,17,18,19,20,21,22],l10n_de_purchas:16,l10n_de_repair:16,l10n_de_sal:16,l10n_de_skr03:[13,14,15,16,21,22],l10n_de_skr04:[13,14,15,16,21,22],l10n_de_stock:16,l10n_dk:[14,15,16],l10n_do:[13,14,15,16,21,22],l10n_dz:16,l10n_e:[13,14,15,16,17,18,19,20,21,22],l10n_ec:[13,14,15,16,17,18,19,20,21,22],l10n_es_edi_sii:16,l10n_et:[13,14,15,16,19,20,21,22],l10n_eu_servic:[13,14,15,16,21,22],l10n_fi:16,l10n_fr:[13,14,15,16,17,18,19,20,21,22],l10n_fr_certif:[13,14,15,21,22],l10n_fr_fec:[13,14,15,16,21,22],l10n_fr_hr_payrol:[13,14,15,19,20,21,22],l10n_fr_pos_cert:[13,14,15,16,21,22],l10n_fr_rib:[19,20,21],l10n_fr_sale_clos:[13,14,15,21,22],l10n_gcc_invoic:16,l10n_gcc_po:16,l10n_generic_coa:[13,14,15,16,21,22],l10n_gr:[13,14,15,16,17,18,19,20,21,22],l10n_gt:[13,14,15,16,17,18,19,20,21,22],l10n_hk:[14,15,16],l10n_hn:[13,14,15,16,19,20,21,22],l10n_hr:[13,14,15,16,19,20,21,22],l10n_hu:[13,14,15,16,21,22],l10n_id:[14,15,16],l10n_id_efaktur:16,l10n_ie:[15,16],l10n_il:[15,16],l10n_in:[13,14,15,16,17,18,19,20,21,22],l10n_in_hr_payrol:[13,14,15,19,20,21,22],l10n_in_po:[15,16],l10n_in_purchas:[13,14,15,16],l10n_in_purchase_stock:[15,16],l10n_in_sal:[13,14,15,16],l10n_in_sale_stock:[15,16],l10n_in_schedule6:[13,14,15,21,22],l10n_in_stock:[13,14,15,16],l10n_it:[13,14,15,16,17,18,19,20,21,22],l10n_it_edi:[14,15,16],l10n_it_edi_sdicoop:16,l10n_it_stock_ddt:16,l10n_jp:[13,14,15,16,21,22],l10n_latam_bas:[15,16],l10n_latam_invoice_docu:[15,16],l10n_lt:[14,15,16],l10n_lu:[13,14,15,16,17,18,19,20,21,22],l10n_ma:[13,14,15,16,17,18,19,20,21,22],l10n_mn:[14,15,16],l10n_multilang:[13,14,15,16,19,20,21,22],l10n_mx:[13,14,15,16,17,18,19,20,21,22],l10n_nl:[13,14,15,16,17,18,19,20,21,22],l10n_no:[13,14,15,16,21,22],l10n_nz:[13,14,15,16,21,22],l10n_pa:[13,14,15,16,19,20,21,22],l10n_pe:[13,14,15,16,19,20,21,22],l10n_pl:[13,14,15,16,17,18,19,20,21,22],l10n_pt:[13,14,15,16,19,20,21,22],l10n_ro:[13,14,15,16,17,18,19,20,21,22],l10n_sa:[13,14,15,16,21,22],l10n_sa_invoic:16,l10n_sa_po:16,l10n_se:[15,16],l10n_se_ocr:16,l10n_sg:[13,14,15,16,21,22],l10n_si:[13,14,15,16,19,20,21,22],l10n_sk:16,l10n_syscohada:[13,14,15,16,19,20,21,22],l10n_th:[13,14,15,16,17,18,19,20,21,22],l10n_tr:[13,14,15,16,19,20,21,22],l10n_u:[13,14,15,16,19,20,21,22],l10n_ua:[15,16],l10n_ui:[13,14,15,16,19,20,21,22],l10n_uk:[13,14,15,16,17,18,19,20,21,22],l10n_ve:[13,14,15,16,17,18,19,20,21,22],l10n_vn:[13,14,15,16,20,21,22],l10n_za:[14,15,16],l23:12,l794:0,l802:0,lack:11,lang_cod:0,languag:0,larg:0,last:0,later:[0,1],latest:[0,9,11],launchpad:19,layout:[1,8],lead:0,learn:[9,11],leav:[0,6],left:[6,24],legaci:0,length:0,less:6,let:0,level:0,librari:[0,8,10],lifecycl:12,lift:0,lift_constraint:0,like:[0,7],line:[8,11],link:0,link_track:[13,14,15,16,21,22],list:[0,8,11],live:[6,11],load:[0,3,8,11,12,24],load_data:[0,24],localhost:6,locat:[2,6],log:0,logged_queri:0,logic:0,logist:9,longer:0,look:[5,12,16],lookup:8,loop:7,lose:[0,8,24],loss:[0,8],lot:[0,4,6,11],lower:12,luckili:6,lunch:[13,14,15,16,17,18,19,20,21,22],m2m:0,m2o:0,m2o_field_old_model:0,m2o_to_x2m:0,mai:[0,3,8,11],mail:[13,14,15,16,19,20,21,22],mail_bot:[14,15,16],mail_bot_hr:16,mail_client_extens:16,mail_gatewai:[17,18],mail_templ:21,mail_tip:[21,22],main:[6,10],maintain:12,mainten:[13,14,15,16,22],major:[0,4,10,23],make:[0,2,7,9,10,12],manag:[0,3,6,7,8,9,14],mani:6,manipul:11,manner:8,manual:[0,8,11,22],many2mani:0,many2on:[0,8],many2one_refer:0,map:[0,8],map_valu:0,mark:[0,5,8,13,14,15,16,21,22],mark_colnam:0,market:[17,18,19,20,21,22],marketing_campaign:[13,17,18,19,20,21,22],marketing_campaign_crm_demo:[13,17,18,19,20,21,22],marketing_crm:[20,21],mass:22,mass_mail:[6,13,14,15,16,20,21,22],mass_mailing_crm:[14,15,16],mass_mailing_ev:[13,14,15,16],mass_mailing_event_sm:[15,16],mass_mailing_event_track:[13,14,15,16],mass_mailing_event_track_sm:[15,16],mass_mailing_sal:[14,15,16],mass_mailing_security_group:22,mass_mailing_slid:[15,16],mass_mailing_sm:[15,16],master:11,match:8,mean:[0,1],meant:0,mechan:[0,12],membership:[13,14,15,16,17,18,19,20,21,22],memori:0,mention:6,menu:2,merg:[0,13,14,15,16,19,20,21,22],merge_modul:0,messag:[0,18],message_last_post:0,method:[9,11,12],microsoft_account:16,microsoft_calendar:16,might:[6,7,8,11],migrat:[0,2,3,4,5,7,8,9,16,20,23,24],migrate_partn:0,migrate_stock_warehous:0,mime:0,minor:0,miss:[0,5,13,14,15,16,21,22],mode:0,model:[0,1,3,8,24],model_id:0,model_nam:0,model_pool:0,model_spec:0,model_table_nam:0,modif:0,modifi:[0,7,24],modul:[0,1,2,3,4,5,7,8,9,10,12,24],module_nam:0,monetari:0,more:[0,2,6,7,11,24],most:[0,6,24],move:[0,8,13,14,20,21],move_field_m2o:0,moved_field:0,mrp:[13,14,15,16,17,18,19,20,21,22],mrp_account:[15,16],mrp_bom_cost:[14,15],mrp_byproduct:[13,14,15,19,20,21,22],mrp_jit:[17,18,19],mrp_landed_cost:16,mrp_oper:[17,18,19,20,21,22],mrp_product_expiri:16,mrp_repair:[13,14,17,18,19,20,21,22],mrp_subcontract:[15,16],mrp_subcontracting_account:[15,16],mrp_subcontracting_dropship:[15,16],mrp_subproduct:[17,18],much:0,multi_compani:[17,18,19,20,21],multipl:[0,8,11],must:[0,11,24],name:[0,6,8,10,11,12],namespec:0,nativ:0,necessari:[0,6,11],necessarili:0,need:[0,2,3,4,6,8,11,18,21,22,24],nest:0,net:19,never:7,new_modul:0,new_nam:0,newer:4,newli:[0,4,8],no_deep:0,no_vers:0,non:[0,7],none:0,normal:0,note:[0,6,10,12,13,14,15,16,19,20,21,22],note_pad:[13,14,15,16,19,20,21,22],noth:[0,5,13,14,15,16,17,18,19,20,21,22],notif:0,noupdat:[0,24],noupdate_chang:[3,24],now:[0,8,13,14,20,21,22],number:0,o2m:0,object:0,obsolet:[0,1],obtain:0,obviou:0,oca:[1,2,3,4,5,6,9,10,11,13,20,21,23],occassion:12,occur:[0,24],occurr:0,odoo:[0,1,2,3,4,6,7,8,9,10,14,20,21,23,24],odoo_referr:16,odoo_referral_port:16,off:6,offici:23,old:[0,1,5,6,8,10,16,24],old_modul:0,old_nam:0,old_valu:0,older:[9,11],one2mani:0,one:[0,5,6,8,10,16,24],onli:[0,1,6,11],open:[0,9,10],openerp:[0,10,11],openupgrad:[1,2,3,4,5,6,7,8,10,12,13,14,15,16,19,20,21,22,24],openupgrade_70:0,openupgrade_80:0,openupgrade_90:0,openupgrade_analysi:[3,5,6,13,14,15,16,19,20,21,22],openupgrade_analysis_work:[3,6],openupgrade_framework:11,openupgrade_general_log:3,openupgrade_legacy_:1,openupgrade_record:[2,3],openupgrade_script:[2,3,6,11],openupgrade_target_vers:11,openupgradelib:[0,6,10,12],oper:0,option:[0,2],order:[0,10,11,21],org:0,organ:12,organis:4,origin:[0,24],origin_field_nam:0,original_nam:0,orm:[0,1],orphan:1,other:[0,2,4,6,8,14,15,16,22],otherwis:0,out:[5,11,16,24],outlook:[17,18],outsid:12,over:[0,7],overcom:6,overrid:0,overview:[8,9,23],overwrit:0,overwritten:24,own:[0,3,9,12],packag:10,pad:[13,14,15,16,17,18,19,20,21,22],pad_project:[13,14,15,16,19,20,21,22],page:[6,9,20],param:0,paramet:[0,2,11],parenthes:8,part:[7,10],parti:[4,23],partial:18,particular:24,partner:[0,8],partner_autocomplet:[14,15,16],partner_autocomplete_address_extend:[14,15,16],partner_field:0,partner_id:0,pass:[0,11,24],past:0,path:[0,2,10,11],payment:[13,14,15,16,20,21,22],payment_adyen:[13,14,15,16,20,21,22],payment_alipai:[15,16],payment_author:[13,14,15,16,21,22],payment_buckaroo:[13,14,15,16,20,21,22],payment_fix_register_token:16,payment_ingenico:[15,16],payment_odoo_by_adyen:16,payment_ogon:[13,14,15,20,21,22],payment_payp:[13,14,15,16,20,21,22],payment_payulatam:[15,16],payment_payumonei:[13,14,15,16,22],payment_sip:[13,14,15,16,21,22],payment_strip:[13,14,15,16,22],payment_stripe_checkout_webhook:16,payment_stripe_sca:[13,14,15,22],payment_test:[15,16],payment_transf:[13,14,15,16,20,21,22],payrol:15,payroll_account:15,per:[0,3,8,12,23],perform:[0,2],period:0,permiss:22,pg:0,phone_valid:[13,14,15,16],pick:6,pip:[0,11,12],place:[0,2,3],plain:0,plan:[6,21],platform:10,pleas:[4,5,10,12,13,14,15,16,19,20,21,22],plugin:[19,20],plugin_outlook:[19,20],plugin_thunderbird:[19,20],pocalyps:6,point:[0,11],point_of_sal:[13,14,15,16,17,18,19,20,21,22],pool:0,pooler:0,popul:0,portal:[13,14,15,16,19,20,21,22],portal_anonym:19,portal_claim:[19,20,21],portal_crm:19,portal_ev:19,portal_gamif:[13,20,21,22],portal_hr_employe:19,portal_project:[19,20,21],portal_project_issu:[19,20,21],portal_r:16,portal_sal:[13,19,20,21,22],portal_stock:[13,19,20,21,22],pos_adyen:[15,16],pos_cach:[13,14,15,16,21,22],pos_cash_rond:14,pos_cash_round:[15,16],pos_data_drink:[13,14,22],pos_discount:[13,14,15,16,21,22],pos_epson_print:[15,16],pos_epson_printer_restaur:[15,16],pos_hr:[15,16],pos_kitchen_print:[15,16],pos_mercuri:[13,14,15,16,21,22],pos_reprint:[13,14,15,16,21,22],pos_restaur:[13,14,15,16,21,22],pos_restaurant_adyen:16,pos_sal:[13,14,15,16],pos_six:[15,16],posibl:8,possibl:[0,8],post:[0,3,4,6,8,10,12,24],postgresql:[0,1],potenti:0,power:6,pr:9,pre:[0,3,6,8,12],prefer:0,prefix:1,present:0,preserv:[0,18],presum:0,prevent:0,previou:[0,3,11,24],previous:0,previs:0,print:21,probabl:[0,11,12],problem:0,process:[0,3,4,7,9,11,17,18,19],procur:[13,17,18,19,20,21,22],procurement_jit:[13,14,15,16,20,21,22],procurement_jit_stock:21,product:[7,13,14,15,16,17,18,19,20,21,22,24],product_email_templ:[13,14,15,16,20,21,22],product_expiri:[13,14,15,16,17,18,19,20,21,22],product_extend:[13,14,20,21,22],product_manufactur:[17,18,19],product_margin:[13,14,15,16,17,18,19,20,21,22],product_matrix:[15,16],product_product:0,product_templ:0,product_uo:[21,22],product_visible_discount:[17,18,19,20,21,22],profession:4,profile_tool:[17,18],progress:[5,13,14,15,16,19,20,21,22],project:[1,4,10,13,14,15,16,17,18,19,20,21,22,23],project_caldav:[17,18],project_gtd:[17,18,19],project_issu:[13,17,18,19,20,21,22],project_issue_sheet:[13,17,18,19,20,21,22],project_long_term:[17,18,19],project_mailg:[17,18],project_messag:[17,18],project_mrp:[17,18,19,20],project_plan:[17,18],project_retro_plan:[17,18],project_scrum:[17,18],project_task:13,project_timesheet:[17,18,19,20,21,22],project_timesheet_holidai:[13,14,15,16],properli:0,properti:[0,8],propos:[4,13,14,15,19,20,21,22],proprietari:12,protect:1,provid:[0,4,10,11,23],pull:[5,6,10,13,14,15,16,20,21,22],purchas:[13,14,15,16,17,18,19,20,21,22],purchase_analytic_distribut:21,purchase_analytic_plan:[17,18,19,20,21],purchase_double_valid:[17,18,19,20,21],purchase_mrp:[13,14,15,16,22],purchase_product_matrix:[15,16],purchase_requisit:[13,14,15,16,17,18,19,20,21,22],purchase_requisition_stock:[15,16],purchase_stock:[14,15,16],pure:0,purg:1,purpos:[0,1,6],put:0,py:[0,3,6,12],python:[3,6,12],q:6,queri:0,question:0,quick_request:0,quot:0,rais:0,ran:0,rate:[13,14,15,16,21,22],rather:11,rating_project:[13,14,21,22],rating_project_issu:[13,21,22],raw:0,re:[0,8,24],reactiv:0,reactivate_workflow_transit:0,read:[0,6,11,20],readi:[5,16],real:13,realli:11,reason:[0,12],receiv:0,recent:2,recommend:[0,11],recomput:7,record:[0,2,3,24],recordset:0,recov:15,recreat:[0,24],reduc:6,ref_spec_act:0,refer:[0,1,6,8,9,10,11],regist:0,registri:0,registry_new_model:0,registry_old_model:0,regular:[0,7],reiniti:0,reintroduc:1,rel:0,relat:[0,8],relation_column:0,releas:[0,2,3,4,5,8,10,12,13,14,15,16,21,22,23,24],reli:12,remain:8,remov:[0,1,8,20,24],remove_tables_fk:0,renam:[0,8,13,14,15,16,20,21,24],rename_column:0,rename_field:0,rename_model:0,rename_properti:0,rename_t:0,rename_xmlid:[0,24],repair:[14,15,16],repeat:[9,10],replac:[0,14,15],replace_account_typ:0,report:[0,4,8,11,13,20,21,22],report_design:[17,18],report_intrastat:[13,14,17,18,19,20,21,22],report_webkit:[17,18,19,20,21,22],report_webkit_sampl:[17,18],repositori:[3,11],repres:0,represent:24,request:[0,10],requir:[0,6,8,22],rerun:6,res_group:0,res_id:0,res_nam:0,reset:[0,6],resourc:[0,9,13,14,15,16,17,18,19,20,21,22],respect:0,restart:9,restor:[1,6],result:[0,4],resurfac:0,retain:0,retriev:0,review:[3,5,9,13,14,15,16,18,19,20,21,22,24],right:[0,3],robust:7,round:0,routin:0,row:0,rule:8,run:[0,1,3,5,6,7,9,10,12,16],s:[0,1,3,5,8,12,13,14,15,16,22],sa:10,safe_unlink:0,safest:0,sale:[9,13,14,15,16,17,18,19,20,21],sale_analytic_distribut:21,sale_analytic_plan:[17,18,19,20,21],sale_coupon:[15,16],sale_coupon_deliveri:[15,16],sale_crm:[13,14,15,16,17,18,19,20,21,22],sale_expens:[13,14,15,16,21,22],sale_journ:[17,18,19,20,21],sale_layout:[17,18,20,21,22],sale_manag:[13,14,15,16],sale_margin:[13,14,15,16,17,18,19,20,21,22],sale_mrp:[13,14,15,16,17,18,19,20,21,22],sale_order_back2draft:22,sale_order_d:[13,14,17,18,19,20,21,22],sale_pay:[13,14],sale_product_configur:[15,16],sale_product_matrix:[15,16],sale_project:16,sale_purchas:[14,15,16],sale_purchase_stock:16,sale_quotation_build:[14,15,16],sale_servic:[20,21,22],sale_service_r:[13,14,22],sale_stock:[13,14,15,16,19,20,21,22],sale_stock_margin:16,sale_timesheet:[13,14,15,16,21,22],sale_timesheet_edit:16,sale_timesheet_purchas:[15,16],sales_team:[13,14,15,16,20,21,22],same:[0,6,8,12,14,21],save:[0,6],scope:0,scrip:9,script:[0,1,2,3,4,5,7,8,9,10,12,16,23,24],search:9,second:[0,8,10],section:8,secur:8,see:[0,1,5,6,8,12,13,14,15,16,19,20,21,22,23],select:[0,2,6,8,11],sens:0,sent:18,separ:[8,10,11],sequenc:0,serial:0,server:[1,2,3,7,11,24],set:[0,2,3,8,11],set_default:[0,8],set_message_last_post:0,set_parent_thread_id:0,set_partner_id_from_partner_address_id:0,set_xml_ids_noupdate_valu:0,sever:11,share:[13,14,15,17,18,19,20,21,22],sheet:13,shortcut:20,should:[0,6,8,9,23,24],show:6,shown:0,side:0,signal:8,signatur:0,significantli:6,simpl:[0,6,8],simpli:[0,6],sinc:[0,6],singl:[0,4],situat:[6,8],skip:[0,11],skip_no_result:0,slightli:7,slow:0,sm:[14,15,16],snailmail:[14,15,16],snailmail_account:[14,15,16],so:[0,7,8,11,24],social:9,social_media:[14,15,16],softwar:4,sold:10,some:[0,3,6,11],sourc:[0,10,11],source_column:0,source_field:0,source_model:0,source_t:0,space:1,special:0,specif:0,specifi:0,sponsor:10,sql:0,sql_constraint:0,stabl:1,stage:[0,11,12],standard:0,stanza:11,start:[0,2,3,5,6,11,16],state:[0,6],stateg:4,statement:0,statist:3,statu:[13,14,15,16,17,18,19,20,21,22],status:[5,16],step:[0,2,6,12],still:[0,1,12],stock:[0,9,13,15,16,17,18,19,20,21,22],stock_account:[13,14,15,16,20,21,22],stock_calendar:[13,21,22],stock_dropship:[13,14,15,16,20,21,22],stock_invoice_directli:[17,18,19,20,21],stock_landed_cost:[13,14,15,16,20,21,22],stock_loc:[17,18,19],stock_no_autopick:[17,18,19],stock_picking_batch:[13,14,15,16],stock_picking_wav:[13,20,21,22],stock_plan:[17,18],stock_putaway_product:14,stock_sm:[15,16],stock_zebra:[14,15],stop:[6,8,11],store:0,str:0,strategi:1,string:0,stuff:0,sub:0,subdirectori:[3,12],subscript:[13,17,18,19,20,21,22],subsequ:[0,2,23],substitut:0,successfulli:6,suffer:[14,15,16,22],suit:10,suitabl:0,superuser_id:0,support:[0,10,11],sure:[0,11],survei:[13,14,15,16,17,18,19,20,21,22],survey_crm:[13,14,15,20,21,22],surviv:24,systemat:9,t:[0,9,11],tab:19,tabl:[0,1,5,8,16],table_exist:0,table_nam:0,table_spec:0,take:[0,24],taken:[0,14,15,16,22],target:[0,2,3,8,11],target_column:0,task:[0,6],technic:[4,9],techniqu:0,technolog:4,templat:[0,18],temporari:8,tent:21,terminolog:10,test:[0,6],test_base_autom:16,test_event_ful:16,test_mail:[14,15,16],test_mail_ful:[15,16],test_mass_mail:[14,15,16],test_websit:[14,15,16],test_website_slides_ful:[15,16],test_xlsx_export:[15,16],text:0,than:[3,11,12],thank:4,thei:[0,1,8,11,21,24],them:[0,7,8,11,24],theme_bootswatch:[13,14,15,16,21,22],theme_default:[13,14,15,16,21,22],theoret:0,therefor:24,thi:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,20,21,22,23,24],thing:0,those:[0,6],though:[0,7],three:12,through:[0,6],thu:[0,8],thunderbird:[17,18],tidi:1,time:[0,6,8,11],timesheet:13,timezon:0,tinyerp:12,titl:8,todo:[0,8],too:0,tool:[0,1,3,4,9,12],transact:0,transfer:0,transform:[0,14,15,16,22],transifex:[13,14,15,16],transit:0,transition_condit:0,translat:0,translations_onli:0,treat:[7,11],tree:[13,14,20,21],trial:9,trigger:[0,6],truncat:0,trunk:[13,14,15,19,20,21,22],tupl:0,two:[2,3,10,24],txt:[3,5,6,13,14,15,16,19,20,21,22],type:[0,8,24],type_spec:0,typic:[0,8],u:6,ui:24,uid:0,umbrella:[13,20,21],uncov:11,under:[3,11,13,20,21,24],underestim:6,understand:6,unexpect:6,uniqu:0,unit:0,unknown:7,unleash:6,unlink:[0,24],until:7,uom:[14,15,16],up:[1,2,11],updat:[0,6,8,11,24],update_alias:0,update_field_multilang:0,update_module_moved_field:0,update_module_nam:0,update_workflow_workitem:0,upgrad:[0,1,2,4,7,8,9,10,12],upgrade_analysi:[2,3],upstream:0,us:[0,1,2,3,4,10,11,12,24],usag:0,use_env:0,use_orm:0,user:[0,4,22],user_field_nam:0,user_id:0,users_ldap:[17,18],usual:[0,6],utm:[13,14,15,16,21,22],v12:0,v8:0,vacuum:1,val:0,valid:0,valu:[0,7,8,11],valuat:13,vari:0,variabl:[0,11],veri:0,version:[0,1,2,6,7,9,11,12,23,24],via:0,view:[0,2],wa:[0,3,6,12,20],wai:[0,1,6,8,24],want:[0,6,7,9,11,24],warehous:9,warn:[0,17,18,19,20,21,22],warn_possible_dataloss:0,we:[0,4,7],web:[6,11,13,14,15,16,20,21,22],web_analyt:[19,20,21,22],web_api:[20,21],web_calendar:[13,20,21,22],web_diagram:[13,14,15,16,20,21,22],web_editor:[13,14,15,16,21,22],web_gantt:[20,21],web_graph:[20,21],web_kanban:[13,20,21,22],web_kanban_gaug:[13,14,15,16,20,21,22],web_kanban_sparklin:[20,21],web_linkedin:[19,20,21],web_livechat:[17,18],web_plann:[13,14,21,22],web_settings_dashboard:[13,14,15,21,22],web_shortcut:[19,20],web_test:[20,21],web_tests_demo:[20,21],web_tip:[21,22],web_tour:[13,14,15,16,22],web_unsplash:[14,15,16],web_uservoic:[17,18],web_view_editor:[20,21,22],websit:[0,13,14,15,16,20,21,22],website_blog:[13,14,15,16,20,21,22],website_certif:[20,21],website_crm:[13,14,15,16,20,21,22],website_crm_claim:[21,22],website_crm_livechat:[15,16],website_crm_partner_assign:[13,14,15,16,20,21,22],website_crm_phone_valid:[13,14,15],website_crm_sm:[15,16],website_custom:[13,14,15,16,20,21,22],website_ev:[13,14,15,16,20,21,22],website_event_crm:16,website_event_crm_quest:16,website_event_meet:16,website_event_meet_quiz:16,website_event_quest:[13,14,15,16,21,22],website_event_sal:[13,14,15,16,20,21,22],website_event_track:[13,14,15,16,20,21,22],website_event_track_exhibitor:16,website_event_track_l:16,website_event_track_live_quiz:16,website_event_track_quiz:16,website_form:[13,14,15,16,21,22],website_form_project:[13,14,15,16],website_forum:[13,14,15,16,20,21,22],website_forum_doc:[13,14,20,21,22],website_gengo:[13,14,15,16,20,21,22],website_google_map:[13,14,15,16,20,21,22],website_hr:[13,14,15,20,21,22],website_hr_recruit:[13,14,15,16,20,21,22],website_instantclick:21,website_issu:[13,21,22],website_jitsi:16,website_link:[13,14,15,16,21,22],website_livechat:[13,14,15,16,20,21,22],website_mail:[13,14,15,16,20,21,22],website_mail_channel:[13,14,15,16,21,22],website_mail_group:[20,21],website_mass_mail:[13,14,15,16,21,22],website_membership:[13,14,15,16,20,21,22],website_partn:[13,14,15,16,20,21,22],website_pay:[13,14,15,16,20,21,22],website_port:[13,21,22],website_portal_sal:[13,21,22],website_profil:[15,16],website_project:[13,20,21,22],website_project_issu:[13,21,22],website_project_issue_sheet:[13,21,22],website_project_timesheet:[13,22],website_quot:[13,14,20,21,22],website_r:[13,14,15,16],website_rating_project:[13,14],website_rating_project_issu:[13,21,22],website_report:[20,21],website_sal:[13,14,15,16,20,21,22],website_sale_comparison:[13,14,15,16],website_sale_coupon:[15,16],website_sale_coupon_deliveri:[15,16],website_sale_deliveri:[13,14,15,16,20,21,22],website_sale_digit:[13,14,15,16,21,22],website_sale_link_track:[14,15],website_sale_manag:[13,14,15,16],website_sale_opt:[13,14,21,22],website_sale_product_configur:[15,16],website_sale_slid:[15,16],website_sale_stock:[13,14,15,16,21,22],website_sale_stock_opt:[13,14],website_sale_stock_product_configur:[15,16],website_sale_wishlist:[13,14,15,16],website_slid:[13,14,15,16,21,22],website_slides_forum:[15,16],website_slides_survei:[15,16],website_sm:[15,16],website_survei:[14,15],website_theme_instal:[13,14,15,16,21,22],website_twitt:[13,14,15,16,20,21,22],well:[0,3,10,11],went:0,were:[0,3,6,8,12],what:6,when:[0,1,3,6,7,8,11,12,13,24],whenev:[0,6],where:[0,6,12],whether:0,which:[0,1,2,3,6,8,11,12,24],whole:0,whose:0,wiki:[17,18],wiki_faq:[17,18],wiki_quality_manu:[17,18],wiki_sale_faq:[17,18],within:[0,4,6],without:[0,2,6,8],wizard:2,won:0,word:1,work:[0,4,5,6,7,11,13,14,15,16,19,20,21,22],workflow:[0,7,9],wors:0,worth:0,would:[0,7],write:[0,2,4,6,21],written:0,www:0,xml:[0,3,8,9],xml_id:0,xmlid:0,xmlids_spec:0,ye:[0,7],yet:[0,5,11,13,16],yield:0,yml:0,you:[0,1,2,3,4,5,6,7,8,9,10,11,12,14,15,16,22,24],your:[0,1,3,4,7,8,9,12,13,14,15,19,20,21,22,24],yourself:11},titles:["OpenUpgrade API","After migration","How to run your own analysis","Database analysis","Community involvement","<no title>","Migration script development","Development FAQ","Fields analysis format","Welcome to OpenUpgrade\u2019s documentation!","Introduction","Running the migration","The Odoo Migration Manager","Module coverage 10.0 -> 11.0","Module coverage 11.0 -> 12.0","Module coverage 12.0 -> 13.0","Module coverage 13.0 -> 14.0","Module coverage 5.0 -> 6.0","Module coverage 6.0 -> 6.1","Module coverage 6.1 -> 7.0","Module coverage 7.0 -> 8.0","Module coverage 8.0 -> 9.0","Module coverage 9.0 -> 10.0","Module coverage","XML IDs"],titleterms:{"0":[0,13,14,15,16,17,18,19,20,21,22],"1":[11,18,19],"10":[13,22],"11":[13,14],"12":[14,15],"13":[15,16],"14":16,"2":11,"3":11,"4":11,"5":[11,17],"6":[17,18,19],"7":[0,19,20],"8":[0,20,21],"9":[0,21,22],The:[6,12],account:[14,22],adjust:11,after:1,all:6,analysi:[2,3,8],api:0,check:11,code:[6,11],commun:4,configur:11,content:3,contribut:10,copi:11,coverag:[11,13,14,15,16,17,18,19,20,21,22,23],data:11,databas:[3,10,11],depend:11,develop:[6,7],document:9,earlier:3,error:6,exist:6,fail:6,faq:7,field:8,file:11,financi:14,fix:11,format:8,from:[6,11],gener:0,get:11,how:2,id:24,indic:9,instal:11,instead:6,introduct:10,invoic:22,involv:4,learn:6,logist:14,make:11,manag:12,method:0,migrat:[1,6,10,11,12],miss:11,modul:[6,11,13,14,15,16,17,18,19,20,21,22,23],obsolet:11,oca:[14,15,16,22],odoo:[11,12],older:10,open:6,openupgrad:[0,9,11],openupgradelib:11,option:11,overview:6,own:2,pr:6,process:6,repeat:11,resourc:6,restart:6,review:6,run:[2,11],s:9,sale:22,scrip:6,script:[6,11],social:22,stock:14,systemat:6,tabl:9,tool:14,trial:6,upgrad:[6,11],version:[3,10],warehous:14,welcom:9,workflow:22,write:11,xml:24,your:[2,6,10,11]}}) \ No newline at end of file +Search.setIndex({docnames:["API","after_migration","analyse","analysis","community","coverage_legend","development","devfaq","format","index","intro","migration_details","migrationmanager","modules100-110","modules110-120","modules120-130","modules130-140","modules50-60","modules60-61","modules61-70","modules70-80","modules80-90","modules90-100","status","xmlids"],envversion:{"sphinx.domains.c":2,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":5,"sphinx.domains.index":1,"sphinx.domains.javascript":2,"sphinx.domains.math":2,"sphinx.domains.python":3,"sphinx.domains.rst":2,"sphinx.domains.std":2,sphinx:56},filenames:["API.rst","after_migration.rst","analyse.rst","analysis.rst","community.rst","coverage_legend.rst","development.rst","devfaq.rst","format.rst","index.rst","intro.rst","migration_details.rst","migrationmanager.rst","modules100-110.rst","modules110-120.rst","modules120-130.rst","modules130-140.rst","modules50-60.rst","modules60-61.rst","modules61-70.rst","modules70-80.rst","modules80-90.rst","modules90-100.rst","status.rst","xmlids.rst"],objects:{"openupgradelib.openupgrade":[[0,1,1,"","add_fields"],[0,1,1,"","add_ir_model_fields"],[0,1,1,"","add_xmlid"],[0,1,1,"","check_values_selection_field"],[0,1,1,"","chunked"],[0,1,1,"","column_exists"],[0,1,1,"","convert_field_to_html"],[0,1,1,"","convert_to_company_dependent"],[0,1,1,"","copy_columns"],[0,1,1,"","copy_fields_multilang"],[0,1,1,"","cow_templates_mark_if_equal_to_upstream"],[0,1,1,"","cow_templates_replicate_upstream"],[0,1,1,"","date_to_datetime_tz"],[0,1,1,"","deactivate_workflow_transitions"],[0,1,1,"","delete_model_workflow"],[0,1,1,"","delete_record_translations"],[0,1,1,"","delete_records_safely_by_xml_id"],[0,1,1,"","disable_invalid_filters"],[0,1,1,"","drop_columns"],[0,1,1,"","float_to_integer"],[0,1,1,"","get_legacy_name"],[0,1,1,"","lift_constraints"],[0,1,1,"","load_data"],[0,1,1,"","logged_query"],[0,1,1,"","logging"],[0,1,1,"","m2o_to_x2m"],[0,1,1,"","map_values"],[0,1,1,"","message"],[0,1,1,"","migrate"],[0,1,1,"","move_field_m2o"],[0,1,1,"","reactivate_workflow_transitions"],[0,1,1,"","remove_tables_fks"],[0,1,1,"","rename_columns"],[0,1,1,"","rename_fields"],[0,1,1,"","rename_models"],[0,1,1,"","rename_property"],[0,1,1,"","rename_tables"],[0,1,1,"","rename_xmlids"],[0,1,1,"","safe_unlink"],[0,1,1,"","set_defaults"],[0,1,1,"","set_xml_ids_noupdate_value"],[0,1,1,"","table_exists"],[0,1,1,"","update_field_multilang"],[0,1,1,"","update_module_moved_fields"],[0,1,1,"","update_module_names"],[0,1,1,"","update_workflow_workitems"],[0,1,1,"","warn_possible_dataloss"]],"openupgradelib.openupgrade_70":[[0,1,1,"","get_partner_id_from_user_id"],[0,1,1,"","set_partner_id_from_partner_address_id"]],"openupgradelib.openupgrade_80":[[0,1,1,"","get_last_post_for_model"],[0,1,1,"","set_message_last_post"],[0,1,1,"","update_aliases"]],"openupgradelib.openupgrade_90":[[0,1,1,"","convert_binary_field_to_attachment"],[0,1,1,"","replace_account_types"]],openupgradelib:[[0,0,0,"-","openupgrade"],[0,0,0,"-","openupgrade_70"],[0,0,0,"-","openupgrade_80"],[0,0,0,"-","openupgrade_90"]]},objnames:{"0":["py","module","Python module"],"1":["py","function","Python function"]},objtypes:{"0":"py:module","1":"py:function"},terms:{"0":[2,3,7,9,10,11,12,23],"1":[0,9,10,13,14,20,21,23],"10":[0,9,23],"1000":0,"11":[0,9,23],"12":[0,6,9,11,23],"13":[6,9,11,23],"14":[2,3,6,9,10,11,23],"2":[0,6,9,10,12,14,18,20,21],"2273":6,"2275":6,"2499":6,"3":[6,9,10,20,21],"3apr":6,"4":[0,9,10,12,21],"5":[0,9,10,21,23],"5bfix":6,"5d":6,"6":[0,8,9,20,21,23],"7":[9,21,23],"7c95c14c06d77e5ebbd7aafd9c0c345b47d27d30":12,"8":[9,23],"8069":6,"8b02879ff5":12,"9":[7,9,12,23],"9201f92a4f29a53a014b462469f27b32dca8fc5a":0,"boolean":0,"break":0,"case":[0,2,6,8,24],"catch":0,"char":[0,8],"default":[0,8],"do":[0,2,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,24],"export":[0,11],"final":8,"float":0,"function":[0,4,6,8,10],"import":0,"new":[0,1,2,5,7,8,11,13,14,15,16,19,21,22,24],"null":0,"return":[0,7],"static":0,"switch":0,"true":[0,7],"try":[0,4,6,11],"while":1,A:[0,3,5,6,8,11,16],As:[0,6],At:[8,11],Be:11,But:6,For:[0,6,7,11,12,23],If:[0,2,4,8,9,11,24],In:[0,2,3,5,6,10,12,16,24],It:[0,6,8,10,12],No:[0,13,14,15,19,20,21,22],Not:[0,5,16],Of:8,On:2,One:0,Or:11,That:[2,6,7],The:[0,1,2,3,7,8,9,10,11,20,23,24],Then:6,There:[1,12],These:[0,6,22],To:0,With:11,_database_cleanup_:1,_inherit:8,_tabl:0,abl:0,about:[0,9,11],abov:[0,6],absolut:11,acc:6,access:[8,22,24],accomplish:4,accord:[0,6],account:[0,6,7,9,13,15,16,17,18,19,20,21],account_account:[13,17,18,19,20,21,22],account_analytic_analysi:[17,18,19,20,21],account_analytic_default:[13,14,15,16,17,18,19,20,21,22],account_analytic_default_hr_expens:[15,16],account_analytic_default_purchas:[15,16],account_analytic_distribut:21,account_analytic_plan:[17,18,19,20,21],account_anglo_saxon:[17,18,19,20,21],account_asset:[13,14,19,20,21,22],account_asset_manag:14,account_bank_statement_extens:[19,20,21],account_bank_statement_import:[13,14,15,16,21,22],account_budget:[13,14,17,18,19,20,21,22],account_budget_oca:14,account_cancel:[13,14,15,17,18,19,20,21,22],account_cash_basis_base_account:[13,14,21,22],account_chart:[17,18,19,20,21],account_check_print:[13,14,15,16,21,22],account_check_writ:[19,20,21],account_coda:[17,18],account_debit_not:[15,16],account_edi:16,account_edi_extend:16,account_edi_facturx:16,account_edi_proxy_cli:16,account_edi_ubl:16,account_extra_report:[21,22],account_facturx:[14,15,16],account_fleet:16,account_followup:[17,18,19,20,21],account_full_reconcil:[21,22],account_invo:[13,14],account_invoice_layout:[17,18],account_invoice_ship:22,account_lock:[13,14,15,16,21,22],account_pay:[13,14,15,16,17,18,19,20,21],account_payment_ord:21,account_qr_code_sepa:16,account_revers:14,account_sequ:[17,18,19,20,21],account_statement_import:16,account_tax_adjust:[21,22],account_tax_cash_basi:[13,21,22],account_tax_exig:[21,22],account_tax_python:[13,14,15,16,21,22],account_test:[13,14,15,16,19,20,21,22],account_vouch:[13,14,15,17,18,19,20,21,22],achiev:6,across:11,action:[0,8,24],activ:[0,10],activereview:19,actual:[0,8],ad:[0,6,8],adapt:0,add:[0,2,11],add_field:0,add_ir_model_field:0,add_xmlid:0,addit:[0,3,24],addon:[0,2,3,11,19,23],address:[0,22],address_field:0,adjust:[9,10],adopt:16,adyen_platform:16,affect:0,after:[0,3,6,8,9,10,11,12],again:11,against:7,aim:10,algorithm:0,alia:0,alias:0,alias_default:0,alias_parent_model_id:0,alias_parent_thread_id:0,all:[0,3,4,8,9,11,12,23,24],allow:[0,1,11],allow_merg:0,allowed_valu:0,alreadi:[0,6,11,12],also:[0,1,2,6,7,8],altern:6,although:0,alwai:[0,5,6,8,16],an:[0,1,3,4,6,8,10,11,12,23],analys:[5,13,14,15,16,19,20,21,22],analysi:[6,9,10,21,24],analyt:[13,14,15,16,17,18,19,20,21,22],analytic_contract_hr_expens:[19,20,21],analytic_journal_billing_r:[17,18],analytic_user_funct:[17,18,19,20,21],analyz:0,anglo_saxon_dropship:[20,21],ani:[0,1,3,4,6,7,8,10,12,14,15,16,22,24],annot:3,anonym:[13,14,17,18,19,20,21,22],anoth:[0,1,6,7,8,10],anticip:7,anymor:[0,3,22],anywai:[7,22],api:[6,9],appli:[0,7,8],applic:10,appropri:6,appropriatli:6,ar:[0,1,3,4,5,6,7,8,10,11,12,13,14,15,16,18,21,22,24],arg:0,args_detail:0,argument:[0,6,7],around:8,ask:11,asset:14,assign:[0,22],associ:[0,10,13,14,15,16,17,18,19,20,21,22],assum:0,assur:0,attach:0,attachment_index:[15,16],attempt:0,attribut:[0,24],auction:[17,18],audit:8,audittrail:[17,18,19],auth_crypt:[13,14,19,20,21,22],auth_ldap:[13,14,15,16,19,20,21,22],auth_oauth:[13,14,15,16,19,20,21,22],auth_oauth_signup:19,auth_openid:[19,20,21],auth_password_polici:[15,16],auth_password_policy_port:16,auth_password_policy_signup:[15,16],auth_signup:[13,14,15,16,19,20,21,22],auth_totp:16,auth_totp_port:16,autoinstal:11,automat:[0,3,8,24],avail:[0,2,6,11,12,13,14,15,19,20,21,22],avoid:0,awar:6,b:[0,6],back:[4,6,10,12],backup:11,bank:21,barcod:[13,14,15,16,21,22],base:[0,3,11,13,14,15,16,17,18,19,20,21,22],base_action_rul:[13,17,18,19,20,21,22],base_address_c:[13,14,15,16],base_address_extend:[13,14,15,16],base_autom:[13,14,15,16],base_calendar:[17,18,19],base_contact:[17,18],base_crypt:[17,18],base_gengo:[13,14,15,16,19,20,21,22],base_geoloc:[13,14,15,16,20,21,22],base_iban:[13,14,15,16,17,18,19,20,21,22],base_import:[13,14,15,16,19,20,21,22],base_import_modul:[13,14,15,16,20,21,22],base_module_doc_rst:[17,18],base_module_qu:[17,18],base_module_record:[17,18],base_report_cr:[17,18],base_report_design:[17,18,19,20,21],base_setup:[13,14,15,16,17,18,19,20,21,22],base_sparse_field:[13,14,15,16],base_statu:19,base_synchro:[17,18],base_tool:[17,18],base_vat:[13,14,15,16,17,18,19,20,21,22],base_vat_autocomplet:[13,14],basic:6,becam:8,becaus:[0,1],becom:[0,6,8],been:[0,1,3,5,6,8,11,13,14,15,16,19,20,21,22,24],befor:[0,2,3,6,10,11,12],being:[0,6,8],below:[0,5,6,8,16,23],better:7,between:[1,3,5,6,8,13,14,15,16,19,20,21,22,23],bewar:0,bin:11,binari:0,binary_field:0,blob:[0,12],block:0,board:[13,14,15,16,17,18,19,20,21,22],bool:0,both:[2,6,7,11],branch:[2,3,10,11],broken:0,bu:[13,14,15,16,21,22],budget:14,bug:11,built:12,busi:10,c:6,cach:0,caldav:[17,18],calendar:[13,14,15,16,20,21,22],calendar_sm:[13,14,15,16],call:[0,1,6,8,11],callabl:0,can:[0,1,3,4,5,6,8,10,11,12,16,23,24],care:[0,9,11],cascad:0,categori:[0,24],caus:[6,8],certain:0,chang:[0,3,5,6,8,13,14,15,16,19,20,21,22,24],check:[0,6,7,9,10,21],check_values_selection_field:0,chunk:0,circular:11,claim_from_deliveri:[17,18,19,20,21,22],claus:0,clean:[1,11],cleanup:0,clear:8,click:0,code:[0,7,9,10,12,19],coincid:0,collect:[12,24],collis:0,column:[0,1,8],column_exist:0,column_spec:0,columnspec:0,com:[0,1,2,3,4,5,6,10,11,12,13,14,15,16,20,21,22],combin:[0,6],come:0,command:11,comment:24,commit:[10,12],common:0,commun:[9,10,13,14,20,21],compani:[0,4],comparison:[2,24],complet:0,complex:6,compute_func:0,concern:0,config:2,configur:[0,2,4,9,10],connect:2,consequ:8,conserv:1,consid:[0,1,4],consist:[0,1],constraint:0,consult:4,contact:[0,13,14,15,16,19,20,21,22],contain:[0,2,3,6,8,10],content:[0,9],context:[0,12],continu:[0,6],contract:21,contrast:0,contribut:[4,9],contributor:[6,10],convers:0,convert:0,convert_binary_field_to_attach:0,convert_field_to_html:0,convert_to_company_depend:0,copi:[0,3,4,6,8,9,10],copy_column:0,copy_fields_multilang:0,core:[12,14,22],correct:0,correspond:[0,2,8],corrupt:7,could:[0,3,8],count:0,countri:24,coupl:0,coupon:16,cours:8,cover:[0,4,5,13,16,20,24],coverag:[9,10],cow:0,cow_templates_mark_if_equal_to_upstream:0,cow_templates_replicate_upstream:0,cr:0,craft:0,creat:[0,2,3,8,24],critic:0,crm:[13,14,15,16,17,18,19,20,21,22],crm_caldav:[17,18],crm_claim:[17,18,19,20,21,22],crm_fundrais:[17,18],crm_helpdesk:[17,18,19,20,21],crm_iap_lead:[15,16],crm_iap_lead_enrich:[15,16],crm_iap_lead_websit:[15,16],crm_livechat:[13,14,15,16],crm_mass_mail:21,crm_partner_assign:[17,18,19,20,21,22],crm_phone_valid:[13,14,15],crm_profil:[17,18,19,20,21],crm_project:[13,14,15],crm_project_issu:[13,20,21,22],crm_reveal:[14,15],crm_sm:[15,16],crm_todo:19,csv:[0,8],currenc:[0,24],current:[0,24],cursor:0,custom:[0,2,3,4,6,12],d:[0,6],dai:12,dashboard:18,data:[0,1,2,3,8,9,10,24],databas:[0,1,2,4,6,7,8,9,12,24],datatyp:0,date:0,date_field_nam:0,date_to_datetime_tz:0,datetim:0,datetime_field_nam:0,db:[0,6],dbname:0,deactiv:0,deactivate_workflow_transit:0,deal:0,debug:0,decid:11,decimal_precis:[13,14,15,17,18,19,20,21,22],declar:[0,6,7],decor:0,def:0,default_spec:0,defaults_id_kei:0,deferred_:12,defin:[0,24],definit:0,del:8,deleg:8,delet:[0,8],delete_model_workflow:0,delete_record_transl:0,delete_records_safely_by_xml_id:0,deliveri:[13,14,15,16,17,18,19,20,21,22],delivery_hs_cod:15,demo:[0,2],depart:8,depend:[0,6,7,9,10],deprec:0,deriv:8,describ:6,descript:8,design:23,destin:0,destination_column:0,destination_field_nam:0,destination_model:0,destination_t:0,detail:[0,6,9],detect:[7,8],determin:8,develop:[0,3,4,9,10,11,23,24],dict:0,dictionari:[0,11],did:6,differ:[0,6,8,23],digest:[14,15,16],direct:[0,11],directli:11,directori:[0,2,3,12,24],disabl:[0,7],disable_invalid_filt:0,discuss:[4,6],disk:1,displai:8,distinct:8,distribut:[2,5,16,21,23],do_rais:0,doc:0,docstr:12,document:[1,11,13,14,15,17,18,19,20,21,22],document_:[17,18],document_ftp:[17,18,19],document_pag:[19,20],document_webdav:[17,18,19],doe:[0,7,10,14,21],doesn:0,don:[0,9,11],donat:10,done:[0,5,6,13,14,15,16,17,18,19,20,21,22],down:0,drop:0,drop_column:0,drop_index:0,duplic:0,dure:[0,3,6,7,10,12],e:1,each:[0,2,3,6,10,11],earli:0,earlier:[0,9,11,12],easi:6,easier:8,edi:[7,19,20,21],edit:[3,5,6,11,14,16],effort:23,eg:0,egg:11,either:0,element:0,email_templ:[17,18,19,20,21],employe:8,empti:[0,5,8,13,14,15,16,19,20,21,22],encod:8,encount:[8,11],encourag:1,end:[0,3,6,12],engag:6,engin:7,ensur:6,enterpris:14,entri:[0,24],env:0,environ:[0,11],equal:0,equival:0,error:[0,9,11],essenti:0,estim:0,etc:0,even:[0,6,7],event:[13,14,15,16,17,18,19,20,21,22],event_crm:16,event_crm_sal:16,event_moodl:19,event_project:[17,18],event_sal:[13,14,15,16,19,20,21,22],event_sm:[15,16],ever:7,everi:[0,8,11],everyth:0,eviron:0,exactli:[14,21],exampl:[0,8,12],except:[0,6],execept:0,execut:[0,3,6,12],exempl:0,exist:[0,1,4,8,9,24],expect:[0,11],explain:6,explan:6,extend:0,extern:0,extra:[10,21,22],face:6,fact:0,fail:[0,9,11],fals:0,familiar:6,faq:[6,9],featur:[0,8,14,22],feedback:4,fetchmail:[13,14,15,16,17,18,19,20,21,22],fetchmail_gmail:[15,16],field:[0,3,7,9,24],field_nam:0,field_new_model:0,field_old_model:0,field_spec:0,file:[0,2,3,5,6,8,12,13,14,15,16,19,20,21,22,24],filenam:0,fill:[0,8],filter:0,financi:9,find:[0,5,9,14,15,16,22],finish:0,fire:7,first:[0,6,8,10],fit:8,fix:[1,6,9,10,12],fixed_modul:6,fk:0,flag:[8,11,24],fleet:[13,14,15,16,19,20,21,22],float_to_integ:0,fly:0,folder:2,follow:[0,2,5,6,8,11,16],forc:0,force_dep:11,forcecr:0,forcefulli:0,foreign:0,fork:[2,3,10,11],form:[2,24],format:[0,3,9],found:[0,3,5,6,16],frame:0,framework:10,free:[1,7],friendli:0,from:[0,1,2,7,8,9,10,13,14,15,16,20,21,24],full:[1,6,12],func:0,futur:[0,1],gamif:[13,14,15,16,20,21,22],gamification_sale_crm:[13,14,15,16,20,21,22],gener:[2,3,9,24],get:[0,6,9,10],get_last_post_for_model:0,get_legacy_nam:0,get_partner_id_from_user_id:0,get_pool:0,git:[10,11],github:[0,1,2,3,4,5,6,9,10,11,12,13,14,15,16,20,21,22],give:[4,10,24],given:[0,6],glitch:12,go:[0,4,6,11],goal:23,google_account:[13,14,15,16,20,21,22],google_base_account:19,google_calendar:[13,14,15,16,20,21,22],google_doc:19,google_dr:[13,14,15,16,20,21,22],google_gmail:[15,16],google_map:[17,18],google_recaptcha:16,google_spreadsheet:[13,14,15,16,20,21,22],govern:0,grant:22,group:24,guess:0,ha:[0,1,5,8,13,14,15,16,19,20,21,22,24],hack:[0,5,16],had:[0,8],hand:0,handl:0,handler:0,happen:[0,1,6],hardcod:8,hash:0,have:[0,1,3,4,5,6,8,11,12,16,24],header:11,help:[4,5,6,7,10,11,16],helper:[0,10,12],here:[0,6,9,14,15,16,22,24],hierarchi:8,high:0,higher:0,highlight:6,hint:0,hire:[4,10],host:[1,3,10],how:[0,3,6,7,8,9],hr:[8,13,14,15,16,17,18,19,20,21,22],hr_applicant_docu:[20,21],hr_attend:[13,14,15,16,17,18,19,20,21,22],hr_contract:[13,14,15,16,17,18,19,20,21,22],hr_equip:[21,22],hr_evalu:[17,18,19,20],hr_expens:[13,14,15,16,17,18,19,20,21,22],hr_expense_check:[13,14,15,16,22],hr_fleet:[15,16],hr_gamif:[13,14,15,16,20,21,22],hr_holidai:[13,14,15,16,17,18,19,20,21,22],hr_holidays_attend:[15,16],hr_holidays_calendar:16,hr_mainten:[13,14,15,16,22],hr_org_chart:[13,14,15,16],hr_payrol:[13,14,15,17,18,19,20,21,22],hr_payroll_account:[13,14,15,17,18,19,20,21,22],hr_presenc:[15,16],hr_recruit:[13,14,15,16,17,18,19,20,21,22],hr_recruitment_survei:[13,14,15,16,22],hr_skill:[15,16],hr_skills_slid:[15,16],hr_skills_survei:[15,16],hr_timesheet:[13,14,15,16,17,18,19,20,21,22],hr_timesheet_attend:[13,14,15,16,22],hr_timesheet_invoic:[17,18,19,20,21],hr_timesheet_sheet:[13,17,18,19,20,21,22],hr_work_entri:[15,16],html:0,html_field_nam:0,html_view:[17,18],http:[0,1,2,3,4,5,6,9,10,11,12,13,14,15,16,19,20,21,22],http_rout:[13,14,15,16],hw_blackbox_b:[13,14,15,22],hw_driver:[14,15,16],hw_escpo:[13,14,15,16,20,21,22],hw_posbox_homepag:[13,14,15,16,20,21,22],hw_posbox_upgrad:[13,14,15,20,21,22],hw_proxi:[13,14,15,16,20,21,22],hw_scale:[13,14,15,20,21,22],hw_scanner:[13,14,15,20,21,22],hw_screen:[13,14,15],i:[0,1],iap:[13,14,15,16],iap_crm:16,iap_mail:16,id:[0,3,9],idea:[17,18,19],ident:0,identifi:0,idref:0,ignor:[0,24],im:20,im_chat:21,im_livechat:[13,14,15,16,20,21,22],im_livechat_mail_bot:[14,15,16],im_odoo_support:[21,22],im_support:[14,15,16],implement:[0,6,8],improv:[4,10],includ:[0,2,7,10,11,12,14,22],incomplet:0,inconsist:[0,6],incorrect:1,independ:4,index:[0,9],indic:[0,2],inform:[13,14,15,19,20,21,22],inherit:8,init:[0,6,11],init_no_cr:0,initi:[0,10],inner:0,insist:4,instal:[0,2,7,8,9,10,12,13,24],instanc:[0,2,6,7,8,11,12],instead:[0,8,9,10],integ:0,integr:11,intend:0,interest:[4,24],intern:[0,12],introduc:[8,11,12],introduct:[6,9],intuit:1,invers:0,invoic:9,involv:[0,9],io:9,ir:[0,24],ir_model:0,ir_model_data:0,ir_model_field:0,issu:[0,4,6],item:[0,24],iter:0,its:[0,11,24],itself:[0,2,11,12],join:0,just:[0,3,9],keep:[0,1],kei:[0,11],kind:[0,6,14,15,16,22],know:[0,7],knowledg:[4,17,18,19,20,21],kwarg:0,l10n_ae:[13,14,15,16,21,22],l10n_ar:[13,14,15,16,19,20,21,22],l10n_ar_website_sal:16,l10n_at:[13,14,15,16,17,18,19,20,21,22],l10n_au:[13,14,15,16,21,22],l10n_be:[13,14,15,16,17,18,19,20,21,22],l10n_be_coda:[19,20,21],l10n_be_edi:[15,16],l10n_be_hr_payrol:[13,14,15,19,20,21,22],l10n_be_hr_payroll_account:[13,14,15,19,20,21,22],l10n_be_hr_payroll_fleet:[13,14,15],l10n_be_intrastat:[13,14,21,22],l10n_be_intrastat_2019:[13,14,22],l10n_be_invoice_bba:[13,14,15,16,19,20,21,22],l10n_bo:[13,14,15,16,19,20,21,22],l10n_br:[13,14,15,16,17,18,19,20,21,22],l10n_ca:[13,14,15,16,17,18,19,20,21,22],l10n_ch:[13,14,15,16,17,18,19,20,21,22],l10n_ch_qriban:16,l10n_cl:[13,14,15,16,19,20,21,22],l10n_cn:[13,14,15,16,17,18,19,20,21,22],l10n_cn_citi:[14,15,16],l10n_cn_small_busi:[13,14,15,16,21,22],l10n_cn_standard:[13,14,15,16,21,22],l10n_co:[13,14,15,16,19,20,21,22],l10n_co_po:[15,16],l10n_cr:[13,14,15,16,17,18,19,20,21,22],l10n_cz:16,l10n_de:[13,14,15,16,17,18,19,20,21,22],l10n_de_purchas:16,l10n_de_repair:16,l10n_de_sal:16,l10n_de_skr03:[13,14,15,16,21,22],l10n_de_skr04:[13,14,15,16,21,22],l10n_de_stock:16,l10n_dk:[14,15,16],l10n_do:[13,14,15,16,21,22],l10n_dz:16,l10n_e:[13,14,15,16,17,18,19,20,21,22],l10n_ec:[13,14,15,16,17,18,19,20,21,22],l10n_es_edi_sii:16,l10n_et:[13,14,15,16,19,20,21,22],l10n_eu_servic:[13,14,15,16,21,22],l10n_fi:16,l10n_fr:[13,14,15,16,17,18,19,20,21,22],l10n_fr_certif:[13,14,15,21,22],l10n_fr_fec:[13,14,15,16,21,22],l10n_fr_hr_payrol:[13,14,15,19,20,21,22],l10n_fr_pos_cert:[13,14,15,16,21,22],l10n_fr_rib:[19,20,21],l10n_fr_sale_clos:[13,14,15,21,22],l10n_gcc_invoic:16,l10n_gcc_po:16,l10n_generic_coa:[13,14,15,16,21,22],l10n_gr:[13,14,15,16,17,18,19,20,21,22],l10n_gt:[13,14,15,16,17,18,19,20,21,22],l10n_hk:[14,15,16],l10n_hn:[13,14,15,16,19,20,21,22],l10n_hr:[13,14,15,16,19,20,21,22],l10n_hu:[13,14,15,16,21,22],l10n_id:[14,15,16],l10n_id_efaktur:16,l10n_ie:[15,16],l10n_il:[15,16],l10n_in:[13,14,15,16,17,18,19,20,21,22],l10n_in_hr_payrol:[13,14,15,19,20,21,22],l10n_in_po:[15,16],l10n_in_purchas:[13,14,15,16],l10n_in_purchase_stock:[15,16],l10n_in_sal:[13,14,15,16],l10n_in_sale_stock:[15,16],l10n_in_schedule6:[13,14,15,21,22],l10n_in_stock:[13,14,15,16],l10n_it:[13,14,15,16,17,18,19,20,21,22],l10n_it_edi:[14,15,16],l10n_it_edi_sdicoop:16,l10n_it_stock_ddt:16,l10n_jp:[13,14,15,16,21,22],l10n_latam_bas:[15,16],l10n_latam_invoice_docu:[15,16],l10n_lt:[14,15,16],l10n_lu:[13,14,15,16,17,18,19,20,21,22],l10n_ma:[13,14,15,16,17,18,19,20,21,22],l10n_mn:[14,15,16],l10n_multilang:[13,14,15,16,19,20,21,22],l10n_mx:[13,14,15,16,17,18,19,20,21,22],l10n_nl:[13,14,15,16,17,18,19,20,21,22],l10n_no:[13,14,15,16,21,22],l10n_nz:[13,14,15,16,21,22],l10n_pa:[13,14,15,16,19,20,21,22],l10n_pe:[13,14,15,16,19,20,21,22],l10n_pl:[13,14,15,16,17,18,19,20,21,22],l10n_pt:[13,14,15,16,19,20,21,22],l10n_ro:[13,14,15,16,17,18,19,20,21,22],l10n_sa:[13,14,15,16,21,22],l10n_sa_invoic:16,l10n_sa_po:16,l10n_se:[15,16],l10n_se_ocr:16,l10n_sg:[13,14,15,16,21,22],l10n_si:[13,14,15,16,19,20,21,22],l10n_sk:16,l10n_syscohada:[13,14,15,16,19,20,21,22],l10n_th:[13,14,15,16,17,18,19,20,21,22],l10n_tr:[13,14,15,16,19,20,21,22],l10n_u:[13,14,15,16,19,20,21,22],l10n_ua:[15,16],l10n_ui:[13,14,15,16,19,20,21,22],l10n_uk:[13,14,15,16,17,18,19,20,21,22],l10n_ve:[13,14,15,16,17,18,19,20,21,22],l10n_vn:[13,14,15,16,20,21,22],l10n_za:[14,15,16],l23:12,l794:0,l802:0,lack:11,lang_cod:0,languag:0,larg:0,last:0,later:[0,1],latest:[0,9,11],launchpad:19,layout:[1,8],lead:0,learn:[9,11],leav:[0,6],left:[6,24],legaci:0,length:0,less:6,let:0,level:0,librari:[0,8,10],lifecycl:12,lift:0,lift_constraint:0,like:[0,7],line:[8,11],link:0,link_track:[13,14,15,16,21,22],list:[0,8,11],live:[6,11],load:[0,3,8,11,12,24],load_data:[0,24],localhost:6,locat:[2,6],log:0,logged_queri:0,logic:0,logist:9,longer:0,look:[5,12,16],lookup:8,loop:7,lose:[0,8,24],loss:[0,8],lot:[0,4,6,11],lower:12,luckili:6,lunch:[13,14,15,16,17,18,19,20,21,22],m2m:0,m2o:0,m2o_field_old_model:0,m2o_to_x2m:0,mai:[0,3,8,11],mail:[13,14,15,16,19,20,21,22],mail_bot:[14,15,16],mail_bot_hr:16,mail_client_extens:16,mail_gatewai:[17,18],mail_templ:21,mail_tip:[21,22],main:[6,10],maintain:12,mainten:[13,14,15,16,22],major:[0,4,10,23],make:[0,2,7,9,10,12],manag:[0,3,6,7,8,9,14],mani:6,manipul:11,manner:8,manual:[0,8,11,22],many2mani:0,many2on:[0,8],many2one_refer:0,map:[0,8],map_valu:0,mark:[0,5,8,13,14,15,16,21,22],mark_colnam:0,market:[17,18,19,20,21,22],marketing_campaign:[13,17,18,19,20,21,22],marketing_campaign_crm_demo:[13,17,18,19,20,21,22],marketing_crm:[20,21],mass:22,mass_mail:[6,13,14,15,16,20,21,22],mass_mailing_crm:[14,15,16],mass_mailing_ev:[13,14,15,16],mass_mailing_event_sm:[15,16],mass_mailing_event_track:[13,14,15,16],mass_mailing_event_track_sm:[15,16],mass_mailing_sal:[14,15,16],mass_mailing_security_group:22,mass_mailing_slid:[15,16],mass_mailing_sm:[15,16],master:11,match:8,mean:[0,1],meant:0,mechan:[0,12],membership:[13,14,15,16,17,18,19,20,21,22],memori:0,mention:6,menu:2,merg:[0,13,14,15,16,19,20,21,22],merge_modul:0,messag:[0,18],message_last_post:0,method:[9,11,12],microsoft_account:16,microsoft_calendar:16,might:[6,7,8,11],migrat:[0,2,3,4,5,7,8,9,16,20,23,24],migrate_partn:0,migrate_stock_warehous:0,mime:0,minor:0,miss:[0,5,13,14,15,16,21,22],mode:0,model:[0,1,3,8,24],model_id:0,model_nam:0,model_pool:0,model_spec:0,model_table_nam:0,modif:0,modifi:[0,7,24],modul:[0,1,2,3,4,5,7,8,9,10,12,24],module_nam:0,monetari:0,more:[0,2,6,7,11,24],most:[0,6,24],move:[0,8,13,14,20,21],move_field_m2o:0,moved_field:0,mrp:[13,14,15,16,17,18,19,20,21,22],mrp_account:[15,16],mrp_bom_cost:[14,15],mrp_byproduct:[13,14,15,19,20,21,22],mrp_jit:[17,18,19],mrp_landed_cost:16,mrp_oper:[17,18,19,20,21,22],mrp_product_expiri:16,mrp_repair:[13,14,17,18,19,20,21,22],mrp_subcontract:[15,16],mrp_subcontracting_account:[15,16],mrp_subcontracting_dropship:[15,16],mrp_subproduct:[17,18],much:0,multi_compani:[17,18,19,20,21],multipl:[0,8,11],must:[0,11,24],name:[0,6,8,10,11,12],namespec:0,nativ:0,necessari:[0,6,11],necessarili:0,need:[0,2,3,4,6,8,11,18,21,22,24],nest:0,net:19,never:7,new_modul:0,new_nam:0,newer:4,newli:[0,4,8],no_deep:0,no_vers:0,non:[0,7],none:0,normal:0,note:[0,6,10,12,13,14,15,16,19,20,21,22],note_pad:[13,14,15,16,19,20,21,22],noth:[0,5,13,14,15,16,17,18,19,20,21,22],notif:0,noupdat:[0,24],noupdate_chang:[3,24],now:[0,8,13,14,20,21,22],number:0,o2m:0,object:0,obsolet:[0,1],obtain:0,obviou:0,oca:[1,2,3,4,5,6,9,10,11,13,20,21,23],occassion:12,occur:[0,24],occurr:0,odoo:[0,1,2,3,4,6,7,8,9,10,14,20,21,23,24],odoo_referr:16,odoo_referral_port:16,off:6,offici:23,old:[0,1,5,6,8,10,16,24],old_modul:0,old_nam:0,old_valu:0,older:[9,11],one2mani:0,one:[0,5,6,8,10,16,24],onli:[0,1,6,11],open:[0,9,10],openerp:[0,10,11],openupgrad:[1,2,3,4,5,6,7,8,10,12,13,14,15,16,19,20,21,22,24],openupgrade_70:0,openupgrade_80:0,openupgrade_90:0,openupgrade_analysi:[3,5,6,13,14,15,16,19,20,21,22],openupgrade_analysis_work:[3,6],openupgrade_framework:11,openupgrade_general_log:3,openupgrade_legacy_:1,openupgrade_record:[2,3],openupgrade_script:[2,3,6,11],openupgrade_target_vers:11,openupgradelib:[0,6,10,12],oper:0,option:[0,2],order:[0,10,11,21],org:0,organ:12,organis:4,origin:[0,24],origin_field_nam:0,original_nam:0,orm:[0,1],orphan:1,other:[0,2,4,6,8,14,15,16,22],otherwis:0,out:[5,11,16,24],outlook:[17,18],outsid:12,over:[0,7],overcom:6,overrid:0,overview:[8,9,23],overwrit:0,overwritten:24,own:[0,3,9,12],packag:10,pad:[13,14,15,16,17,18,19,20,21,22],pad_project:[13,14,15,16,19,20,21,22],page:[6,9,20],param:0,paramet:[0,2,11],parenthes:8,part:[7,10],parti:[4,23],partial:18,particular:24,partner:[0,8],partner_autocomplet:[14,15,16],partner_autocomplete_address_extend:[14,15,16],partner_field:0,partner_id:0,pass:[0,11,24],past:0,path:[0,2,10,11],payment:[13,14,15,16,20,21,22],payment_adyen:[13,14,15,16,20,21,22],payment_alipai:[15,16],payment_author:[13,14,15,16,21,22],payment_buckaroo:[13,14,15,16,20,21,22],payment_fix_register_token:16,payment_ingenico:[15,16],payment_odoo_by_adyen:16,payment_ogon:[13,14,15,20,21,22],payment_payp:[13,14,15,16,20,21,22],payment_payulatam:[15,16],payment_payumonei:[13,14,15,16,22],payment_sip:[13,14,15,16,21,22],payment_strip:[13,14,15,16,22],payment_stripe_checkout_webhook:16,payment_stripe_sca:[13,14,15,22],payment_test:[15,16],payment_transf:[13,14,15,16,20,21,22],payrol:15,payroll_account:15,per:[0,3,8,12,23],perform:[0,2],period:0,permiss:22,pg:0,phone_valid:[13,14,15,16],pick:6,pip:[0,11,12],place:[0,2,3],plain:0,plan:[6,21],platform:10,pleas:[4,5,10,12,13,14,15,16,19,20,21,22],plugin:[19,20],plugin_outlook:[19,20],plugin_thunderbird:[19,20],pocalyps:6,point:[0,11],point_of_sal:[13,14,15,16,17,18,19,20,21,22],pool:0,pooler:0,popul:0,portal:[13,14,15,16,19,20,21,22],portal_anonym:19,portal_claim:[19,20,21],portal_crm:19,portal_ev:19,portal_gamif:[13,20,21,22],portal_hr_employe:19,portal_project:[19,20,21],portal_project_issu:[19,20,21],portal_r:16,portal_sal:[13,19,20,21,22],portal_stock:[13,19,20,21,22],pos_adyen:[15,16],pos_cach:[13,14,15,16,21,22],pos_cash_rond:14,pos_cash_round:[15,16],pos_data_drink:[13,14,22],pos_discount:[13,14,15,16,21,22],pos_epson_print:[15,16],pos_epson_printer_restaur:[15,16],pos_hr:[15,16],pos_kitchen_print:[15,16],pos_mercuri:[13,14,15,16,21,22],pos_reprint:[13,14,15,16,21,22],pos_restaur:[13,14,15,16,21,22],pos_restaurant_adyen:16,pos_sal:[13,14,15,16],pos_six:[15,16],posibl:8,possibl:[0,8],post:[0,3,4,6,8,10,12,24],postgresql:[0,1],potenti:0,power:6,pr:9,pre:[0,3,6,8,12],prefer:0,prefix:1,present:0,preserv:[0,18],presum:0,prevent:0,previou:[0,3,11,24],previous:0,previs:0,print:21,probabl:[0,11,12],problem:0,process:[0,3,4,7,9,11,17,18,19],procur:[13,17,18,19,20,21,22],procurement_jit:[13,14,15,16,20,21,22],procurement_jit_stock:21,product:[7,13,14,15,16,17,18,19,20,21,22,24],product_email_templ:[13,14,15,16,20,21,22],product_expiri:[13,14,15,16,17,18,19,20,21,22],product_extend:[13,14,20,21,22],product_manufactur:[17,18,19],product_margin:[13,14,15,16,17,18,19,20,21,22],product_matrix:[15,16],product_product:0,product_templ:0,product_uo:[21,22],product_visible_discount:[17,18,19,20,21,22],profession:4,profile_tool:[17,18],progress:[5,13,14,15,16,19,20,21,22],project:[1,4,10,13,14,15,16,17,18,19,20,21,22,23],project_caldav:[17,18],project_gtd:[17,18,19],project_issu:[13,17,18,19,20,21,22],project_issue_sheet:[13,17,18,19,20,21,22],project_long_term:[17,18,19],project_mailg:[17,18],project_messag:[17,18],project_mrp:[17,18,19,20],project_plan:[17,18],project_retro_plan:[17,18],project_scrum:[17,18],project_task:13,project_timesheet:[17,18,19,20,21,22],project_timesheet_holidai:[13,14,15,16],properli:0,properti:[0,8],propos:[4,13,14,15,19,20,21,22],proprietari:12,protect:1,provid:[0,4,10,11,23],pull:[5,6,10,13,14,15,16,20,21,22],purchas:[13,14,15,16,17,18,19,20,21,22],purchase_analytic_distribut:21,purchase_analytic_plan:[17,18,19,20,21],purchase_double_valid:[17,18,19,20,21],purchase_mrp:[13,14,15,16,22],purchase_product_matrix:[15,16],purchase_requisit:[13,14,15,16,17,18,19,20,21,22],purchase_requisition_stock:[15,16],purchase_stock:[14,15,16],pure:0,purg:1,purpos:[0,1,6],put:0,py:[0,3,6,12],python:[3,6,12],q:6,queri:0,question:0,quick_request:0,quot:0,rais:0,ran:0,rate:[13,14,15,16,21,22],rather:11,rating_project:[13,14,21,22],rating_project_issu:[13,21,22],raw:0,re:[0,8,24],reactiv:0,reactivate_workflow_transit:0,read:[0,6,11,20],readi:[5,16],real:13,realli:11,reason:[0,12],receiv:0,recent:2,recommend:[0,11],recomput:7,record:[0,2,3,24],recordset:0,recov:15,recreat:[0,24],reduc:6,ref_spec_act:0,refer:[0,1,6,8,9,10,11],regist:0,registri:0,registry_new_model:0,registry_old_model:0,regular:[0,7],reiniti:0,reintroduc:1,rel:0,relat:[0,8],relation_column:0,releas:[0,2,3,4,5,8,10,12,13,14,15,16,21,22,23,24],reli:12,remain:8,remov:[0,1,8,20,24],remove_tables_fk:0,renam:[0,8,13,14,15,16,20,21,24],rename_column:0,rename_field:0,rename_model:0,rename_properti:0,rename_t:0,rename_xmlid:[0,24],repair:[14,15,16],repeat:[9,10],replac:[0,14,15],replace_account_typ:0,report:[0,4,8,11,13,20,21,22],report_design:[17,18],report_intrastat:[13,14,17,18,19,20,21,22],report_webkit:[17,18,19,20,21,22],report_webkit_sampl:[17,18],repositori:[3,11],repres:0,represent:24,request:[0,10],requir:[0,6,8,22],rerun:6,res_group:0,res_id:0,res_nam:0,reset:[0,6],resourc:[0,9,13,14,15,16,17,18,19,20,21,22],respect:0,restart:9,restor:[1,6],result:[0,4],resurfac:0,retain:0,retriev:0,review:[3,5,9,13,14,15,16,18,19,20,21,22,24],right:[0,3],robust:7,round:0,routin:0,row:0,rule:8,run:[0,1,3,5,6,7,9,10,12,16],s:[0,1,3,5,8,12,13,14,15,16,22],sa:10,safe_unlink:0,safest:0,sale:[9,13,14,15,16,17,18,19,20,21],sale_analytic_distribut:21,sale_analytic_plan:[17,18,19,20,21],sale_coupon:[15,16],sale_coupon_deliveri:[15,16],sale_crm:[13,14,15,16,17,18,19,20,21,22],sale_expens:[13,14,15,16,21,22],sale_journ:[17,18,19,20,21],sale_layout:[17,18,20,21,22],sale_manag:[13,14,15,16],sale_margin:[13,14,15,16,17,18,19,20,21,22],sale_mrp:[13,14,15,16,17,18,19,20,21,22],sale_order_back2draft:22,sale_order_d:[13,14,17,18,19,20,21,22],sale_pay:[13,14],sale_product_configur:[15,16],sale_product_matrix:[15,16],sale_project:16,sale_purchas:[14,15,16],sale_purchase_stock:16,sale_quotation_build:[14,15,16],sale_servic:[20,21,22],sale_service_r:[13,14,22],sale_stock:[13,14,15,16,19,20,21,22],sale_stock_margin:16,sale_timesheet:[13,14,15,16,21,22],sale_timesheet_edit:16,sale_timesheet_purchas:[15,16],sales_team:[13,14,15,16,20,21,22],same:[0,6,8,12,14,21],save:[0,6],scope:0,scrip:9,script:[0,1,2,3,4,5,7,8,9,10,12,16,23,24],search:9,second:[0,8,10],section:8,secur:8,see:[0,1,5,6,8,12,13,14,15,16,19,20,21,22,23],select:[0,2,6,8,11],sens:0,sent:18,separ:[8,10,11],sequenc:0,serial:0,server:[1,2,3,7,11,24],set:[0,2,3,8,11],set_default:[0,8],set_message_last_post:0,set_parent_thread_id:0,set_partner_id_from_partner_address_id:0,set_xml_ids_noupdate_valu:0,sever:11,share:[13,14,15,17,18,19,20,21,22],sheet:13,shortcut:20,should:[0,6,8,9,23,24],show:6,shown:0,side:0,signal:8,signatur:0,significantli:6,simpl:[0,6,8],simpli:[0,6],sinc:[0,6],singl:[0,4],situat:[6,8],skip:[0,11],skip_no_result:0,slightli:7,slow:0,sm:[14,15,16],snailmail:[14,15,16],snailmail_account:[14,15,16],so:[0,7,8,11,24],social:9,social_media:[14,15,16],softwar:4,sold:10,some:[0,3,6,11],sourc:[0,10,11],source_column:0,source_field:0,source_model:0,source_t:0,space:1,special:0,specif:0,specifi:0,sponsor:10,sql:0,sql_constraint:0,stabl:1,stage:[0,11,12],standard:0,stanza:11,start:[0,2,3,5,6,11,16],state:[0,6],stateg:4,statement:0,statist:3,statu:[13,14,15,16,17,18,19,20,21,22],status:[5,16],step:[0,2,6,12],still:[0,1,12],stock:[0,9,13,15,16,17,18,19,20,21,22],stock_account:[13,14,15,16,20,21,22],stock_calendar:[13,21,22],stock_dropship:[13,14,15,16,20,21,22],stock_invoice_directli:[17,18,19,20,21],stock_landed_cost:[13,14,15,16,20,21,22],stock_loc:[17,18,19],stock_no_autopick:[17,18,19],stock_picking_batch:[13,14,15,16],stock_picking_wav:[13,20,21,22],stock_plan:[17,18],stock_putaway_product:14,stock_sm:[15,16],stock_zebra:[14,15],stop:[6,8,11],store:0,str:0,strategi:1,string:0,stuff:0,sub:0,subdirectori:[3,12],subscript:[13,17,18,19,20,21,22],subsequ:[0,2,23],substitut:0,successfulli:6,suffer:[14,15,16,22],suit:10,suitabl:0,superuser_id:0,support:[0,10,11],sure:[0,11],survei:[13,14,15,16,17,18,19,20,21,22],survey_crm:[13,14,15,20,21,22],surviv:24,systemat:9,t:[0,9,11],tab:19,tabl:[0,1,5,8,16],table_exist:0,table_nam:0,table_spec:0,take:[0,24],taken:[0,14,15,16,22],target:[0,2,3,8,11],target_column:0,task:[0,6],technic:[4,9],techniqu:0,technolog:4,templat:[0,18],temporari:8,tent:21,terminolog:10,test:[0,6],test_base_autom:16,test_event_ful:16,test_mail:[14,15,16],test_mail_ful:[15,16],test_mass_mail:[14,15,16],test_websit:[14,15,16],test_website_slides_ful:[15,16],test_xlsx_export:[15,16],text:0,than:[3,11,12],thank:4,thei:[0,1,8,11,21,24],them:[0,7,8,11,24],theme_bootswatch:[13,14,15,16,21,22],theme_default:[13,14,15,16,21,22],theoret:0,therefor:24,thi:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,20,21,22,23,24],thing:0,those:[0,6],though:[0,7],three:12,through:[0,6],thu:[0,8],thunderbird:[17,18],tidi:1,time:[0,6,8,11],timesheet:13,timezon:0,tinyerp:12,titl:8,todo:[0,8],too:0,tool:[0,1,3,4,9,12],transact:0,transfer:0,transform:[0,14,15,16,22],transifex:[13,14,15,16],transit:0,transition_condit:0,translat:0,translations_onli:0,treat:[7,11],tree:[13,14,20,21],trial:9,trigger:[0,6],truncat:0,trunk:[13,14,15,19,20,21,22],tupl:0,two:[2,3,10,24],txt:[3,5,6,13,14,15,16,19,20,21,22],type:[0,8,24],type_spec:0,typic:[0,8],u:6,ui:24,uid:0,umbrella:[13,20,21],uncov:11,under:[3,11,13,20,21,24],underestim:6,understand:6,unexpect:6,uniqu:0,unit:0,unknown:7,unleash:6,unlink:[0,24],until:7,uom:[14,15,16],up:[1,2,11],updat:[0,6,8,11,24],update_alias:0,update_field_multilang:0,update_module_moved_field:0,update_module_nam:0,update_workflow_workitem:0,upgrad:[0,1,2,4,7,8,9,10,12],upgrade_analysi:[2,3],upstream:0,us:[0,1,2,3,4,10,11,12,24],usag:0,use_env:0,use_orm:0,user:[0,4,22],user_field_nam:0,user_id:0,users_ldap:[17,18],usual:[0,6],utm:[13,14,15,16,21,22],v12:0,v8:0,vacuum:1,val:0,valid:0,valu:[0,7,8,11],valuat:13,vari:0,variabl:[0,11],veri:0,version:[0,1,2,6,7,9,11,12,23,24],via:0,view:[0,2],wa:[0,3,6,12,20],wai:[0,1,6,8,24],want:[0,6,7,9,11,24],warehous:9,warn:[0,17,18,19,20,21,22],warn_possible_dataloss:0,we:[0,4,7],web:[6,11,13,14,15,16,20,21,22],web_analyt:[19,20,21,22],web_api:[20,21],web_calendar:[13,20,21,22],web_diagram:[13,14,15,16,20,21,22],web_editor:[13,14,15,16,21,22],web_gantt:[20,21],web_graph:[20,21],web_kanban:[13,20,21,22],web_kanban_gaug:[13,14,15,16,20,21,22],web_kanban_sparklin:[20,21],web_linkedin:[19,20,21],web_livechat:[17,18],web_plann:[13,14,21,22],web_settings_dashboard:[13,14,15,21,22],web_shortcut:[19,20],web_test:[20,21],web_tests_demo:[20,21],web_tip:[21,22],web_tour:[13,14,15,16,22],web_unsplash:[14,15,16],web_uservoic:[17,18],web_view_editor:[20,21,22],websit:[0,13,14,15,16,20,21,22],website_blog:[13,14,15,16,20,21,22],website_certif:[20,21],website_crm:[13,14,15,16,20,21,22],website_crm_claim:[21,22],website_crm_livechat:[15,16],website_crm_partner_assign:[13,14,15,16,20,21,22],website_crm_phone_valid:[13,14,15],website_crm_sm:[15,16],website_custom:[13,14,15,16,20,21,22],website_ev:[13,14,15,16,20,21,22],website_event_crm:16,website_event_crm_quest:16,website_event_meet:16,website_event_meet_quiz:16,website_event_quest:[13,14,15,16,21,22],website_event_sal:[13,14,15,16,20,21,22],website_event_track:[13,14,15,16,20,21,22],website_event_track_exhibitor:16,website_event_track_l:16,website_event_track_live_quiz:16,website_event_track_quiz:16,website_form:[13,14,15,16,21,22],website_form_project:[13,14,15,16],website_forum:[13,14,15,16,20,21,22],website_forum_doc:[13,14,20,21,22],website_gengo:[13,14,15,16,20,21,22],website_google_map:[13,14,15,16,20,21,22],website_hr:[13,14,15,20,21,22],website_hr_recruit:[13,14,15,16,20,21,22],website_instantclick:21,website_issu:[13,21,22],website_jitsi:16,website_link:[13,14,15,16,21,22],website_livechat:[13,14,15,16,20,21,22],website_mail:[13,14,15,16,20,21,22],website_mail_channel:[13,14,15,16,21,22],website_mail_group:[20,21],website_mass_mail:[13,14,15,16,21,22],website_membership:[13,14,15,16,20,21,22],website_partn:[13,14,15,16,20,21,22],website_pay:[13,14,15,16,20,21,22],website_port:[13,21,22],website_portal_sal:[13,21,22],website_profil:[15,16],website_project:[13,20,21,22],website_project_issu:[13,21,22],website_project_issue_sheet:[13,21,22],website_project_timesheet:[13,22],website_quot:[13,14,20,21,22],website_r:[13,14,15,16],website_rating_project:[13,14],website_rating_project_issu:[13,21,22],website_report:[20,21],website_sal:[13,14,15,16,20,21,22],website_sale_comparison:[13,14,15,16],website_sale_coupon:[15,16],website_sale_coupon_deliveri:[15,16],website_sale_deliveri:[13,14,15,16,20,21,22],website_sale_digit:[13,14,15,16,21,22],website_sale_link_track:[14,15],website_sale_manag:[13,14,15,16],website_sale_opt:[13,14,21,22],website_sale_product_configur:[15,16],website_sale_slid:[15,16],website_sale_stock:[13,14,15,16,21,22],website_sale_stock_opt:[13,14],website_sale_stock_product_configur:[15,16],website_sale_wishlist:[13,14,15,16],website_slid:[13,14,15,16,21,22],website_slides_forum:[15,16],website_slides_survei:[15,16],website_sm:[15,16],website_survei:[14,15],website_theme_instal:[13,14,15,16,21,22],website_twitt:[13,14,15,16,20,21,22],well:[0,3,10,11],went:0,were:[0,3,6,8,12],what:6,when:[0,1,3,6,7,8,11,12,13,24],whenev:[0,6],where:[0,6,12],whether:0,which:[0,1,2,3,6,8,11,12,24],whole:0,whose:0,wiki:[17,18],wiki_faq:[17,18],wiki_quality_manu:[17,18],wiki_sale_faq:[17,18],within:[0,4,6],without:[0,2,6,8],wizard:2,won:0,word:1,work:[0,4,5,6,7,11,13,14,15,16,19,20,21,22],workflow:[0,7,9],wors:0,worth:0,would:[0,7],write:[0,2,4,6,21],written:0,www:0,xml:[0,3,8,9],xml_id:0,xmlid:0,xmlids_spec:0,ye:[0,7],yet:[0,5,11,13,16],yield:0,yml:0,you:[0,1,2,3,4,5,6,7,8,9,10,11,12,14,15,16,22,24],your:[0,1,3,4,7,8,9,12,13,14,15,19,20,21,22,24],yourself:11},titles:["OpenUpgrade API","After migration","How to run your own analysis","Database analysis","Community involvement","<no title>","Migration script development","Development FAQ","Fields analysis format","Welcome to OpenUpgrade\u2019s documentation!","Introduction","Running the migration","The Odoo Migration Manager","Module coverage 10.0 -> 11.0","Module coverage 11.0 -> 12.0","Module coverage 12.0 -> 13.0","Module coverage 13.0 -> 14.0","Module coverage 5.0 -> 6.0","Module coverage 6.0 -> 6.1","Module coverage 6.1 -> 7.0","Module coverage 7.0 -> 8.0","Module coverage 8.0 -> 9.0","Module coverage 9.0 -> 10.0","Module coverage","XML IDs"],titleterms:{"0":[0,13,14,15,16,17,18,19,20,21,22],"1":[11,18,19],"10":[13,22],"11":[13,14],"12":[14,15],"13":[15,16],"14":16,"2":11,"3":11,"4":11,"5":[11,17],"6":[17,18,19],"7":[0,19,20],"8":[0,20,21],"9":[0,21,22],The:[6,12],account:[14,22],adjust:11,after:1,all:6,analysi:[2,3,8],api:0,check:11,code:[6,11],commun:4,configur:11,content:3,contribut:10,copi:11,coverag:[11,13,14,15,16,17,18,19,20,21,22,23],data:11,databas:[3,10,11],depend:11,develop:[6,7],document:9,earlier:3,error:6,exist:6,fail:6,faq:7,field:8,file:11,financi:14,fix:11,format:8,from:[6,11],gener:0,get:11,how:2,id:24,indic:9,instal:11,instead:6,introduct:10,invoic:22,involv:4,learn:6,logist:14,make:11,manag:12,method:0,migrat:[1,6,10,11,12],miss:11,modul:[6,11,13,14,15,16,17,18,19,20,21,22,23],obsolet:11,oca:[14,15,16,22],odoo:[11,12],older:10,open:6,openupgrad:[0,9,11],openupgradelib:11,option:11,overview:6,own:2,pr:6,process:6,repeat:11,resourc:6,restart:6,review:6,run:[2,11],s:9,sale:22,scrip:6,script:[6,11],social:22,stock:14,systemat:6,tabl:9,tool:14,trial:6,upgrad:[6,11],version:[3,10],warehous:14,welcom:9,workflow:22,write:11,xml:24,your:[2,6,10,11]}}) \ No newline at end of file diff --git a/docs/status.html b/docs/status.html index d39d88ca29fc..63b20f8dfa56 100644 --- a/docs/status.html +++ b/docs/status.html @@ -132,7 +132,7 @@

Quick search

©2012-2021, Odoo Community Association (OCA) / The OpenUpgrade developers. | - Powered by Sphinx 4.4.0 + Powered by Sphinx 4.5.0 & Alabaster 0.7.12 diff --git a/docs/xmlids.html b/docs/xmlids.html index 8313d47ffd58..3e5a9a4cb7c8 100644 --- a/docs/xmlids.html +++ b/docs/xmlids.html @@ -144,7 +144,7 @@

Quick search

©2012-2021, Odoo Community Association (OCA) / The OpenUpgrade developers. | - Powered by Sphinx 4.4.0 + Powered by Sphinx 4.5.0 & Alabaster 0.7.12 From b2c5a65049460b3bf25a058adc8646aa1f006cfd Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 27 Mar 2022 19:03:07 +0000 Subject: [PATCH 093/403] [UPD] HTML documentation --- docs/modules130-140.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/modules130-140.html b/docs/modules130-140.html index 9c0ddfedc904..aee7e8f697a4 100644 --- a/docs/modules130-140.html +++ b/docs/modules130-140.html @@ -134,13 +134,13 @@

Module coverage 13.0 -> 14.0

auth_password_policy

- +

Nothing to do

new auth_password_policy_portal

auth_password_policy_signup

- +

Nothing to do

auth_signup

Done

From f86063ff5a46baaae4ecf00456d487ffa0d5c764 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 27 Mar 2022 19:18:07 +0000 Subject: [PATCH 094/403] [UPD] HTML documentation --- docs/modules130-140.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules130-140.html b/docs/modules130-140.html index aee7e8f697a4..de6f082b7705 100644 --- a/docs/modules130-140.html +++ b/docs/modules130-140.html @@ -1079,7 +1079,7 @@

Module coverage 13.0 -> 14.0

web_unsplash

- +

Nothing to do

website

Done

From 4b713d85d7945e8c599951354a8fb308fe999221 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 27 Mar 2022 19:26:37 +0000 Subject: [PATCH 095/403] [UPD] HTML documentation --- docs/modules130-140.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/modules130-140.html b/docs/modules130-140.html index de6f082b7705..245b4f9da2a7 100644 --- a/docs/modules130-140.html +++ b/docs/modules130-140.html @@ -698,13 +698,13 @@

Module coverage 13.0 -> 14.0

mass_mailing

- +

Done

mass_mailing_crm

mass_mailing_event

- +

Nothing to do

mass_mailing_event_sms

From 59a5a755770d34d660e01de24ff31986e00ca01d Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Sun, 27 Mar 2022 22:21:05 +0200 Subject: [PATCH 096/403] [OU-ADD] mass_mailing_crm: Nothing to do TT29994 --- docsource/modules130-140.rst | 2 +- .../mass_mailing_crm/14.0.1.0/upgrade_analysis_work.txt | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/mass_mailing_crm/14.0.1.0/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 5b0cb157f1d1..03606607df07 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -434,7 +434,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |mass_mailing | Done | +--------------------------------------------+-------------------------------------------------+ -|mass_mailing_crm | | +|mass_mailing_crm | Nothing to do | +--------------------------------------------+-------------------------------------------------+ |mass_mailing_event | Nothing to do | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/mass_mailing_crm/14.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/mass_mailing_crm/14.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..ea8150ad9f5a --- /dev/null +++ b/openupgrade_scripts/scripts/mass_mailing_crm/14.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,5 @@ +---Models in module 'mass_mailing_crm'--- +---Fields in module 'mass_mailing_crm'--- +---XML records in module 'mass_mailing_crm'--- +---nothing has changed in this module-- +# NOTHING TO DO From 776c6ecb1b0889ce5ecdeae14c64faff2da879e4 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 27 Mar 2022 20:33:41 +0000 Subject: [PATCH 097/403] [UPD] HTML documentation --- docs/modules130-140.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/modules130-140.html b/docs/modules130-140.html index 245b4f9da2a7..6b7da354b5b0 100644 --- a/docs/modules130-140.html +++ b/docs/modules130-140.html @@ -707,13 +707,13 @@

Module coverage 13.0 -> 14.0

mass_mailing_event_sms

- +

Nothing to do

mass_mailing_event_track

- +

Nothing to do

mass_mailing_event_track_sms

- +

Nothing to do

mass_mailing_sale

From 7437a5a896ff83bb4a40ec8d9d3961bea3317682 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 27 Mar 2022 21:00:56 +0000 Subject: [PATCH 098/403] [UPD] HTML documentation --- docs/modules130-140.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules130-140.html b/docs/modules130-140.html index 6b7da354b5b0..16825b0b3bce 100644 --- a/docs/modules130-140.html +++ b/docs/modules130-140.html @@ -701,7 +701,7 @@

Module coverage 13.0 -> 14.0

mass_mailing_crm

- +

Nothing to do

mass_mailing_event

Nothing to do

From 9a864b6a72e9afb69f74dcf7cf1fc1c3ad060ea3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miquel=20Ra=C3=AFch?= Date: Fri, 25 Mar 2022 17:06:41 +0100 Subject: [PATCH 099/403] [FIX] base: assure existing users can export Maintain same behaviour as previous versions. --- .../scripts/base/14.0.1.3/post-migrate.py | 18 ++++++++++++++++++ .../base/14.0.1.3/upgrade_analysis_work.txt | 4 +++- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/openupgrade_scripts/scripts/base/14.0.1.3/post-migrate.py b/openupgrade_scripts/scripts/base/14.0.1.3/post-migrate.py index 30bc6670d6c8..9a461f29cb33 100644 --- a/openupgrade_scripts/scripts/base/14.0.1.3/post-migrate.py +++ b/openupgrade_scripts/scripts/base/14.0.1.3/post-migrate.py @@ -44,8 +44,26 @@ def fix_module_category_parent_id(env): ) +def users_should_export(env): + # maintain same behavior as previous versions + export_group = env.ref("base.group_allow_export").id + user_group = env.ref("base.group_user").id + openupgrade.logged_query( + env.cr, + """ + INSERT INTO res_groups_users_rel (uid, gid) + SELECT rel.uid, %s + FROM res_groups_users_rel rel + WHERE rel.gid = %s + ON CONFLICT DO NOTHING + """, + (export_group, user_group), + ) + + @openupgrade.migrate() def migrate(env, version): fix_module_category_parent_id(env) + users_should_export(env) # Load noupdate changes openupgrade.load_data(env.cr, "base", "14.0.1.3/noupdate_changes.xml") diff --git a/openupgrade_scripts/scripts/base/14.0.1.3/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/base/14.0.1.3/upgrade_analysis_work.txt index 834debe3d12e..1f685b5df794 100644 --- a/openupgrade_scripts/scripts/base/14.0.1.3/upgrade_analysis_work.txt +++ b/openupgrade_scripts/scripts/base/14.0.1.3/upgrade_analysis_work.txt @@ -117,7 +117,9 @@ DEL ir.ui.view: base.view_base_document_layout DEL ir.ui.view: base.view_menu DEL ir.ui.view: base.view_partner_short_form NEW res.country.group: base.sepa_zone (noupdate) -NEW res.groups: base.group_allow_export NEW res.lang: base.lang_en_IN DEL res.lang: base.lang_fil # Done: switch partners to Tagalog + +NEW res.groups: base.group_allow_export +# DONE: post-migration: put all users in this group to maintain previous behavior From e3a28a592a5bd16490513fcd499a92db636296fa Mon Sep 17 00:00:00 2001 From: mreficent Date: Thu, 22 Jul 2021 17:48:53 +0200 Subject: [PATCH 100/403] [OU-ADD] sale_stock: Migration scripts --- docsource/modules130-140.rst | 2 +- .../sale_stock/14.0.1.0/pre-migration.py | 10 +++++++++ .../14.0.1.0/upgrade_analysis_work.txt | 21 +++++++++++++++++++ 3 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/sale_stock/14.0.1.0/pre-migration.py create mode 100644 openupgrade_scripts/scripts/sale_stock/14.0.1.0/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 12e103543128..dec86d505611 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -616,7 +616,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |sale_quotation_builder | | +--------------------------------------------+-------------------------------------------------+ -|sale_stock | | +|sale_stock | Done | +--------------------------------------------+-------------------------------------------------+ | |new| sale_stock_margin | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/sale_stock/14.0.1.0/pre-migration.py b/openupgrade_scripts/scripts/sale_stock/14.0.1.0/pre-migration.py new file mode 100644 index 000000000000..8de868d339a7 --- /dev/null +++ b/openupgrade_scripts/scripts/sale_stock/14.0.1.0/pre-migration.py @@ -0,0 +1,10 @@ +# Copyright 2021 ForgeFlow S.L. +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.set_xml_ids_noupdate_value( + env, "sale_stock", ["stock_picking_rule_portal"], True + ) diff --git a/openupgrade_scripts/scripts/sale_stock/14.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/sale_stock/14.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..61a780739a57 --- /dev/null +++ b/openupgrade_scripts/scripts/sale_stock/14.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,21 @@ +---Models in module 'sale_stock'--- +---Fields in module 'sale_stock'--- +sale_stock / res.users / property_warehouse_id (many2one): NEW relation: stock.warehouse, hasdefault +sale_stock / sale.order.line / warehouse_id (many2one) : not a function anymore +sale_stock / sale.order.line / warehouse_id (many2one) : now related +# NOTHING TO DO + +---XML records in module 'sale_stock'--- +NEW ir.model.access: sale_stock.access_stock_picking_portal [renamed from stock module] +# NOTHING TO DO: done in stock + +ir.rule: sale_stock.stock_picking_rule_portal (noupdate) (noupdate switched) +# DONE: pre-migration: switched noupdate xmlid + +DEL ir.model.access: sale_stock.access_product_packaging_manager +NEW ir.ui.view: sale_stock.res_users_view_form +NEW ir.ui.view: sale_stock.res_users_view_form_preferences +NEW ir.ui.view: sale_stock.res_users_view_simple_form +NEW ir.ui.view: sale_stock.sale_order_cancel_view_form_inherit +NEW ir.ui.view: sale_stock.sale_report_product_product_replenishment +# NOTHING TO DO: noupdate=0 ir records From 2a412f9371ed3ef54a438ff56f5802ed58d78888 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 28 Mar 2022 09:13:34 +0000 Subject: [PATCH 101/403] [UPD] HTML documentation --- docs/modules130-140.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules130-140.html b/docs/modules130-140.html index 16825b0b3bce..9ab2448a8630 100644 --- a/docs/modules130-140.html +++ b/docs/modules130-140.html @@ -974,7 +974,7 @@

Module coverage 13.0 -> 14.0

sale_stock

- +

Done

new sale_stock_margin

From 4cc347e8e551caa2c3851c41ee9884d06c164c00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miquel=20Ra=C3=AFch?= Date: Mon, 28 Mar 2022 11:17:41 +0200 Subject: [PATCH 102/403] [MIG] website_form --- docsource/modules130-140.rst | 2 +- .../14.0.1.0/upgrade_analysis_work.txt | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/website_form/14.0.1.0/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index dec86d505611..3c6ae98add33 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -726,7 +726,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ | |new| website_event_track_quiz | | +--------------------------------------------+-------------------------------------------------+ -|website_form | | +|website_form | Nothing to do | +--------------------------------------------+-------------------------------------------------+ |website_form_project | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/website_form/14.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_form/14.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..b05d61b2898c --- /dev/null +++ b/openupgrade_scripts/scripts/website_form/14.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,16 @@ +---Models in module 'website_form'--- +---Fields in module 'website_form'--- +website_form / website / website_form_enable_metadata (boolean): DEL +# NOTHING TO DO + +---XML records in module 'website_form'--- +NEW ir.ui.view: website_form.assets_snippet_s_website_form_css_000 +NEW ir.ui.view: website_form.assets_snippet_s_website_form_css_001 +NEW ir.ui.view: website_form.assets_snippet_s_website_form_js_000 +NEW ir.ui.view: website_form.s_website_form_options +NEW ir.ui.view: website_form.snippets +DEL ir.ui.view: website_form.assets_frontend +DEL ir.ui.view: website_form.register_s_website_form +DEL ir.ui.view: website_form.res_config_settings_view_form +DEL ir.ui.view: website_form.snippet_options +# NOTHING TO DO \ No newline at end of file From 484494dbcf4fd5f1e072a9eae1fef4e0e27224a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miquel=20Ra=C3=AFch?= Date: Mon, 28 Mar 2022 11:21:15 +0200 Subject: [PATCH 103/403] [MIG] website_profile --- docsource/modules130-140.rst | 2 +- .../website_profile/14.0.1.0/upgrade_analysis_work.txt | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/website_profile/14.0.1.0/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index dec86d505611..96621fd1e75e 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -756,7 +756,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |website_payment | | +--------------------------------------------+-------------------------------------------------+ -|website_profile | | +|website_profile | Nothing to do | +--------------------------------------------+-------------------------------------------------+ | |del| website_rating | Renamed to portal_rating | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/website_profile/14.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_profile/14.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..2853c25e0b12 --- /dev/null +++ b/openupgrade_scripts/scripts/website_profile/14.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,5 @@ +---Models in module 'website_profile'--- +---Fields in module 'website_profile'--- +---XML records in module 'website_profile'--- +NEW ir.ui.view: website_profile.badge_header +# NOTHING TO DO \ No newline at end of file From 4cf7ddf455b1aa2c1d8c71f0cffb2d6c1c91be27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miquel=20Ra=C3=AFch?= Date: Mon, 28 Mar 2022 11:24:27 +0200 Subject: [PATCH 104/403] [MIG] website_google_map --- docsource/modules130-140.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index dec86d505611..a4eaea6bc194 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -734,7 +734,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ | |del| website_gengo | | +--------------------------------------------+-------------------------------------------------+ -|website_google_map | | +|website_google_map | Nothing to do | +--------------------------------------------+-------------------------------------------------+ |website_hr_recruitment | | +--------------------------------------------+-------------------------------------------------+ From f1e65506db64d2ce6d0afe83608643f3d21b86bc Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Sun, 27 Mar 2022 03:14:20 +0200 Subject: [PATCH 105/403] [OU-ADD] sale_mrp: Nothing to do TT33428 --- docsource/modules130-140.rst | 2 +- .../scripts/sale_mrp/14.0.1.0/upgrade_analysis_work.txt | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/sale_mrp/14.0.1.0/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index dec86d505611..cc330d7a067b 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -602,7 +602,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |sale_margin | Done | +--------------------------------------------+-------------------------------------------------+ -|sale_mrp | | +|sale_mrp | Nothing to do | +--------------------------------------------+-------------------------------------------------+ |sale_product_configurator | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/sale_mrp/14.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/sale_mrp/14.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..fefd326ef1ca --- /dev/null +++ b/openupgrade_scripts/scripts/sale_mrp/14.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,7 @@ +---Models in module 'sale_mrp'--- +---Fields in module 'sale_mrp'--- +---XML records in module 'sale_mrp'--- +DEL ir.model.access: sale_mrp.access_mrp_bom_salesman +NEW ir.ui.view: sale_mrp.mrp_production_form_view_sale +NEW ir.ui.view: sale_mrp.sale_order_form_mrp +# NOTHING TO DO: noupdate=0 ir records From 3ece38039405296a49c9bf48e1f7d1c0a4270886 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 28 Mar 2022 17:17:41 +0000 Subject: [PATCH 106/403] [UPD] HTML documentation --- docs/modules130-140.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules130-140.html b/docs/modules130-140.html index 9ab2448a8630..2b612050ef52 100644 --- a/docs/modules130-140.html +++ b/docs/modules130-140.html @@ -953,7 +953,7 @@

Module coverage 13.0 -> 14.0

sale_mrp

- +

Nothing to do

sale_product_configurator

From 196135362b32603e84c0d07290a7a0442f937266 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Mart=C3=ADnez?= Date: Wed, 6 Apr 2022 09:14:47 +0200 Subject: [PATCH 107/403] [OU-ADD] sale_order_margin_percent: Merged sale_order_margin_percent to sale_margin. --- openupgrade_scripts/apriori.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openupgrade_scripts/apriori.py b/openupgrade_scripts/apriori.py index 7656765b902c..36a9dce99a14 100644 --- a/openupgrade_scripts/apriori.py +++ b/openupgrade_scripts/apriori.py @@ -63,6 +63,8 @@ "pos_kitchen_printer": "pos_restaurant", "pos_reprint": "point_of_sale", "website_theme_install": "website", + # OCA/margin-analysis + "sale_order_margin_percent": "sale_margin", # OCA/partner-contact "base_vat_sanitized": "base_vat", "partner_bank_active": "base", From 496d6875c46b6819bab1ab295339a031b4f78709 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Mart=C3=ADnez?= Date: Wed, 6 Apr 2022 17:05:11 +0200 Subject: [PATCH 108/403] [OU-ADD] sale_order_price_recalculation: Merged sale_order_price_recalculation to sale. --- openupgrade_scripts/apriori.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openupgrade_scripts/apriori.py b/openupgrade_scripts/apriori.py index 7656765b902c..a7166bf3321b 100644 --- a/openupgrade_scripts/apriori.py +++ b/openupgrade_scripts/apriori.py @@ -71,6 +71,8 @@ # OCA/project "project_description": "project", "project_stage_closed": "project", + # OCA/sale-workflow + "sale_order_price_recalculation": "sale", # OCA/survey "survey_description": "survey", # OCA/web From d420fc2db345c8e9cdab68ad48a3ffd23f82b86e Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 6 Apr 2022 16:57:21 +0000 Subject: [PATCH 109/403] [UPD] HTML documentation --- docs/modules110-120.html | 254 ++++++++++++++++---------------- docs/modules120-130.html | 304 ++++++++++++++++++++------------------- docs/searchindex.js | 2 +- 3 files changed, 289 insertions(+), 271 deletions(-) diff --git a/docs/modules110-120.html b/docs/modules110-120.html index 56abcb982de6..32ed2517d7da 100644 --- a/docs/modules110-120.html +++ b/docs/modules110-120.html @@ -216,6 +216,12 @@

Module coverage 11.0 -> 12.0

fetchmail

Nothing to do

+

new fetchmail_gmail

+ + +

new fetchmail_outlook

+ +

fleet

Done

@@ -234,369 +240,375 @@

Module coverage 11.0 -> 12.0

google_drive

Nothing to do

-

google_spreadsheet

+

new google_gmail

+ + +

google_spreadsheet

Nothing to do

-

hr

+

hr

Done

-

hr_attendance

+

hr_attendance

Nothing to do

-

hr_contract

+

hr_contract

Done

-

hr_expense

+

hr_expense

Done

-

hr_expense_check

+

hr_expense_check

Nothing to do

-

hr_gamification

+

hr_gamification

-

hr_holidays

+

hr_holidays

Done

-

hr_maintenance

+

hr_maintenance

Nothing to do

-

hr_org_chart

+

hr_org_chart

Nothing to do

-

hr_payroll

+

hr_payroll

Done

-

hr_payroll_account

+

hr_payroll_account

Nothing to do

-

hr_recruitment

+

hr_recruitment

Done

-

hr_recruitment_survey

+

hr_recruitment_survey

Nothing to do

-

hr_timesheet

+

hr_timesheet

Done

-

hr_timesheet_attendance

+

hr_timesheet_attendance

Nothing to do

-

http_routing

+

http_routing

Nothing to do

-

hw_blackbox_be

+

hw_blackbox_be

-

new hw_drivers

+

new hw_drivers

-

hw_escpos

+

hw_escpos

-

hw_posbox_homepage

+

hw_posbox_homepage

-

hw_posbox_upgrade

+

hw_posbox_upgrade

-

hw_proxy

+

hw_proxy

-

hw_scale

+

hw_scale

-

hw_scanner

+

hw_scanner

-

hw_screen

+

hw_screen

-

iap

+

iap

Nothing to do

-

im_livechat

+

im_livechat

Nothing to do

-

new im_livechat_mail_bot

+

new im_livechat_mail_bot

Nothing to do

-

new im_support

+

new im_support

-

l10n_ae

+

l10n_ae

-

l10n_ar

+

l10n_ar

-

l10n_at

+

l10n_at

-

l10n_au

+

l10n_au

-

l10n_be

+

l10n_be

Nothing to do

-

l10n_be_hr_payroll

+

l10n_be_hr_payroll

-

l10n_be_hr_payroll_account

+

l10n_be_hr_payroll_account

-

l10n_be_hr_payroll_fleet

+

l10n_be_hr_payroll_fleet

-

del l10n_be_intrastat

+

del l10n_be_intrastat

-

del l10n_be_intrastat_2019

+

del l10n_be_intrastat_2019

-

l10n_be_invoice_bba

+

l10n_be_invoice_bba

Done

-

l10n_bo

+

l10n_bo

-

l10n_br

+

l10n_br

-

l10n_ca

+

l10n_ca

-

l10n_ch

+

l10n_ch

Done

-

l10n_cl

+

l10n_cl

-

l10n_cn

+

l10n_cn

-

new l10n_cn_city

+

new l10n_cn_city

-

l10n_cn_small_business

+

l10n_cn_small_business

-

l10n_cn_standard

+

l10n_cn_standard

-

l10n_co

+

l10n_co

-

l10n_cr

+

l10n_cr

-

l10n_de

+

l10n_de

-

l10n_de_skr03

+

l10n_de_skr03

-

l10n_de_skr04

+

l10n_de_skr04

-

new l10n_dk

+

new l10n_dk

-

l10n_do

+

l10n_do

-

l10n_ec

+

l10n_ec

-

l10n_es

+

l10n_es

Nothing to do

-

l10n_et

+

l10n_et

-

l10n_eu_service

+

l10n_eu_service

-

l10n_fr

+

l10n_fr

Nothing to do

-

l10n_fr_certification

+

l10n_fr_certification

-

l10n_fr_fec

+

l10n_fr_fec

-

l10n_fr_hr_payroll

+

l10n_fr_hr_payroll

-

l10n_fr_pos_cert

+

l10n_fr_pos_cert

-

l10n_fr_sale_closing

+

l10n_fr_sale_closing

-

l10n_generic_coa

+

l10n_generic_coa

Done

-

l10n_gr

+

l10n_gr

-

l10n_gt

+

l10n_gt

-

new l10n_hk

+

new l10n_hk

-

l10n_hn

+

l10n_hn

-

l10n_hr

+

l10n_hr

-

l10n_hu

+

l10n_hu

-

new l10n_id

+

new l10n_id

-

l10n_in

+

l10n_in

-

l10n_in_hr_payroll

+

l10n_in_hr_payroll

-

l10n_in_purchase

+

l10n_in_purchase

-

l10n_in_sale

+

l10n_in_sale

-

l10n_in_schedule6

+

l10n_in_schedule6

-

l10n_in_stock

+

l10n_in_stock

-

l10n_it

+

l10n_it

-

new l10n_it_edi

+

new l10n_it_edi

-

l10n_jp

+

l10n_jp

-

new l10n_lt

+

new l10n_lt

-

l10n_lu

+

l10n_lu

-

l10n_ma

+

l10n_ma

Nothing to do

-

new l10n_mn

+

new l10n_mn

-

l10n_multilang

+

l10n_multilang

Nothing to do

-

l10n_mx

+

l10n_mx

-

l10n_nl

+

l10n_nl

Done

-

l10n_no

+

l10n_no

-

l10n_nz

+

l10n_nz

-

l10n_pa

+

l10n_pa

-

l10n_pe

+

l10n_pe

-

l10n_pl

+

l10n_pl

-

l10n_pt

+

l10n_pt

Done

-

l10n_ro

+

l10n_ro

-

l10n_sa

+

l10n_sa

-

l10n_sg

+

l10n_sg

-

l10n_si

+

l10n_si

-

l10n_syscohada

+

l10n_syscohada

-

l10n_th

+

l10n_th

-

l10n_tr

+

l10n_tr

-

l10n_uk

+

l10n_uk

-

l10n_us

+

l10n_us

Done

-

l10n_uy

+

l10n_uy

-

l10n_ve

+

l10n_ve

-

l10n_vn

+

l10n_vn

-

new l10n_za

+

new l10n_za

-

link_tracker

+

link_tracker

Nothing to do

-

lunch

+

lunch

Nothing to do

-

mail

+

mail

Done

-

new mail_bot

+

new mail_bot

Nothing to do

-

maintenance

+

maintenance

Done

-

mass_mailing

+

mass_mailing

Done

-

new mass_mailing_crm

+

new mass_mailing_crm

Nothing to do

-

mass_mailing_event

+

mass_mailing_event

Nothing to do

-

mass_mailing_event_track

+

mass_mailing_event_track

-

new mass_mailing_sale

+

new mass_mailing_sale

-

membership

+

membership

Nothing to do

+

new microsoft_outlook

+ +

mrp

Done

diff --git a/docs/modules120-130.html b/docs/modules120-130.html index 6696f8b49f9b..c3ff33a0d983 100644 --- a/docs/modules120-130.html +++ b/docs/modules120-130.html @@ -231,453 +231,459 @@

Module coverage 12.0 -> 13.0

fetchmail

Done

-

new fetchmail_gmail

+

fetchmail_gmail

-

fleet

+

fetchmail_outlook

+ + +

fleet

Done

-

gamification

+

gamification

Done

-

gamification_sale_crm

+

gamification_sale_crm

-

google_account

+

google_account

Nothing to do

-

google_calendar

+

google_calendar

Nothing to do

-

google_drive

+

google_drive

Nothing to do

-

new google_gmail

+

google_gmail

-

google_spreadsheet

+

google_spreadsheet

Nothing to do

-

hr

+

hr

Done

-

hr_attendance

+

hr_attendance

Done

-

hr_contract

+

hr_contract

Done

-

hr_expense

+

hr_expense

Done

-

hr_expense_check

+

hr_expense_check

-

new hr_fleet

+

new hr_fleet

-

hr_gamification

+

hr_gamification

-

hr_holidays

+

hr_holidays

Done

-

new hr_holidays_attendance

+

new hr_holidays_attendance

-

hr_maintenance

+

hr_maintenance

Nothing to do

-

hr_org_chart

+

hr_org_chart

Nothing to do

-

del hr_payroll

+

del hr_payroll

Replaced by OCA module payroll

-

del hr_payroll_account

+

del hr_payroll_account

Replaced by OCA module payroll_account

-

new hr_presence

+

new hr_presence

-

hr_recruitment

+

hr_recruitment

Done

-

hr_recruitment_survey

+

hr_recruitment_survey

-

new hr_skills

+

new hr_skills

-

new hr_skills_slides

+

new hr_skills_slides

-

new hr_skills_survey

+

new hr_skills_survey

-

hr_timesheet

+

hr_timesheet

Done

-

hr_timesheet_attendance

+

hr_timesheet_attendance

Nothing to do

-

new hr_work_entry

+

new hr_work_entry

-

http_routing

+

http_routing

Nothing to do

-

hw_blackbox_be

+

hw_blackbox_be

Nothing to do

-

hw_drivers

+

hw_drivers

Nothing to do

-

hw_escpos

+

hw_escpos

Nothing to do

-

hw_posbox_homepage

+

hw_posbox_homepage

Nothing to do

-

del hw_posbox_upgrade

+

del hw_posbox_upgrade

-

hw_proxy

+

hw_proxy

Nothing to do

-

del hw_scale

+

del hw_scale

Done. Merged into hw_drivers

-

del hw_scanner

+

del hw_scanner

Done. Merged into hw_drivers

-

del hw_screen

+

del hw_screen

Done. Merged into hw_drivers

-

iap

+

iap

Done

-

im_livechat

+

im_livechat

Done

-

im_livechat_mail_bot

+

im_livechat_mail_bot

-

im_support

+

im_support

-

l10n_ae

+

l10n_ae

-

l10n_ar

+

l10n_ar

-

l10n_at

+

l10n_at

-

l10n_au

+

l10n_au

-

l10n_be

+

l10n_be

-

new l10n_be_edi

+

new l10n_be_edi

-

del l10n_be_hr_payroll

+

del l10n_be_hr_payroll

-

del l10n_be_hr_payroll_account

+

del l10n_be_hr_payroll_account

-

del l10n_be_hr_payroll_fleet

+

del l10n_be_hr_payroll_fleet

-

l10n_be_invoice_bba

+

l10n_be_invoice_bba

-

l10n_bo

+

l10n_bo

-

l10n_br

+

l10n_br

-

l10n_ca

+

l10n_ca

-

l10n_ch

+

l10n_ch

-

l10n_cl

+

l10n_cl

-

l10n_cn

+

l10n_cn

-

l10n_cn_city

+

l10n_cn_city

-

l10n_cn_small_business

+

l10n_cn_small_business

-

l10n_cn_standard

+

l10n_cn_standard

-

l10n_co

+

l10n_co

-

new l10n_co_pos

+

new l10n_co_pos

-

l10n_cr

+

l10n_cr

-

l10n_de

+

l10n_de

Nothing to do

-

l10n_de_skr03

+

l10n_de_skr03

Done

-

l10n_de_skr04

+

l10n_de_skr04

Done

-

l10n_dk

+

l10n_dk

-

l10n_do

+

l10n_do

-

l10n_ec

+

l10n_ec

-

l10n_es

+

l10n_es

Done

-

l10n_et

+

l10n_et

-

l10n_eu_service

+

l10n_eu_service

Nothing to do

-

l10n_fr

+

l10n_fr

Done

-

del l10n_fr_certification

+

del l10n_fr_certification

-

l10n_fr_fec

+

l10n_fr_fec

-

del l10n_fr_hr_payroll

+

del l10n_fr_hr_payroll

-

l10n_fr_pos_cert

+

l10n_fr_pos_cert

-

del l10n_fr_sale_closing

+

del l10n_fr_sale_closing

-

l10n_generic_coa

+

l10n_generic_coa

Done

-

l10n_gr

+

l10n_gr

-

l10n_gt

+

l10n_gt

-

l10n_hk

+

l10n_hk

-

l10n_hn

+

l10n_hn

-

l10n_hr

+

l10n_hr

-

l10n_hu

+

l10n_hu

-

l10n_id

+

l10n_id

-

new l10n_ie

+

new l10n_ie

-

new l10n_il

+

new l10n_il

-

l10n_in

+

l10n_in

-

del l10n_in_hr_payroll

+

del l10n_in_hr_payroll

-

new l10n_in_pos

+

new l10n_in_pos

-

l10n_in_purchase

+

l10n_in_purchase

-

new l10n_in_purchase_stock

+

new l10n_in_purchase_stock

-

l10n_in_sale

+

l10n_in_sale

-

new l10n_in_sale_stock

+

new l10n_in_sale_stock

-

del l10n_in_schedule6

+

del l10n_in_schedule6

-

l10n_in_stock

+

l10n_in_stock

-

l10n_it

+

l10n_it

-

l10n_it_edi

+

l10n_it_edi

-

l10n_jp

+

l10n_jp

-

new l10n_latam_base

+

new l10n_latam_base

-

new l10n_latam_invoice_document

+

new l10n_latam_invoice_document

-

l10n_lt

+

l10n_lt

-

l10n_lu

+

l10n_lu

-

l10n_ma

+

l10n_ma

Done

-

l10n_mn

+

l10n_mn

-

l10n_multilang

+

l10n_multilang

Nothing to do

-

l10n_mx

+

l10n_mx

-

l10n_nl

+

l10n_nl

-

l10n_no

+

l10n_no

-

l10n_nz

+

l10n_nz

-

l10n_pa

+

l10n_pa

-

l10n_pe

+

l10n_pe

-

l10n_pl

+

l10n_pl

-

l10n_pt

+

l10n_pt

-

l10n_ro

+

l10n_ro

-

l10n_sa

+

l10n_sa

-

new l10n_se

+

new l10n_se

-

l10n_sg

+

l10n_sg

-

l10n_si

+

l10n_si

-

l10n_syscohada

+

l10n_syscohada

-

l10n_th

+

l10n_th

-

l10n_tr

+

l10n_tr

-

l10n_ua

+

l10n_ua

-

l10n_uk

+

l10n_uk

-

l10n_us

+

l10n_us

Nothing to do

-

l10n_uy

+

l10n_uy

-

l10n_ve

+

l10n_ve

-

l10n_vn

+

l10n_vn

-

l10n_za

+

l10n_za

-

link_tracker

+

link_tracker

Done

-

lunch

+

lunch

Done

-

mail

+

mail

Done

-

mail_bot

+

mail_bot

Nothing to do

-

maintenance

+

maintenance

Done

-

mass_mailing

+

mass_mailing

Done

-

mass_mailing_crm

+

mass_mailing_crm

Done

-

mass_mailing_event

+

mass_mailing_event

Nothing to do

-

new mass_mailing_event_sms

+

new mass_mailing_event_sms

-

mass_mailing_event_track

+

mass_mailing_event_track

Nothing to do

-

new mass_mailing_event_track_sms

+

new mass_mailing_event_track_sms

-

mass_mailing_sale

+

mass_mailing_sale

Nothing to do

-

new mass_mailing_slides

+

new mass_mailing_slides

-

new mass_mailing_sms

+

new mass_mailing_sms

-

membership

+

membership

Done

+

microsoft_outlook

+ +

mrp

Done

diff --git a/docs/searchindex.js b/docs/searchindex.js index 894a62ca8d77..ac3d258b420a 100644 --- a/docs/searchindex.js +++ b/docs/searchindex.js @@ -1 +1 @@ -Search.setIndex({docnames:["API","after_migration","analyse","analysis","community","coverage_legend","development","devfaq","format","index","intro","migration_details","migrationmanager","modules100-110","modules110-120","modules120-130","modules130-140","modules50-60","modules60-61","modules61-70","modules70-80","modules80-90","modules90-100","status","xmlids"],envversion:{"sphinx.domains.c":2,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":5,"sphinx.domains.index":1,"sphinx.domains.javascript":2,"sphinx.domains.math":2,"sphinx.domains.python":3,"sphinx.domains.rst":2,"sphinx.domains.std":2,sphinx:56},filenames:["API.rst","after_migration.rst","analyse.rst","analysis.rst","community.rst","coverage_legend.rst","development.rst","devfaq.rst","format.rst","index.rst","intro.rst","migration_details.rst","migrationmanager.rst","modules100-110.rst","modules110-120.rst","modules120-130.rst","modules130-140.rst","modules50-60.rst","modules60-61.rst","modules61-70.rst","modules70-80.rst","modules80-90.rst","modules90-100.rst","status.rst","xmlids.rst"],objects:{"openupgradelib.openupgrade":[[0,1,1,"","add_fields"],[0,1,1,"","add_ir_model_fields"],[0,1,1,"","add_xmlid"],[0,1,1,"","check_values_selection_field"],[0,1,1,"","chunked"],[0,1,1,"","column_exists"],[0,1,1,"","convert_field_to_html"],[0,1,1,"","convert_to_company_dependent"],[0,1,1,"","copy_columns"],[0,1,1,"","copy_fields_multilang"],[0,1,1,"","cow_templates_mark_if_equal_to_upstream"],[0,1,1,"","cow_templates_replicate_upstream"],[0,1,1,"","date_to_datetime_tz"],[0,1,1,"","deactivate_workflow_transitions"],[0,1,1,"","delete_model_workflow"],[0,1,1,"","delete_record_translations"],[0,1,1,"","delete_records_safely_by_xml_id"],[0,1,1,"","disable_invalid_filters"],[0,1,1,"","drop_columns"],[0,1,1,"","float_to_integer"],[0,1,1,"","get_legacy_name"],[0,1,1,"","lift_constraints"],[0,1,1,"","load_data"],[0,1,1,"","logged_query"],[0,1,1,"","logging"],[0,1,1,"","m2o_to_x2m"],[0,1,1,"","map_values"],[0,1,1,"","message"],[0,1,1,"","migrate"],[0,1,1,"","move_field_m2o"],[0,1,1,"","reactivate_workflow_transitions"],[0,1,1,"","remove_tables_fks"],[0,1,1,"","rename_columns"],[0,1,1,"","rename_fields"],[0,1,1,"","rename_models"],[0,1,1,"","rename_property"],[0,1,1,"","rename_tables"],[0,1,1,"","rename_xmlids"],[0,1,1,"","safe_unlink"],[0,1,1,"","set_defaults"],[0,1,1,"","set_xml_ids_noupdate_value"],[0,1,1,"","table_exists"],[0,1,1,"","update_field_multilang"],[0,1,1,"","update_module_moved_fields"],[0,1,1,"","update_module_names"],[0,1,1,"","update_workflow_workitems"],[0,1,1,"","warn_possible_dataloss"]],"openupgradelib.openupgrade_70":[[0,1,1,"","get_partner_id_from_user_id"],[0,1,1,"","set_partner_id_from_partner_address_id"]],"openupgradelib.openupgrade_80":[[0,1,1,"","get_last_post_for_model"],[0,1,1,"","set_message_last_post"],[0,1,1,"","update_aliases"]],"openupgradelib.openupgrade_90":[[0,1,1,"","convert_binary_field_to_attachment"],[0,1,1,"","replace_account_types"]],openupgradelib:[[0,0,0,"-","openupgrade"],[0,0,0,"-","openupgrade_70"],[0,0,0,"-","openupgrade_80"],[0,0,0,"-","openupgrade_90"]]},objnames:{"0":["py","module","Python module"],"1":["py","function","Python function"]},objtypes:{"0":"py:module","1":"py:function"},terms:{"0":[2,3,7,9,10,11,12,23],"1":[0,9,10,13,14,20,21,23],"10":[0,9,23],"1000":0,"11":[0,9,23],"12":[0,6,9,11,23],"13":[6,9,11,23],"14":[2,3,6,9,10,11,23],"2":[0,6,9,10,12,14,18,20,21],"2273":6,"2275":6,"2499":6,"3":[6,9,10,20,21],"3apr":6,"4":[0,9,10,12,21],"5":[0,9,10,21,23],"5bfix":6,"5d":6,"6":[0,8,9,20,21,23],"7":[9,21,23],"7c95c14c06d77e5ebbd7aafd9c0c345b47d27d30":12,"8":[9,23],"8069":6,"8b02879ff5":12,"9":[7,9,12,23],"9201f92a4f29a53a014b462469f27b32dca8fc5a":0,"boolean":0,"break":0,"case":[0,2,6,8,24],"catch":0,"char":[0,8],"default":[0,8],"do":[0,2,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,24],"export":[0,11],"final":8,"float":0,"function":[0,4,6,8,10],"import":0,"new":[0,1,2,5,7,8,11,13,14,15,16,19,21,22,24],"null":0,"return":[0,7],"static":0,"switch":0,"true":[0,7],"try":[0,4,6,11],"while":1,A:[0,3,5,6,8,11,16],As:[0,6],At:[8,11],Be:11,But:6,For:[0,6,7,11,12,23],If:[0,2,4,8,9,11,24],In:[0,2,3,5,6,10,12,16,24],It:[0,6,8,10,12],No:[0,13,14,15,19,20,21,22],Not:[0,5,16],Of:8,On:2,One:0,Or:11,That:[2,6,7],The:[0,1,2,3,7,8,9,10,11,20,23,24],Then:6,There:[1,12],These:[0,6,22],To:0,With:11,_database_cleanup_:1,_inherit:8,_tabl:0,abl:0,about:[0,9,11],abov:[0,6],absolut:11,acc:6,access:[8,22,24],accomplish:4,accord:[0,6],account:[0,6,7,9,13,15,16,17,18,19,20,21],account_account:[13,17,18,19,20,21,22],account_analytic_analysi:[17,18,19,20,21],account_analytic_default:[13,14,15,16,17,18,19,20,21,22],account_analytic_default_hr_expens:[15,16],account_analytic_default_purchas:[15,16],account_analytic_distribut:21,account_analytic_plan:[17,18,19,20,21],account_anglo_saxon:[17,18,19,20,21],account_asset:[13,14,19,20,21,22],account_asset_manag:14,account_bank_statement_extens:[19,20,21],account_bank_statement_import:[13,14,15,16,21,22],account_budget:[13,14,17,18,19,20,21,22],account_budget_oca:14,account_cancel:[13,14,15,17,18,19,20,21,22],account_cash_basis_base_account:[13,14,21,22],account_chart:[17,18,19,20,21],account_check_print:[13,14,15,16,21,22],account_check_writ:[19,20,21],account_coda:[17,18],account_debit_not:[15,16],account_edi:16,account_edi_extend:16,account_edi_facturx:16,account_edi_proxy_cli:16,account_edi_ubl:16,account_extra_report:[21,22],account_facturx:[14,15,16],account_fleet:16,account_followup:[17,18,19,20,21],account_full_reconcil:[21,22],account_invo:[13,14],account_invoice_layout:[17,18],account_invoice_ship:22,account_lock:[13,14,15,16,21,22],account_pay:[13,14,15,16,17,18,19,20,21],account_payment_ord:21,account_qr_code_sepa:16,account_revers:14,account_sequ:[17,18,19,20,21],account_statement_import:16,account_tax_adjust:[21,22],account_tax_cash_basi:[13,21,22],account_tax_exig:[21,22],account_tax_python:[13,14,15,16,21,22],account_test:[13,14,15,16,19,20,21,22],account_vouch:[13,14,15,17,18,19,20,21,22],achiev:6,across:11,action:[0,8,24],activ:[0,10],activereview:19,actual:[0,8],ad:[0,6,8],adapt:0,add:[0,2,11],add_field:0,add_ir_model_field:0,add_xmlid:0,addit:[0,3,24],addon:[0,2,3,11,19,23],address:[0,22],address_field:0,adjust:[9,10],adopt:16,adyen_platform:16,affect:0,after:[0,3,6,8,9,10,11,12],again:11,against:7,aim:10,algorithm:0,alia:0,alias:0,alias_default:0,alias_parent_model_id:0,alias_parent_thread_id:0,all:[0,3,4,8,9,11,12,23,24],allow:[0,1,11],allow_merg:0,allowed_valu:0,alreadi:[0,6,11,12],also:[0,1,2,6,7,8],altern:6,although:0,alwai:[0,5,6,8,16],an:[0,1,3,4,6,8,10,11,12,23],analys:[5,13,14,15,16,19,20,21,22],analysi:[6,9,10,21,24],analyt:[13,14,15,16,17,18,19,20,21,22],analytic_contract_hr_expens:[19,20,21],analytic_journal_billing_r:[17,18],analytic_user_funct:[17,18,19,20,21],analyz:0,anglo_saxon_dropship:[20,21],ani:[0,1,3,4,6,7,8,10,12,14,15,16,22,24],annot:3,anonym:[13,14,17,18,19,20,21,22],anoth:[0,1,6,7,8,10],anticip:7,anymor:[0,3,22],anywai:[7,22],api:[6,9],appli:[0,7,8],applic:10,appropri:6,appropriatli:6,ar:[0,1,3,4,5,6,7,8,10,11,12,13,14,15,16,18,21,22,24],arg:0,args_detail:0,argument:[0,6,7],around:8,ask:11,asset:14,assign:[0,22],associ:[0,10,13,14,15,16,17,18,19,20,21,22],assum:0,assur:0,attach:0,attachment_index:[15,16],attempt:0,attribut:[0,24],auction:[17,18],audit:8,audittrail:[17,18,19],auth_crypt:[13,14,19,20,21,22],auth_ldap:[13,14,15,16,19,20,21,22],auth_oauth:[13,14,15,16,19,20,21,22],auth_oauth_signup:19,auth_openid:[19,20,21],auth_password_polici:[15,16],auth_password_policy_port:16,auth_password_policy_signup:[15,16],auth_signup:[13,14,15,16,19,20,21,22],auth_totp:16,auth_totp_port:16,autoinstal:11,automat:[0,3,8,24],avail:[0,2,6,11,12,13,14,15,19,20,21,22],avoid:0,awar:6,b:[0,6],back:[4,6,10,12],backup:11,bank:21,barcod:[13,14,15,16,21,22],base:[0,3,11,13,14,15,16,17,18,19,20,21,22],base_action_rul:[13,17,18,19,20,21,22],base_address_c:[13,14,15,16],base_address_extend:[13,14,15,16],base_autom:[13,14,15,16],base_calendar:[17,18,19],base_contact:[17,18],base_crypt:[17,18],base_gengo:[13,14,15,16,19,20,21,22],base_geoloc:[13,14,15,16,20,21,22],base_iban:[13,14,15,16,17,18,19,20,21,22],base_import:[13,14,15,16,19,20,21,22],base_import_modul:[13,14,15,16,20,21,22],base_module_doc_rst:[17,18],base_module_qu:[17,18],base_module_record:[17,18],base_report_cr:[17,18],base_report_design:[17,18,19,20,21],base_setup:[13,14,15,16,17,18,19,20,21,22],base_sparse_field:[13,14,15,16],base_statu:19,base_synchro:[17,18],base_tool:[17,18],base_vat:[13,14,15,16,17,18,19,20,21,22],base_vat_autocomplet:[13,14],basic:6,becam:8,becaus:[0,1],becom:[0,6,8],been:[0,1,3,5,6,8,11,13,14,15,16,19,20,21,22,24],befor:[0,2,3,6,10,11,12],being:[0,6,8],below:[0,5,6,8,16,23],better:7,between:[1,3,5,6,8,13,14,15,16,19,20,21,22,23],bewar:0,bin:11,binari:0,binary_field:0,blob:[0,12],block:0,board:[13,14,15,16,17,18,19,20,21,22],bool:0,both:[2,6,7,11],branch:[2,3,10,11],broken:0,bu:[13,14,15,16,21,22],budget:14,bug:11,built:12,busi:10,c:6,cach:0,caldav:[17,18],calendar:[13,14,15,16,20,21,22],calendar_sm:[13,14,15,16],call:[0,1,6,8,11],callabl:0,can:[0,1,3,4,5,6,8,10,11,12,16,23,24],care:[0,9,11],cascad:0,categori:[0,24],caus:[6,8],certain:0,chang:[0,3,5,6,8,13,14,15,16,19,20,21,22,24],check:[0,6,7,9,10,21],check_values_selection_field:0,chunk:0,circular:11,claim_from_deliveri:[17,18,19,20,21,22],claus:0,clean:[1,11],cleanup:0,clear:8,click:0,code:[0,7,9,10,12,19],coincid:0,collect:[12,24],collis:0,column:[0,1,8],column_exist:0,column_spec:0,columnspec:0,com:[0,1,2,3,4,5,6,10,11,12,13,14,15,16,20,21,22],combin:[0,6],come:0,command:11,comment:24,commit:[10,12],common:0,commun:[9,10,13,14,20,21],compani:[0,4],comparison:[2,24],complet:0,complex:6,compute_func:0,concern:0,config:2,configur:[0,2,4,9,10],connect:2,consequ:8,conserv:1,consid:[0,1,4],consist:[0,1],constraint:0,consult:4,contact:[0,13,14,15,16,19,20,21,22],contain:[0,2,3,6,8,10],content:[0,9],context:[0,12],continu:[0,6],contract:21,contrast:0,contribut:[4,9],contributor:[6,10],convers:0,convert:0,convert_binary_field_to_attach:0,convert_field_to_html:0,convert_to_company_depend:0,copi:[0,3,4,6,8,9,10],copy_column:0,copy_fields_multilang:0,core:[12,14,22],correct:0,correspond:[0,2,8],corrupt:7,could:[0,3,8],count:0,countri:24,coupl:0,coupon:16,cours:8,cover:[0,4,5,13,16,20,24],coverag:[9,10],cow:0,cow_templates_mark_if_equal_to_upstream:0,cow_templates_replicate_upstream:0,cr:0,craft:0,creat:[0,2,3,8,24],critic:0,crm:[13,14,15,16,17,18,19,20,21,22],crm_caldav:[17,18],crm_claim:[17,18,19,20,21,22],crm_fundrais:[17,18],crm_helpdesk:[17,18,19,20,21],crm_iap_lead:[15,16],crm_iap_lead_enrich:[15,16],crm_iap_lead_websit:[15,16],crm_livechat:[13,14,15,16],crm_mass_mail:21,crm_partner_assign:[17,18,19,20,21,22],crm_phone_valid:[13,14,15],crm_profil:[17,18,19,20,21],crm_project:[13,14,15],crm_project_issu:[13,20,21,22],crm_reveal:[14,15],crm_sm:[15,16],crm_todo:19,csv:[0,8],currenc:[0,24],current:[0,24],cursor:0,custom:[0,2,3,4,6,12],d:[0,6],dai:12,dashboard:18,data:[0,1,2,3,8,9,10,24],databas:[0,1,2,4,6,7,8,9,12,24],datatyp:0,date:0,date_field_nam:0,date_to_datetime_tz:0,datetim:0,datetime_field_nam:0,db:[0,6],dbname:0,deactiv:0,deactivate_workflow_transit:0,deal:0,debug:0,decid:11,decimal_precis:[13,14,15,17,18,19,20,21,22],declar:[0,6,7],decor:0,def:0,default_spec:0,defaults_id_kei:0,deferred_:12,defin:[0,24],definit:0,del:8,deleg:8,delet:[0,8],delete_model_workflow:0,delete_record_transl:0,delete_records_safely_by_xml_id:0,deliveri:[13,14,15,16,17,18,19,20,21,22],delivery_hs_cod:15,demo:[0,2],depart:8,depend:[0,6,7,9,10],deprec:0,deriv:8,describ:6,descript:8,design:23,destin:0,destination_column:0,destination_field_nam:0,destination_model:0,destination_t:0,detail:[0,6,9],detect:[7,8],determin:8,develop:[0,3,4,9,10,11,23,24],dict:0,dictionari:[0,11],did:6,differ:[0,6,8,23],digest:[14,15,16],direct:[0,11],directli:11,directori:[0,2,3,12,24],disabl:[0,7],disable_invalid_filt:0,discuss:[4,6],disk:1,displai:8,distinct:8,distribut:[2,5,16,21,23],do_rais:0,doc:0,docstr:12,document:[1,11,13,14,15,17,18,19,20,21,22],document_:[17,18],document_ftp:[17,18,19],document_pag:[19,20],document_webdav:[17,18,19],doe:[0,7,10,14,21],doesn:0,don:[0,9,11],donat:10,done:[0,5,6,13,14,15,16,17,18,19,20,21,22],down:0,drop:0,drop_column:0,drop_index:0,duplic:0,dure:[0,3,6,7,10,12],e:1,each:[0,2,3,6,10,11],earli:0,earlier:[0,9,11,12],easi:6,easier:8,edi:[7,19,20,21],edit:[3,5,6,11,14,16],effort:23,eg:0,egg:11,either:0,element:0,email_templ:[17,18,19,20,21],employe:8,empti:[0,5,8,13,14,15,16,19,20,21,22],encod:8,encount:[8,11],encourag:1,end:[0,3,6,12],engag:6,engin:7,ensur:6,enterpris:14,entri:[0,24],env:0,environ:[0,11],equal:0,equival:0,error:[0,9,11],essenti:0,estim:0,etc:0,even:[0,6,7],event:[13,14,15,16,17,18,19,20,21,22],event_crm:16,event_crm_sal:16,event_moodl:19,event_project:[17,18],event_sal:[13,14,15,16,19,20,21,22],event_sm:[15,16],ever:7,everi:[0,8,11],everyth:0,eviron:0,exactli:[14,21],exampl:[0,8,12],except:[0,6],execept:0,execut:[0,3,6,12],exempl:0,exist:[0,1,4,8,9,24],expect:[0,11],explain:6,explan:6,extend:0,extern:0,extra:[10,21,22],face:6,fact:0,fail:[0,9,11],fals:0,familiar:6,faq:[6,9],featur:[0,8,14,22],feedback:4,fetchmail:[13,14,15,16,17,18,19,20,21,22],fetchmail_gmail:[15,16],field:[0,3,7,9,24],field_nam:0,field_new_model:0,field_old_model:0,field_spec:0,file:[0,2,3,5,6,8,12,13,14,15,16,19,20,21,22,24],filenam:0,fill:[0,8],filter:0,financi:9,find:[0,5,9,14,15,16,22],finish:0,fire:7,first:[0,6,8,10],fit:8,fix:[1,6,9,10,12],fixed_modul:6,fk:0,flag:[8,11,24],fleet:[13,14,15,16,19,20,21,22],float_to_integ:0,fly:0,folder:2,follow:[0,2,5,6,8,11,16],forc:0,force_dep:11,forcecr:0,forcefulli:0,foreign:0,fork:[2,3,10,11],form:[2,24],format:[0,3,9],found:[0,3,5,6,16],frame:0,framework:10,free:[1,7],friendli:0,from:[0,1,2,7,8,9,10,13,14,15,16,20,21,24],full:[1,6,12],func:0,futur:[0,1],gamif:[13,14,15,16,20,21,22],gamification_sale_crm:[13,14,15,16,20,21,22],gener:[2,3,9,24],get:[0,6,9,10],get_last_post_for_model:0,get_legacy_nam:0,get_partner_id_from_user_id:0,get_pool:0,git:[10,11],github:[0,1,2,3,4,5,6,9,10,11,12,13,14,15,16,20,21,22],give:[4,10,24],given:[0,6],glitch:12,go:[0,4,6,11],goal:23,google_account:[13,14,15,16,20,21,22],google_base_account:19,google_calendar:[13,14,15,16,20,21,22],google_doc:19,google_dr:[13,14,15,16,20,21,22],google_gmail:[15,16],google_map:[17,18],google_recaptcha:16,google_spreadsheet:[13,14,15,16,20,21,22],govern:0,grant:22,group:24,guess:0,ha:[0,1,5,8,13,14,15,16,19,20,21,22,24],hack:[0,5,16],had:[0,8],hand:0,handl:0,handler:0,happen:[0,1,6],hardcod:8,hash:0,have:[0,1,3,4,5,6,8,11,12,16,24],header:11,help:[4,5,6,7,10,11,16],helper:[0,10,12],here:[0,6,9,14,15,16,22,24],hierarchi:8,high:0,higher:0,highlight:6,hint:0,hire:[4,10],host:[1,3,10],how:[0,3,6,7,8,9],hr:[8,13,14,15,16,17,18,19,20,21,22],hr_applicant_docu:[20,21],hr_attend:[13,14,15,16,17,18,19,20,21,22],hr_contract:[13,14,15,16,17,18,19,20,21,22],hr_equip:[21,22],hr_evalu:[17,18,19,20],hr_expens:[13,14,15,16,17,18,19,20,21,22],hr_expense_check:[13,14,15,16,22],hr_fleet:[15,16],hr_gamif:[13,14,15,16,20,21,22],hr_holidai:[13,14,15,16,17,18,19,20,21,22],hr_holidays_attend:[15,16],hr_holidays_calendar:16,hr_mainten:[13,14,15,16,22],hr_org_chart:[13,14,15,16],hr_payrol:[13,14,15,17,18,19,20,21,22],hr_payroll_account:[13,14,15,17,18,19,20,21,22],hr_presenc:[15,16],hr_recruit:[13,14,15,16,17,18,19,20,21,22],hr_recruitment_survei:[13,14,15,16,22],hr_skill:[15,16],hr_skills_slid:[15,16],hr_skills_survei:[15,16],hr_timesheet:[13,14,15,16,17,18,19,20,21,22],hr_timesheet_attend:[13,14,15,16,22],hr_timesheet_invoic:[17,18,19,20,21],hr_timesheet_sheet:[13,17,18,19,20,21,22],hr_work_entri:[15,16],html:0,html_field_nam:0,html_view:[17,18],http:[0,1,2,3,4,5,6,9,10,11,12,13,14,15,16,19,20,21,22],http_rout:[13,14,15,16],hw_blackbox_b:[13,14,15,22],hw_driver:[14,15,16],hw_escpo:[13,14,15,16,20,21,22],hw_posbox_homepag:[13,14,15,16,20,21,22],hw_posbox_upgrad:[13,14,15,20,21,22],hw_proxi:[13,14,15,16,20,21,22],hw_scale:[13,14,15,20,21,22],hw_scanner:[13,14,15,20,21,22],hw_screen:[13,14,15],i:[0,1],iap:[13,14,15,16],iap_crm:16,iap_mail:16,id:[0,3,9],idea:[17,18,19],ident:0,identifi:0,idref:0,ignor:[0,24],im:20,im_chat:21,im_livechat:[13,14,15,16,20,21,22],im_livechat_mail_bot:[14,15,16],im_odoo_support:[21,22],im_support:[14,15,16],implement:[0,6,8],improv:[4,10],includ:[0,2,7,10,11,12,14,22],incomplet:0,inconsist:[0,6],incorrect:1,independ:4,index:[0,9],indic:[0,2],inform:[13,14,15,19,20,21,22],inherit:8,init:[0,6,11],init_no_cr:0,initi:[0,10],inner:0,insist:4,instal:[0,2,7,8,9,10,12,13,24],instanc:[0,2,6,7,8,11,12],instead:[0,8,9,10],integ:0,integr:11,intend:0,interest:[4,24],intern:[0,12],introduc:[8,11,12],introduct:[6,9],intuit:1,invers:0,invoic:9,involv:[0,9],io:9,ir:[0,24],ir_model:0,ir_model_data:0,ir_model_field:0,issu:[0,4,6],item:[0,24],iter:0,its:[0,11,24],itself:[0,2,11,12],join:0,just:[0,3,9],keep:[0,1],kei:[0,11],kind:[0,6,14,15,16,22],know:[0,7],knowledg:[4,17,18,19,20,21],kwarg:0,l10n_ae:[13,14,15,16,21,22],l10n_ar:[13,14,15,16,19,20,21,22],l10n_ar_website_sal:16,l10n_at:[13,14,15,16,17,18,19,20,21,22],l10n_au:[13,14,15,16,21,22],l10n_be:[13,14,15,16,17,18,19,20,21,22],l10n_be_coda:[19,20,21],l10n_be_edi:[15,16],l10n_be_hr_payrol:[13,14,15,19,20,21,22],l10n_be_hr_payroll_account:[13,14,15,19,20,21,22],l10n_be_hr_payroll_fleet:[13,14,15],l10n_be_intrastat:[13,14,21,22],l10n_be_intrastat_2019:[13,14,22],l10n_be_invoice_bba:[13,14,15,16,19,20,21,22],l10n_bo:[13,14,15,16,19,20,21,22],l10n_br:[13,14,15,16,17,18,19,20,21,22],l10n_ca:[13,14,15,16,17,18,19,20,21,22],l10n_ch:[13,14,15,16,17,18,19,20,21,22],l10n_ch_qriban:16,l10n_cl:[13,14,15,16,19,20,21,22],l10n_cn:[13,14,15,16,17,18,19,20,21,22],l10n_cn_citi:[14,15,16],l10n_cn_small_busi:[13,14,15,16,21,22],l10n_cn_standard:[13,14,15,16,21,22],l10n_co:[13,14,15,16,19,20,21,22],l10n_co_po:[15,16],l10n_cr:[13,14,15,16,17,18,19,20,21,22],l10n_cz:16,l10n_de:[13,14,15,16,17,18,19,20,21,22],l10n_de_purchas:16,l10n_de_repair:16,l10n_de_sal:16,l10n_de_skr03:[13,14,15,16,21,22],l10n_de_skr04:[13,14,15,16,21,22],l10n_de_stock:16,l10n_dk:[14,15,16],l10n_do:[13,14,15,16,21,22],l10n_dz:16,l10n_e:[13,14,15,16,17,18,19,20,21,22],l10n_ec:[13,14,15,16,17,18,19,20,21,22],l10n_es_edi_sii:16,l10n_et:[13,14,15,16,19,20,21,22],l10n_eu_servic:[13,14,15,16,21,22],l10n_fi:16,l10n_fr:[13,14,15,16,17,18,19,20,21,22],l10n_fr_certif:[13,14,15,21,22],l10n_fr_fec:[13,14,15,16,21,22],l10n_fr_hr_payrol:[13,14,15,19,20,21,22],l10n_fr_pos_cert:[13,14,15,16,21,22],l10n_fr_rib:[19,20,21],l10n_fr_sale_clos:[13,14,15,21,22],l10n_gcc_invoic:16,l10n_gcc_po:16,l10n_generic_coa:[13,14,15,16,21,22],l10n_gr:[13,14,15,16,17,18,19,20,21,22],l10n_gt:[13,14,15,16,17,18,19,20,21,22],l10n_hk:[14,15,16],l10n_hn:[13,14,15,16,19,20,21,22],l10n_hr:[13,14,15,16,19,20,21,22],l10n_hu:[13,14,15,16,21,22],l10n_id:[14,15,16],l10n_id_efaktur:16,l10n_ie:[15,16],l10n_il:[15,16],l10n_in:[13,14,15,16,17,18,19,20,21,22],l10n_in_hr_payrol:[13,14,15,19,20,21,22],l10n_in_po:[15,16],l10n_in_purchas:[13,14,15,16],l10n_in_purchase_stock:[15,16],l10n_in_sal:[13,14,15,16],l10n_in_sale_stock:[15,16],l10n_in_schedule6:[13,14,15,21,22],l10n_in_stock:[13,14,15,16],l10n_it:[13,14,15,16,17,18,19,20,21,22],l10n_it_edi:[14,15,16],l10n_it_edi_sdicoop:16,l10n_it_stock_ddt:16,l10n_jp:[13,14,15,16,21,22],l10n_latam_bas:[15,16],l10n_latam_invoice_docu:[15,16],l10n_lt:[14,15,16],l10n_lu:[13,14,15,16,17,18,19,20,21,22],l10n_ma:[13,14,15,16,17,18,19,20,21,22],l10n_mn:[14,15,16],l10n_multilang:[13,14,15,16,19,20,21,22],l10n_mx:[13,14,15,16,17,18,19,20,21,22],l10n_nl:[13,14,15,16,17,18,19,20,21,22],l10n_no:[13,14,15,16,21,22],l10n_nz:[13,14,15,16,21,22],l10n_pa:[13,14,15,16,19,20,21,22],l10n_pe:[13,14,15,16,19,20,21,22],l10n_pl:[13,14,15,16,17,18,19,20,21,22],l10n_pt:[13,14,15,16,19,20,21,22],l10n_ro:[13,14,15,16,17,18,19,20,21,22],l10n_sa:[13,14,15,16,21,22],l10n_sa_invoic:16,l10n_sa_po:16,l10n_se:[15,16],l10n_se_ocr:16,l10n_sg:[13,14,15,16,21,22],l10n_si:[13,14,15,16,19,20,21,22],l10n_sk:16,l10n_syscohada:[13,14,15,16,19,20,21,22],l10n_th:[13,14,15,16,17,18,19,20,21,22],l10n_tr:[13,14,15,16,19,20,21,22],l10n_u:[13,14,15,16,19,20,21,22],l10n_ua:[15,16],l10n_ui:[13,14,15,16,19,20,21,22],l10n_uk:[13,14,15,16,17,18,19,20,21,22],l10n_ve:[13,14,15,16,17,18,19,20,21,22],l10n_vn:[13,14,15,16,20,21,22],l10n_za:[14,15,16],l23:12,l794:0,l802:0,lack:11,lang_cod:0,languag:0,larg:0,last:0,later:[0,1],latest:[0,9,11],launchpad:19,layout:[1,8],lead:0,learn:[9,11],leav:[0,6],left:[6,24],legaci:0,length:0,less:6,let:0,level:0,librari:[0,8,10],lifecycl:12,lift:0,lift_constraint:0,like:[0,7],line:[8,11],link:0,link_track:[13,14,15,16,21,22],list:[0,8,11],live:[6,11],load:[0,3,8,11,12,24],load_data:[0,24],localhost:6,locat:[2,6],log:0,logged_queri:0,logic:0,logist:9,longer:0,look:[5,12,16],lookup:8,loop:7,lose:[0,8,24],loss:[0,8],lot:[0,4,6,11],lower:12,luckili:6,lunch:[13,14,15,16,17,18,19,20,21,22],m2m:0,m2o:0,m2o_field_old_model:0,m2o_to_x2m:0,mai:[0,3,8,11],mail:[13,14,15,16,19,20,21,22],mail_bot:[14,15,16],mail_bot_hr:16,mail_client_extens:16,mail_gatewai:[17,18],mail_templ:21,mail_tip:[21,22],main:[6,10],maintain:12,mainten:[13,14,15,16,22],major:[0,4,10,23],make:[0,2,7,9,10,12],manag:[0,3,6,7,8,9,14],mani:6,manipul:11,manner:8,manual:[0,8,11,22],many2mani:0,many2on:[0,8],many2one_refer:0,map:[0,8],map_valu:0,mark:[0,5,8,13,14,15,16,21,22],mark_colnam:0,market:[17,18,19,20,21,22],marketing_campaign:[13,17,18,19,20,21,22],marketing_campaign_crm_demo:[13,17,18,19,20,21,22],marketing_crm:[20,21],mass:22,mass_mail:[6,13,14,15,16,20,21,22],mass_mailing_crm:[14,15,16],mass_mailing_ev:[13,14,15,16],mass_mailing_event_sm:[15,16],mass_mailing_event_track:[13,14,15,16],mass_mailing_event_track_sm:[15,16],mass_mailing_sal:[14,15,16],mass_mailing_security_group:22,mass_mailing_slid:[15,16],mass_mailing_sm:[15,16],master:11,match:8,mean:[0,1],meant:0,mechan:[0,12],membership:[13,14,15,16,17,18,19,20,21,22],memori:0,mention:6,menu:2,merg:[0,13,14,15,16,19,20,21,22],merge_modul:0,messag:[0,18],message_last_post:0,method:[9,11,12],microsoft_account:16,microsoft_calendar:16,might:[6,7,8,11],migrat:[0,2,3,4,5,7,8,9,16,20,23,24],migrate_partn:0,migrate_stock_warehous:0,mime:0,minor:0,miss:[0,5,13,14,15,16,21,22],mode:0,model:[0,1,3,8,24],model_id:0,model_nam:0,model_pool:0,model_spec:0,model_table_nam:0,modif:0,modifi:[0,7,24],modul:[0,1,2,3,4,5,7,8,9,10,12,24],module_nam:0,monetari:0,more:[0,2,6,7,11,24],most:[0,6,24],move:[0,8,13,14,20,21],move_field_m2o:0,moved_field:0,mrp:[13,14,15,16,17,18,19,20,21,22],mrp_account:[15,16],mrp_bom_cost:[14,15],mrp_byproduct:[13,14,15,19,20,21,22],mrp_jit:[17,18,19],mrp_landed_cost:16,mrp_oper:[17,18,19,20,21,22],mrp_product_expiri:16,mrp_repair:[13,14,17,18,19,20,21,22],mrp_subcontract:[15,16],mrp_subcontracting_account:[15,16],mrp_subcontracting_dropship:[15,16],mrp_subproduct:[17,18],much:0,multi_compani:[17,18,19,20,21],multipl:[0,8,11],must:[0,11,24],name:[0,6,8,10,11,12],namespec:0,nativ:0,necessari:[0,6,11],necessarili:0,need:[0,2,3,4,6,8,11,18,21,22,24],nest:0,net:19,never:7,new_modul:0,new_nam:0,newer:4,newli:[0,4,8],no_deep:0,no_vers:0,non:[0,7],none:0,normal:0,note:[0,6,10,12,13,14,15,16,19,20,21,22],note_pad:[13,14,15,16,19,20,21,22],noth:[0,5,13,14,15,16,17,18,19,20,21,22],notif:0,noupdat:[0,24],noupdate_chang:[3,24],now:[0,8,13,14,20,21,22],number:0,o2m:0,object:0,obsolet:[0,1],obtain:0,obviou:0,oca:[1,2,3,4,5,6,9,10,11,13,20,21,23],occassion:12,occur:[0,24],occurr:0,odoo:[0,1,2,3,4,6,7,8,9,10,14,20,21,23,24],odoo_referr:16,odoo_referral_port:16,off:6,offici:23,old:[0,1,5,6,8,10,16,24],old_modul:0,old_nam:0,old_valu:0,older:[9,11],one2mani:0,one:[0,5,6,8,10,16,24],onli:[0,1,6,11],open:[0,9,10],openerp:[0,10,11],openupgrad:[1,2,3,4,5,6,7,8,10,12,13,14,15,16,19,20,21,22,24],openupgrade_70:0,openupgrade_80:0,openupgrade_90:0,openupgrade_analysi:[3,5,6,13,14,15,16,19,20,21,22],openupgrade_analysis_work:[3,6],openupgrade_framework:11,openupgrade_general_log:3,openupgrade_legacy_:1,openupgrade_record:[2,3],openupgrade_script:[2,3,6,11],openupgrade_target_vers:11,openupgradelib:[0,6,10,12],oper:0,option:[0,2],order:[0,10,11,21],org:0,organ:12,organis:4,origin:[0,24],origin_field_nam:0,original_nam:0,orm:[0,1],orphan:1,other:[0,2,4,6,8,14,15,16,22],otherwis:0,out:[5,11,16,24],outlook:[17,18],outsid:12,over:[0,7],overcom:6,overrid:0,overview:[8,9,23],overwrit:0,overwritten:24,own:[0,3,9,12],packag:10,pad:[13,14,15,16,17,18,19,20,21,22],pad_project:[13,14,15,16,19,20,21,22],page:[6,9,20],param:0,paramet:[0,2,11],parenthes:8,part:[7,10],parti:[4,23],partial:18,particular:24,partner:[0,8],partner_autocomplet:[14,15,16],partner_autocomplete_address_extend:[14,15,16],partner_field:0,partner_id:0,pass:[0,11,24],past:0,path:[0,2,10,11],payment:[13,14,15,16,20,21,22],payment_adyen:[13,14,15,16,20,21,22],payment_alipai:[15,16],payment_author:[13,14,15,16,21,22],payment_buckaroo:[13,14,15,16,20,21,22],payment_fix_register_token:16,payment_ingenico:[15,16],payment_odoo_by_adyen:16,payment_ogon:[13,14,15,20,21,22],payment_payp:[13,14,15,16,20,21,22],payment_payulatam:[15,16],payment_payumonei:[13,14,15,16,22],payment_sip:[13,14,15,16,21,22],payment_strip:[13,14,15,16,22],payment_stripe_checkout_webhook:16,payment_stripe_sca:[13,14,15,22],payment_test:[15,16],payment_transf:[13,14,15,16,20,21,22],payrol:15,payroll_account:15,per:[0,3,8,12,23],perform:[0,2],period:0,permiss:22,pg:0,phone_valid:[13,14,15,16],pick:6,pip:[0,11,12],place:[0,2,3],plain:0,plan:[6,21],platform:10,pleas:[4,5,10,12,13,14,15,16,19,20,21,22],plugin:[19,20],plugin_outlook:[19,20],plugin_thunderbird:[19,20],pocalyps:6,point:[0,11],point_of_sal:[13,14,15,16,17,18,19,20,21,22],pool:0,pooler:0,popul:0,portal:[13,14,15,16,19,20,21,22],portal_anonym:19,portal_claim:[19,20,21],portal_crm:19,portal_ev:19,portal_gamif:[13,20,21,22],portal_hr_employe:19,portal_project:[19,20,21],portal_project_issu:[19,20,21],portal_r:16,portal_sal:[13,19,20,21,22],portal_stock:[13,19,20,21,22],pos_adyen:[15,16],pos_cach:[13,14,15,16,21,22],pos_cash_rond:14,pos_cash_round:[15,16],pos_data_drink:[13,14,22],pos_discount:[13,14,15,16,21,22],pos_epson_print:[15,16],pos_epson_printer_restaur:[15,16],pos_hr:[15,16],pos_kitchen_print:[15,16],pos_mercuri:[13,14,15,16,21,22],pos_reprint:[13,14,15,16,21,22],pos_restaur:[13,14,15,16,21,22],pos_restaurant_adyen:16,pos_sal:[13,14,15,16],pos_six:[15,16],posibl:8,possibl:[0,8],post:[0,3,4,6,8,10,12,24],postgresql:[0,1],potenti:0,power:6,pr:9,pre:[0,3,6,8,12],prefer:0,prefix:1,present:0,preserv:[0,18],presum:0,prevent:0,previou:[0,3,11,24],previous:0,previs:0,print:21,probabl:[0,11,12],problem:0,process:[0,3,4,7,9,11,17,18,19],procur:[13,17,18,19,20,21,22],procurement_jit:[13,14,15,16,20,21,22],procurement_jit_stock:21,product:[7,13,14,15,16,17,18,19,20,21,22,24],product_email_templ:[13,14,15,16,20,21,22],product_expiri:[13,14,15,16,17,18,19,20,21,22],product_extend:[13,14,20,21,22],product_manufactur:[17,18,19],product_margin:[13,14,15,16,17,18,19,20,21,22],product_matrix:[15,16],product_product:0,product_templ:0,product_uo:[21,22],product_visible_discount:[17,18,19,20,21,22],profession:4,profile_tool:[17,18],progress:[5,13,14,15,16,19,20,21,22],project:[1,4,10,13,14,15,16,17,18,19,20,21,22,23],project_caldav:[17,18],project_gtd:[17,18,19],project_issu:[13,17,18,19,20,21,22],project_issue_sheet:[13,17,18,19,20,21,22],project_long_term:[17,18,19],project_mailg:[17,18],project_messag:[17,18],project_mrp:[17,18,19,20],project_plan:[17,18],project_retro_plan:[17,18],project_scrum:[17,18],project_task:13,project_timesheet:[17,18,19,20,21,22],project_timesheet_holidai:[13,14,15,16],properli:0,properti:[0,8],propos:[4,13,14,15,19,20,21,22],proprietari:12,protect:1,provid:[0,4,10,11,23],pull:[5,6,10,13,14,15,16,20,21,22],purchas:[13,14,15,16,17,18,19,20,21,22],purchase_analytic_distribut:21,purchase_analytic_plan:[17,18,19,20,21],purchase_double_valid:[17,18,19,20,21],purchase_mrp:[13,14,15,16,22],purchase_product_matrix:[15,16],purchase_requisit:[13,14,15,16,17,18,19,20,21,22],purchase_requisition_stock:[15,16],purchase_stock:[14,15,16],pure:0,purg:1,purpos:[0,1,6],put:0,py:[0,3,6,12],python:[3,6,12],q:6,queri:0,question:0,quick_request:0,quot:0,rais:0,ran:0,rate:[13,14,15,16,21,22],rather:11,rating_project:[13,14,21,22],rating_project_issu:[13,21,22],raw:0,re:[0,8,24],reactiv:0,reactivate_workflow_transit:0,read:[0,6,11,20],readi:[5,16],real:13,realli:11,reason:[0,12],receiv:0,recent:2,recommend:[0,11],recomput:7,record:[0,2,3,24],recordset:0,recov:15,recreat:[0,24],reduc:6,ref_spec_act:0,refer:[0,1,6,8,9,10,11],regist:0,registri:0,registry_new_model:0,registry_old_model:0,regular:[0,7],reiniti:0,reintroduc:1,rel:0,relat:[0,8],relation_column:0,releas:[0,2,3,4,5,8,10,12,13,14,15,16,21,22,23,24],reli:12,remain:8,remov:[0,1,8,20,24],remove_tables_fk:0,renam:[0,8,13,14,15,16,20,21,24],rename_column:0,rename_field:0,rename_model:0,rename_properti:0,rename_t:0,rename_xmlid:[0,24],repair:[14,15,16],repeat:[9,10],replac:[0,14,15],replace_account_typ:0,report:[0,4,8,11,13,20,21,22],report_design:[17,18],report_intrastat:[13,14,17,18,19,20,21,22],report_webkit:[17,18,19,20,21,22],report_webkit_sampl:[17,18],repositori:[3,11],repres:0,represent:24,request:[0,10],requir:[0,6,8,22],rerun:6,res_group:0,res_id:0,res_nam:0,reset:[0,6],resourc:[0,9,13,14,15,16,17,18,19,20,21,22],respect:0,restart:9,restor:[1,6],result:[0,4],resurfac:0,retain:0,retriev:0,review:[3,5,9,13,14,15,16,18,19,20,21,22,24],right:[0,3],robust:7,round:0,routin:0,row:0,rule:8,run:[0,1,3,5,6,7,9,10,12,16],s:[0,1,3,5,8,12,13,14,15,16,22],sa:10,safe_unlink:0,safest:0,sale:[9,13,14,15,16,17,18,19,20,21],sale_analytic_distribut:21,sale_analytic_plan:[17,18,19,20,21],sale_coupon:[15,16],sale_coupon_deliveri:[15,16],sale_crm:[13,14,15,16,17,18,19,20,21,22],sale_expens:[13,14,15,16,21,22],sale_journ:[17,18,19,20,21],sale_layout:[17,18,20,21,22],sale_manag:[13,14,15,16],sale_margin:[13,14,15,16,17,18,19,20,21,22],sale_mrp:[13,14,15,16,17,18,19,20,21,22],sale_order_back2draft:22,sale_order_d:[13,14,17,18,19,20,21,22],sale_pay:[13,14],sale_product_configur:[15,16],sale_product_matrix:[15,16],sale_project:16,sale_purchas:[14,15,16],sale_purchase_stock:16,sale_quotation_build:[14,15,16],sale_servic:[20,21,22],sale_service_r:[13,14,22],sale_stock:[13,14,15,16,19,20,21,22],sale_stock_margin:16,sale_timesheet:[13,14,15,16,21,22],sale_timesheet_edit:16,sale_timesheet_purchas:[15,16],sales_team:[13,14,15,16,20,21,22],same:[0,6,8,12,14,21],save:[0,6],scope:0,scrip:9,script:[0,1,2,3,4,5,7,8,9,10,12,16,23,24],search:9,second:[0,8,10],section:8,secur:8,see:[0,1,5,6,8,12,13,14,15,16,19,20,21,22,23],select:[0,2,6,8,11],sens:0,sent:18,separ:[8,10,11],sequenc:0,serial:0,server:[1,2,3,7,11,24],set:[0,2,3,8,11],set_default:[0,8],set_message_last_post:0,set_parent_thread_id:0,set_partner_id_from_partner_address_id:0,set_xml_ids_noupdate_valu:0,sever:11,share:[13,14,15,17,18,19,20,21,22],sheet:13,shortcut:20,should:[0,6,8,9,23,24],show:6,shown:0,side:0,signal:8,signatur:0,significantli:6,simpl:[0,6,8],simpli:[0,6],sinc:[0,6],singl:[0,4],situat:[6,8],skip:[0,11],skip_no_result:0,slightli:7,slow:0,sm:[14,15,16],snailmail:[14,15,16],snailmail_account:[14,15,16],so:[0,7,8,11,24],social:9,social_media:[14,15,16],softwar:4,sold:10,some:[0,3,6,11],sourc:[0,10,11],source_column:0,source_field:0,source_model:0,source_t:0,space:1,special:0,specif:0,specifi:0,sponsor:10,sql:0,sql_constraint:0,stabl:1,stage:[0,11,12],standard:0,stanza:11,start:[0,2,3,5,6,11,16],state:[0,6],stateg:4,statement:0,statist:3,statu:[13,14,15,16,17,18,19,20,21,22],status:[5,16],step:[0,2,6,12],still:[0,1,12],stock:[0,9,13,15,16,17,18,19,20,21,22],stock_account:[13,14,15,16,20,21,22],stock_calendar:[13,21,22],stock_dropship:[13,14,15,16,20,21,22],stock_invoice_directli:[17,18,19,20,21],stock_landed_cost:[13,14,15,16,20,21,22],stock_loc:[17,18,19],stock_no_autopick:[17,18,19],stock_picking_batch:[13,14,15,16],stock_picking_wav:[13,20,21,22],stock_plan:[17,18],stock_putaway_product:14,stock_sm:[15,16],stock_zebra:[14,15],stop:[6,8,11],store:0,str:0,strategi:1,string:0,stuff:0,sub:0,subdirectori:[3,12],subscript:[13,17,18,19,20,21,22],subsequ:[0,2,23],substitut:0,successfulli:6,suffer:[14,15,16,22],suit:10,suitabl:0,superuser_id:0,support:[0,10,11],sure:[0,11],survei:[13,14,15,16,17,18,19,20,21,22],survey_crm:[13,14,15,20,21,22],surviv:24,systemat:9,t:[0,9,11],tab:19,tabl:[0,1,5,8,16],table_exist:0,table_nam:0,table_spec:0,take:[0,24],taken:[0,14,15,16,22],target:[0,2,3,8,11],target_column:0,task:[0,6],technic:[4,9],techniqu:0,technolog:4,templat:[0,18],temporari:8,tent:21,terminolog:10,test:[0,6],test_base_autom:16,test_event_ful:16,test_mail:[14,15,16],test_mail_ful:[15,16],test_mass_mail:[14,15,16],test_websit:[14,15,16],test_website_slides_ful:[15,16],test_xlsx_export:[15,16],text:0,than:[3,11,12],thank:4,thei:[0,1,8,11,21,24],them:[0,7,8,11,24],theme_bootswatch:[13,14,15,16,21,22],theme_default:[13,14,15,16,21,22],theoret:0,therefor:24,thi:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,20,21,22,23,24],thing:0,those:[0,6],though:[0,7],three:12,through:[0,6],thu:[0,8],thunderbird:[17,18],tidi:1,time:[0,6,8,11],timesheet:13,timezon:0,tinyerp:12,titl:8,todo:[0,8],too:0,tool:[0,1,3,4,9,12],transact:0,transfer:0,transform:[0,14,15,16,22],transifex:[13,14,15,16],transit:0,transition_condit:0,translat:0,translations_onli:0,treat:[7,11],tree:[13,14,20,21],trial:9,trigger:[0,6],truncat:0,trunk:[13,14,15,19,20,21,22],tupl:0,two:[2,3,10,24],txt:[3,5,6,13,14,15,16,19,20,21,22],type:[0,8,24],type_spec:0,typic:[0,8],u:6,ui:24,uid:0,umbrella:[13,20,21],uncov:11,under:[3,11,13,20,21,24],underestim:6,understand:6,unexpect:6,uniqu:0,unit:0,unknown:7,unleash:6,unlink:[0,24],until:7,uom:[14,15,16],up:[1,2,11],updat:[0,6,8,11,24],update_alias:0,update_field_multilang:0,update_module_moved_field:0,update_module_nam:0,update_workflow_workitem:0,upgrad:[0,1,2,4,7,8,9,10,12],upgrade_analysi:[2,3],upstream:0,us:[0,1,2,3,4,10,11,12,24],usag:0,use_env:0,use_orm:0,user:[0,4,22],user_field_nam:0,user_id:0,users_ldap:[17,18],usual:[0,6],utm:[13,14,15,16,21,22],v12:0,v8:0,vacuum:1,val:0,valid:0,valu:[0,7,8,11],valuat:13,vari:0,variabl:[0,11],veri:0,version:[0,1,2,6,7,9,11,12,23,24],via:0,view:[0,2],wa:[0,3,6,12,20],wai:[0,1,6,8,24],want:[0,6,7,9,11,24],warehous:9,warn:[0,17,18,19,20,21,22],warn_possible_dataloss:0,we:[0,4,7],web:[6,11,13,14,15,16,20,21,22],web_analyt:[19,20,21,22],web_api:[20,21],web_calendar:[13,20,21,22],web_diagram:[13,14,15,16,20,21,22],web_editor:[13,14,15,16,21,22],web_gantt:[20,21],web_graph:[20,21],web_kanban:[13,20,21,22],web_kanban_gaug:[13,14,15,16,20,21,22],web_kanban_sparklin:[20,21],web_linkedin:[19,20,21],web_livechat:[17,18],web_plann:[13,14,21,22],web_settings_dashboard:[13,14,15,21,22],web_shortcut:[19,20],web_test:[20,21],web_tests_demo:[20,21],web_tip:[21,22],web_tour:[13,14,15,16,22],web_unsplash:[14,15,16],web_uservoic:[17,18],web_view_editor:[20,21,22],websit:[0,13,14,15,16,20,21,22],website_blog:[13,14,15,16,20,21,22],website_certif:[20,21],website_crm:[13,14,15,16,20,21,22],website_crm_claim:[21,22],website_crm_livechat:[15,16],website_crm_partner_assign:[13,14,15,16,20,21,22],website_crm_phone_valid:[13,14,15],website_crm_sm:[15,16],website_custom:[13,14,15,16,20,21,22],website_ev:[13,14,15,16,20,21,22],website_event_crm:16,website_event_crm_quest:16,website_event_meet:16,website_event_meet_quiz:16,website_event_quest:[13,14,15,16,21,22],website_event_sal:[13,14,15,16,20,21,22],website_event_track:[13,14,15,16,20,21,22],website_event_track_exhibitor:16,website_event_track_l:16,website_event_track_live_quiz:16,website_event_track_quiz:16,website_form:[13,14,15,16,21,22],website_form_project:[13,14,15,16],website_forum:[13,14,15,16,20,21,22],website_forum_doc:[13,14,20,21,22],website_gengo:[13,14,15,16,20,21,22],website_google_map:[13,14,15,16,20,21,22],website_hr:[13,14,15,20,21,22],website_hr_recruit:[13,14,15,16,20,21,22],website_instantclick:21,website_issu:[13,21,22],website_jitsi:16,website_link:[13,14,15,16,21,22],website_livechat:[13,14,15,16,20,21,22],website_mail:[13,14,15,16,20,21,22],website_mail_channel:[13,14,15,16,21,22],website_mail_group:[20,21],website_mass_mail:[13,14,15,16,21,22],website_membership:[13,14,15,16,20,21,22],website_partn:[13,14,15,16,20,21,22],website_pay:[13,14,15,16,20,21,22],website_port:[13,21,22],website_portal_sal:[13,21,22],website_profil:[15,16],website_project:[13,20,21,22],website_project_issu:[13,21,22],website_project_issue_sheet:[13,21,22],website_project_timesheet:[13,22],website_quot:[13,14,20,21,22],website_r:[13,14,15,16],website_rating_project:[13,14],website_rating_project_issu:[13,21,22],website_report:[20,21],website_sal:[13,14,15,16,20,21,22],website_sale_comparison:[13,14,15,16],website_sale_coupon:[15,16],website_sale_coupon_deliveri:[15,16],website_sale_deliveri:[13,14,15,16,20,21,22],website_sale_digit:[13,14,15,16,21,22],website_sale_link_track:[14,15],website_sale_manag:[13,14,15,16],website_sale_opt:[13,14,21,22],website_sale_product_configur:[15,16],website_sale_slid:[15,16],website_sale_stock:[13,14,15,16,21,22],website_sale_stock_opt:[13,14],website_sale_stock_product_configur:[15,16],website_sale_wishlist:[13,14,15,16],website_slid:[13,14,15,16,21,22],website_slides_forum:[15,16],website_slides_survei:[15,16],website_sm:[15,16],website_survei:[14,15],website_theme_instal:[13,14,15,16,21,22],website_twitt:[13,14,15,16,20,21,22],well:[0,3,10,11],went:0,were:[0,3,6,8,12],what:6,when:[0,1,3,6,7,8,11,12,13,24],whenev:[0,6],where:[0,6,12],whether:0,which:[0,1,2,3,6,8,11,12,24],whole:0,whose:0,wiki:[17,18],wiki_faq:[17,18],wiki_quality_manu:[17,18],wiki_sale_faq:[17,18],within:[0,4,6],without:[0,2,6,8],wizard:2,won:0,word:1,work:[0,4,5,6,7,11,13,14,15,16,19,20,21,22],workflow:[0,7,9],wors:0,worth:0,would:[0,7],write:[0,2,4,6,21],written:0,www:0,xml:[0,3,8,9],xml_id:0,xmlid:0,xmlids_spec:0,ye:[0,7],yet:[0,5,11,13,16],yield:0,yml:0,you:[0,1,2,3,4,5,6,7,8,9,10,11,12,14,15,16,22,24],your:[0,1,3,4,7,8,9,12,13,14,15,19,20,21,22,24],yourself:11},titles:["OpenUpgrade API","After migration","How to run your own analysis","Database analysis","Community involvement","<no title>","Migration script development","Development FAQ","Fields analysis format","Welcome to OpenUpgrade\u2019s documentation!","Introduction","Running the migration","The Odoo Migration Manager","Module coverage 10.0 -> 11.0","Module coverage 11.0 -> 12.0","Module coverage 12.0 -> 13.0","Module coverage 13.0 -> 14.0","Module coverage 5.0 -> 6.0","Module coverage 6.0 -> 6.1","Module coverage 6.1 -> 7.0","Module coverage 7.0 -> 8.0","Module coverage 8.0 -> 9.0","Module coverage 9.0 -> 10.0","Module coverage","XML IDs"],titleterms:{"0":[0,13,14,15,16,17,18,19,20,21,22],"1":[11,18,19],"10":[13,22],"11":[13,14],"12":[14,15],"13":[15,16],"14":16,"2":11,"3":11,"4":11,"5":[11,17],"6":[17,18,19],"7":[0,19,20],"8":[0,20,21],"9":[0,21,22],The:[6,12],account:[14,22],adjust:11,after:1,all:6,analysi:[2,3,8],api:0,check:11,code:[6,11],commun:4,configur:11,content:3,contribut:10,copi:11,coverag:[11,13,14,15,16,17,18,19,20,21,22,23],data:11,databas:[3,10,11],depend:11,develop:[6,7],document:9,earlier:3,error:6,exist:6,fail:6,faq:7,field:8,file:11,financi:14,fix:11,format:8,from:[6,11],gener:0,get:11,how:2,id:24,indic:9,instal:11,instead:6,introduct:10,invoic:22,involv:4,learn:6,logist:14,make:11,manag:12,method:0,migrat:[1,6,10,11,12],miss:11,modul:[6,11,13,14,15,16,17,18,19,20,21,22,23],obsolet:11,oca:[14,15,16,22],odoo:[11,12],older:10,open:6,openupgrad:[0,9,11],openupgradelib:11,option:11,overview:6,own:2,pr:6,process:6,repeat:11,resourc:6,restart:6,review:6,run:[2,11],s:9,sale:22,scrip:6,script:[6,11],social:22,stock:14,systemat:6,tabl:9,tool:14,trial:6,upgrad:[6,11],version:[3,10],warehous:14,welcom:9,workflow:22,write:11,xml:24,your:[2,6,10,11]}}) \ No newline at end of file +Search.setIndex({docnames:["API","after_migration","analyse","analysis","community","coverage_legend","development","devfaq","format","index","intro","migration_details","migrationmanager","modules100-110","modules110-120","modules120-130","modules130-140","modules50-60","modules60-61","modules61-70","modules70-80","modules80-90","modules90-100","status","xmlids"],envversion:{"sphinx.domains.c":2,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":5,"sphinx.domains.index":1,"sphinx.domains.javascript":2,"sphinx.domains.math":2,"sphinx.domains.python":3,"sphinx.domains.rst":2,"sphinx.domains.std":2,sphinx:56},filenames:["API.rst","after_migration.rst","analyse.rst","analysis.rst","community.rst","coverage_legend.rst","development.rst","devfaq.rst","format.rst","index.rst","intro.rst","migration_details.rst","migrationmanager.rst","modules100-110.rst","modules110-120.rst","modules120-130.rst","modules130-140.rst","modules50-60.rst","modules60-61.rst","modules61-70.rst","modules70-80.rst","modules80-90.rst","modules90-100.rst","status.rst","xmlids.rst"],objects:{"openupgradelib.openupgrade":[[0,1,1,"","add_fields"],[0,1,1,"","add_ir_model_fields"],[0,1,1,"","add_xmlid"],[0,1,1,"","check_values_selection_field"],[0,1,1,"","chunked"],[0,1,1,"","column_exists"],[0,1,1,"","convert_field_to_html"],[0,1,1,"","convert_to_company_dependent"],[0,1,1,"","copy_columns"],[0,1,1,"","copy_fields_multilang"],[0,1,1,"","cow_templates_mark_if_equal_to_upstream"],[0,1,1,"","cow_templates_replicate_upstream"],[0,1,1,"","date_to_datetime_tz"],[0,1,1,"","deactivate_workflow_transitions"],[0,1,1,"","delete_model_workflow"],[0,1,1,"","delete_record_translations"],[0,1,1,"","delete_records_safely_by_xml_id"],[0,1,1,"","disable_invalid_filters"],[0,1,1,"","drop_columns"],[0,1,1,"","float_to_integer"],[0,1,1,"","get_legacy_name"],[0,1,1,"","lift_constraints"],[0,1,1,"","load_data"],[0,1,1,"","logged_query"],[0,1,1,"","logging"],[0,1,1,"","m2o_to_x2m"],[0,1,1,"","map_values"],[0,1,1,"","message"],[0,1,1,"","migrate"],[0,1,1,"","move_field_m2o"],[0,1,1,"","reactivate_workflow_transitions"],[0,1,1,"","remove_tables_fks"],[0,1,1,"","rename_columns"],[0,1,1,"","rename_fields"],[0,1,1,"","rename_models"],[0,1,1,"","rename_property"],[0,1,1,"","rename_tables"],[0,1,1,"","rename_xmlids"],[0,1,1,"","safe_unlink"],[0,1,1,"","set_defaults"],[0,1,1,"","set_xml_ids_noupdate_value"],[0,1,1,"","table_exists"],[0,1,1,"","update_field_multilang"],[0,1,1,"","update_module_moved_fields"],[0,1,1,"","update_module_names"],[0,1,1,"","update_workflow_workitems"],[0,1,1,"","warn_possible_dataloss"]],"openupgradelib.openupgrade_70":[[0,1,1,"","get_partner_id_from_user_id"],[0,1,1,"","set_partner_id_from_partner_address_id"]],"openupgradelib.openupgrade_80":[[0,1,1,"","get_last_post_for_model"],[0,1,1,"","set_message_last_post"],[0,1,1,"","update_aliases"]],"openupgradelib.openupgrade_90":[[0,1,1,"","convert_binary_field_to_attachment"],[0,1,1,"","replace_account_types"]],openupgradelib:[[0,0,0,"-","openupgrade"],[0,0,0,"-","openupgrade_70"],[0,0,0,"-","openupgrade_80"],[0,0,0,"-","openupgrade_90"]]},objnames:{"0":["py","module","Python module"],"1":["py","function","Python function"]},objtypes:{"0":"py:module","1":"py:function"},terms:{"0":[2,3,7,9,10,11,12,23],"1":[0,9,10,13,14,20,21,23],"10":[0,9,23],"1000":0,"11":[0,9,23],"12":[0,6,9,11,23],"13":[6,9,11,23],"14":[2,3,6,9,10,11,23],"2":[0,6,9,10,12,14,18,20,21],"2273":6,"2275":6,"2499":6,"3":[6,9,10,20,21],"3apr":6,"4":[0,9,10,12,21],"5":[0,9,10,21,23],"5bfix":6,"5d":6,"6":[0,8,9,20,21,23],"7":[9,21,23],"7c95c14c06d77e5ebbd7aafd9c0c345b47d27d30":12,"8":[9,23],"8069":6,"8b02879ff5":12,"9":[7,9,12,23],"9201f92a4f29a53a014b462469f27b32dca8fc5a":0,"boolean":0,"break":0,"case":[0,2,6,8,24],"catch":0,"char":[0,8],"default":[0,8],"do":[0,2,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,24],"export":[0,11],"final":8,"float":0,"function":[0,4,6,8,10],"import":0,"new":[0,1,2,5,7,8,11,13,14,15,16,19,21,22,24],"null":0,"return":[0,7],"static":0,"switch":0,"true":[0,7],"try":[0,4,6,11],"while":1,A:[0,3,5,6,8,11,16],As:[0,6],At:[8,11],Be:11,But:6,For:[0,6,7,11,12,23],If:[0,2,4,8,9,11,24],In:[0,2,3,5,6,10,12,16,24],It:[0,6,8,10,12],No:[0,13,14,15,19,20,21,22],Not:[0,5,16],Of:8,On:2,One:0,Or:11,That:[2,6,7],The:[0,1,2,3,7,8,9,10,11,20,23,24],Then:6,There:[1,12],These:[0,6,22],To:0,With:11,_database_cleanup_:1,_inherit:8,_tabl:0,abl:0,about:[0,9,11],abov:[0,6],absolut:11,acc:6,access:[8,22,24],accomplish:4,accord:[0,6],account:[0,6,7,9,13,15,16,17,18,19,20,21],account_account:[13,17,18,19,20,21,22],account_analytic_analysi:[17,18,19,20,21],account_analytic_default:[13,14,15,16,17,18,19,20,21,22],account_analytic_default_hr_expens:[15,16],account_analytic_default_purchas:[15,16],account_analytic_distribut:21,account_analytic_plan:[17,18,19,20,21],account_anglo_saxon:[17,18,19,20,21],account_asset:[13,14,19,20,21,22],account_asset_manag:14,account_bank_statement_extens:[19,20,21],account_bank_statement_import:[13,14,15,16,21,22],account_budget:[13,14,17,18,19,20,21,22],account_budget_oca:14,account_cancel:[13,14,15,17,18,19,20,21,22],account_cash_basis_base_account:[13,14,21,22],account_chart:[17,18,19,20,21],account_check_print:[13,14,15,16,21,22],account_check_writ:[19,20,21],account_coda:[17,18],account_debit_not:[15,16],account_edi:16,account_edi_extend:16,account_edi_facturx:16,account_edi_proxy_cli:16,account_edi_ubl:16,account_extra_report:[21,22],account_facturx:[14,15,16],account_fleet:16,account_followup:[17,18,19,20,21],account_full_reconcil:[21,22],account_invo:[13,14],account_invoice_layout:[17,18],account_invoice_ship:22,account_lock:[13,14,15,16,21,22],account_pay:[13,14,15,16,17,18,19,20,21],account_payment_ord:21,account_qr_code_sepa:16,account_revers:14,account_sequ:[17,18,19,20,21],account_statement_import:16,account_tax_adjust:[21,22],account_tax_cash_basi:[13,21,22],account_tax_exig:[21,22],account_tax_python:[13,14,15,16,21,22],account_test:[13,14,15,16,19,20,21,22],account_vouch:[13,14,15,17,18,19,20,21,22],achiev:6,across:11,action:[0,8,24],activ:[0,10],activereview:19,actual:[0,8],ad:[0,6,8],adapt:0,add:[0,2,11],add_field:0,add_ir_model_field:0,add_xmlid:0,addit:[0,3,24],addon:[0,2,3,11,19,23],address:[0,22],address_field:0,adjust:[9,10],adopt:16,adyen_platform:16,affect:0,after:[0,3,6,8,9,10,11,12],again:11,against:7,aim:10,algorithm:0,alia:0,alias:0,alias_default:0,alias_parent_model_id:0,alias_parent_thread_id:0,all:[0,3,4,8,9,11,12,23,24],allow:[0,1,11],allow_merg:0,allowed_valu:0,alreadi:[0,6,11,12],also:[0,1,2,6,7,8],altern:6,although:0,alwai:[0,5,6,8,16],an:[0,1,3,4,6,8,10,11,12,23],analys:[5,13,14,15,16,19,20,21,22],analysi:[6,9,10,21,24],analyt:[13,14,15,16,17,18,19,20,21,22],analytic_contract_hr_expens:[19,20,21],analytic_journal_billing_r:[17,18],analytic_user_funct:[17,18,19,20,21],analyz:0,anglo_saxon_dropship:[20,21],ani:[0,1,3,4,6,7,8,10,12,14,15,16,22,24],annot:3,anonym:[13,14,17,18,19,20,21,22],anoth:[0,1,6,7,8,10],anticip:7,anymor:[0,3,22],anywai:[7,22],api:[6,9],appli:[0,7,8],applic:10,appropri:6,appropriatli:6,ar:[0,1,3,4,5,6,7,8,10,11,12,13,14,15,16,18,21,22,24],arg:0,args_detail:0,argument:[0,6,7],around:8,ask:11,asset:14,assign:[0,22],associ:[0,10,13,14,15,16,17,18,19,20,21,22],assum:0,assur:0,attach:0,attachment_index:[15,16],attempt:0,attribut:[0,24],auction:[17,18],audit:8,audittrail:[17,18,19],auth_crypt:[13,14,19,20,21,22],auth_ldap:[13,14,15,16,19,20,21,22],auth_oauth:[13,14,15,16,19,20,21,22],auth_oauth_signup:19,auth_openid:[19,20,21],auth_password_polici:[15,16],auth_password_policy_port:16,auth_password_policy_signup:[15,16],auth_signup:[13,14,15,16,19,20,21,22],auth_totp:16,auth_totp_port:16,autoinstal:11,automat:[0,3,8,24],avail:[0,2,6,11,12,13,14,15,19,20,21,22],avoid:0,awar:6,b:[0,6],back:[4,6,10,12],backup:11,bank:21,barcod:[13,14,15,16,21,22],base:[0,3,11,13,14,15,16,17,18,19,20,21,22],base_action_rul:[13,17,18,19,20,21,22],base_address_c:[13,14,15,16],base_address_extend:[13,14,15,16],base_autom:[13,14,15,16],base_calendar:[17,18,19],base_contact:[17,18],base_crypt:[17,18],base_gengo:[13,14,15,16,19,20,21,22],base_geoloc:[13,14,15,16,20,21,22],base_iban:[13,14,15,16,17,18,19,20,21,22],base_import:[13,14,15,16,19,20,21,22],base_import_modul:[13,14,15,16,20,21,22],base_module_doc_rst:[17,18],base_module_qu:[17,18],base_module_record:[17,18],base_report_cr:[17,18],base_report_design:[17,18,19,20,21],base_setup:[13,14,15,16,17,18,19,20,21,22],base_sparse_field:[13,14,15,16],base_statu:19,base_synchro:[17,18],base_tool:[17,18],base_vat:[13,14,15,16,17,18,19,20,21,22],base_vat_autocomplet:[13,14],basic:6,becam:8,becaus:[0,1],becom:[0,6,8],been:[0,1,3,5,6,8,11,13,14,15,16,19,20,21,22,24],befor:[0,2,3,6,10,11,12],being:[0,6,8],below:[0,5,6,8,16,23],better:7,between:[1,3,5,6,8,13,14,15,16,19,20,21,22,23],bewar:0,bin:11,binari:0,binary_field:0,blob:[0,12],block:0,board:[13,14,15,16,17,18,19,20,21,22],bool:0,both:[2,6,7,11],branch:[2,3,10,11],broken:0,bu:[13,14,15,16,21,22],budget:14,bug:11,built:12,busi:10,c:6,cach:0,caldav:[17,18],calendar:[13,14,15,16,20,21,22],calendar_sm:[13,14,15,16],call:[0,1,6,8,11],callabl:0,can:[0,1,3,4,5,6,8,10,11,12,16,23,24],care:[0,9,11],cascad:0,categori:[0,24],caus:[6,8],certain:0,chang:[0,3,5,6,8,13,14,15,16,19,20,21,22,24],check:[0,6,7,9,10,21],check_values_selection_field:0,chunk:0,circular:11,claim_from_deliveri:[17,18,19,20,21,22],claus:0,clean:[1,11],cleanup:0,clear:8,click:0,code:[0,7,9,10,12,19],coincid:0,collect:[12,24],collis:0,column:[0,1,8],column_exist:0,column_spec:0,columnspec:0,com:[0,1,2,3,4,5,6,10,11,12,13,14,15,16,20,21,22],combin:[0,6],come:0,command:11,comment:24,commit:[10,12],common:0,commun:[9,10,13,14,20,21],compani:[0,4],comparison:[2,24],complet:0,complex:6,compute_func:0,concern:0,config:2,configur:[0,2,4,9,10],connect:2,consequ:8,conserv:1,consid:[0,1,4],consist:[0,1],constraint:0,consult:4,contact:[0,13,14,15,16,19,20,21,22],contain:[0,2,3,6,8,10],content:[0,9],context:[0,12],continu:[0,6],contract:21,contrast:0,contribut:[4,9],contributor:[6,10],convers:0,convert:0,convert_binary_field_to_attach:0,convert_field_to_html:0,convert_to_company_depend:0,copi:[0,3,4,6,8,9,10],copy_column:0,copy_fields_multilang:0,core:[12,14,22],correct:0,correspond:[0,2,8],corrupt:7,could:[0,3,8],count:0,countri:24,coupl:0,coupon:16,cours:8,cover:[0,4,5,13,16,20,24],coverag:[9,10],cow:0,cow_templates_mark_if_equal_to_upstream:0,cow_templates_replicate_upstream:0,cr:0,craft:0,creat:[0,2,3,8,24],critic:0,crm:[13,14,15,16,17,18,19,20,21,22],crm_caldav:[17,18],crm_claim:[17,18,19,20,21,22],crm_fundrais:[17,18],crm_helpdesk:[17,18,19,20,21],crm_iap_lead:[15,16],crm_iap_lead_enrich:[15,16],crm_iap_lead_websit:[15,16],crm_livechat:[13,14,15,16],crm_mass_mail:21,crm_partner_assign:[17,18,19,20,21,22],crm_phone_valid:[13,14,15],crm_profil:[17,18,19,20,21],crm_project:[13,14,15],crm_project_issu:[13,20,21,22],crm_reveal:[14,15],crm_sm:[15,16],crm_todo:19,csv:[0,8],currenc:[0,24],current:[0,24],cursor:0,custom:[0,2,3,4,6,12],d:[0,6],dai:12,dashboard:18,data:[0,1,2,3,8,9,10,24],databas:[0,1,2,4,6,7,8,9,12,24],datatyp:0,date:0,date_field_nam:0,date_to_datetime_tz:0,datetim:0,datetime_field_nam:0,db:[0,6],dbname:0,deactiv:0,deactivate_workflow_transit:0,deal:0,debug:0,decid:11,decimal_precis:[13,14,15,17,18,19,20,21,22],declar:[0,6,7],decor:0,def:0,default_spec:0,defaults_id_kei:0,deferred_:12,defin:[0,24],definit:0,del:8,deleg:8,delet:[0,8],delete_model_workflow:0,delete_record_transl:0,delete_records_safely_by_xml_id:0,deliveri:[13,14,15,16,17,18,19,20,21,22],delivery_hs_cod:15,demo:[0,2],depart:8,depend:[0,6,7,9,10],deprec:0,deriv:8,describ:6,descript:8,design:23,destin:0,destination_column:0,destination_field_nam:0,destination_model:0,destination_t:0,detail:[0,6,9],detect:[7,8],determin:8,develop:[0,3,4,9,10,11,23,24],dict:0,dictionari:[0,11],did:6,differ:[0,6,8,23],digest:[14,15,16],direct:[0,11],directli:11,directori:[0,2,3,12,24],disabl:[0,7],disable_invalid_filt:0,discuss:[4,6],disk:1,displai:8,distinct:8,distribut:[2,5,16,21,23],do_rais:0,doc:0,docstr:12,document:[1,11,13,14,15,17,18,19,20,21,22],document_:[17,18],document_ftp:[17,18,19],document_pag:[19,20],document_webdav:[17,18,19],doe:[0,7,10,14,21],doesn:0,don:[0,9,11],donat:10,done:[0,5,6,13,14,15,16,17,18,19,20,21,22],down:0,drop:0,drop_column:0,drop_index:0,duplic:0,dure:[0,3,6,7,10,12],e:1,each:[0,2,3,6,10,11],earli:0,earlier:[0,9,11,12],easi:6,easier:8,edi:[7,19,20,21],edit:[3,5,6,11,14,16],effort:23,eg:0,egg:11,either:0,element:0,email_templ:[17,18,19,20,21],employe:8,empti:[0,5,8,13,14,15,16,19,20,21,22],encod:8,encount:[8,11],encourag:1,end:[0,3,6,12],engag:6,engin:7,ensur:6,enterpris:14,entri:[0,24],env:0,environ:[0,11],equal:0,equival:0,error:[0,9,11],essenti:0,estim:0,etc:0,even:[0,6,7],event:[13,14,15,16,17,18,19,20,21,22],event_crm:16,event_crm_sal:16,event_moodl:19,event_project:[17,18],event_sal:[13,14,15,16,19,20,21,22],event_sm:[15,16],ever:7,everi:[0,8,11],everyth:0,eviron:0,exactli:[14,21],exampl:[0,8,12],except:[0,6],execept:0,execut:[0,3,6,12],exempl:0,exist:[0,1,4,8,9,24],expect:[0,11],explain:6,explan:6,extend:0,extern:0,extra:[10,21,22],face:6,fact:0,fail:[0,9,11],fals:0,familiar:6,faq:[6,9],featur:[0,8,14,22],feedback:4,fetchmail:[13,14,15,16,17,18,19,20,21,22],fetchmail_gmail:[14,15,16],fetchmail_outlook:[14,15],field:[0,3,7,9,24],field_nam:0,field_new_model:0,field_old_model:0,field_spec:0,file:[0,2,3,5,6,8,12,13,14,15,16,19,20,21,22,24],filenam:0,fill:[0,8],filter:0,financi:9,find:[0,5,9,14,15,16,22],finish:0,fire:7,first:[0,6,8,10],fit:8,fix:[1,6,9,10,12],fixed_modul:6,fk:0,flag:[8,11,24],fleet:[13,14,15,16,19,20,21,22],float_to_integ:0,fly:0,folder:2,follow:[0,2,5,6,8,11,16],forc:0,force_dep:11,forcecr:0,forcefulli:0,foreign:0,fork:[2,3,10,11],form:[2,24],format:[0,3,9],found:[0,3,5,6,16],frame:0,framework:10,free:[1,7],friendli:0,from:[0,1,2,7,8,9,10,13,14,15,16,20,21,24],full:[1,6,12],func:0,futur:[0,1],gamif:[13,14,15,16,20,21,22],gamification_sale_crm:[13,14,15,16,20,21,22],gener:[2,3,9,24],get:[0,6,9,10],get_last_post_for_model:0,get_legacy_nam:0,get_partner_id_from_user_id:0,get_pool:0,git:[10,11],github:[0,1,2,3,4,5,6,9,10,11,12,13,14,15,16,20,21,22],give:[4,10,24],given:[0,6],glitch:12,go:[0,4,6,11],goal:23,google_account:[13,14,15,16,20,21,22],google_base_account:19,google_calendar:[13,14,15,16,20,21,22],google_doc:19,google_dr:[13,14,15,16,20,21,22],google_gmail:[14,15,16],google_map:[17,18],google_recaptcha:16,google_spreadsheet:[13,14,15,16,20,21,22],govern:0,grant:22,group:24,guess:0,ha:[0,1,5,8,13,14,15,16,19,20,21,22,24],hack:[0,5,16],had:[0,8],hand:0,handl:0,handler:0,happen:[0,1,6],hardcod:8,hash:0,have:[0,1,3,4,5,6,8,11,12,16,24],header:11,help:[4,5,6,7,10,11,16],helper:[0,10,12],here:[0,6,9,14,15,16,22,24],hierarchi:8,high:0,higher:0,highlight:6,hint:0,hire:[4,10],host:[1,3,10],how:[0,3,6,7,8,9],hr:[8,13,14,15,16,17,18,19,20,21,22],hr_applicant_docu:[20,21],hr_attend:[13,14,15,16,17,18,19,20,21,22],hr_contract:[13,14,15,16,17,18,19,20,21,22],hr_equip:[21,22],hr_evalu:[17,18,19,20],hr_expens:[13,14,15,16,17,18,19,20,21,22],hr_expense_check:[13,14,15,16,22],hr_fleet:[15,16],hr_gamif:[13,14,15,16,20,21,22],hr_holidai:[13,14,15,16,17,18,19,20,21,22],hr_holidays_attend:[15,16],hr_holidays_calendar:16,hr_mainten:[13,14,15,16,22],hr_org_chart:[13,14,15,16],hr_payrol:[13,14,15,17,18,19,20,21,22],hr_payroll_account:[13,14,15,17,18,19,20,21,22],hr_presenc:[15,16],hr_recruit:[13,14,15,16,17,18,19,20,21,22],hr_recruitment_survei:[13,14,15,16,22],hr_skill:[15,16],hr_skills_slid:[15,16],hr_skills_survei:[15,16],hr_timesheet:[13,14,15,16,17,18,19,20,21,22],hr_timesheet_attend:[13,14,15,16,22],hr_timesheet_invoic:[17,18,19,20,21],hr_timesheet_sheet:[13,17,18,19,20,21,22],hr_work_entri:[15,16],html:0,html_field_nam:0,html_view:[17,18],http:[0,1,2,3,4,5,6,9,10,11,12,13,14,15,16,19,20,21,22],http_rout:[13,14,15,16],hw_blackbox_b:[13,14,15,22],hw_driver:[14,15,16],hw_escpo:[13,14,15,16,20,21,22],hw_posbox_homepag:[13,14,15,16,20,21,22],hw_posbox_upgrad:[13,14,15,20,21,22],hw_proxi:[13,14,15,16,20,21,22],hw_scale:[13,14,15,20,21,22],hw_scanner:[13,14,15,20,21,22],hw_screen:[13,14,15],i:[0,1],iap:[13,14,15,16],iap_crm:16,iap_mail:16,id:[0,3,9],idea:[17,18,19],ident:0,identifi:0,idref:0,ignor:[0,24],im:20,im_chat:21,im_livechat:[13,14,15,16,20,21,22],im_livechat_mail_bot:[14,15,16],im_odoo_support:[21,22],im_support:[14,15,16],implement:[0,6,8],improv:[4,10],includ:[0,2,7,10,11,12,14,22],incomplet:0,inconsist:[0,6],incorrect:1,independ:4,index:[0,9],indic:[0,2],inform:[13,14,15,19,20,21,22],inherit:8,init:[0,6,11],init_no_cr:0,initi:[0,10],inner:0,insist:4,instal:[0,2,7,8,9,10,12,13,24],instanc:[0,2,6,7,8,11,12],instead:[0,8,9,10],integ:0,integr:11,intend:0,interest:[4,24],intern:[0,12],introduc:[8,11,12],introduct:[6,9],intuit:1,invers:0,invoic:9,involv:[0,9],io:9,ir:[0,24],ir_model:0,ir_model_data:0,ir_model_field:0,issu:[0,4,6],item:[0,24],iter:0,its:[0,11,24],itself:[0,2,11,12],join:0,just:[0,3,9],keep:[0,1],kei:[0,11],kind:[0,6,14,15,16,22],know:[0,7],knowledg:[4,17,18,19,20,21],kwarg:0,l10n_ae:[13,14,15,16,21,22],l10n_ar:[13,14,15,16,19,20,21,22],l10n_ar_website_sal:16,l10n_at:[13,14,15,16,17,18,19,20,21,22],l10n_au:[13,14,15,16,21,22],l10n_be:[13,14,15,16,17,18,19,20,21,22],l10n_be_coda:[19,20,21],l10n_be_edi:[15,16],l10n_be_hr_payrol:[13,14,15,19,20,21,22],l10n_be_hr_payroll_account:[13,14,15,19,20,21,22],l10n_be_hr_payroll_fleet:[13,14,15],l10n_be_intrastat:[13,14,21,22],l10n_be_intrastat_2019:[13,14,22],l10n_be_invoice_bba:[13,14,15,16,19,20,21,22],l10n_bo:[13,14,15,16,19,20,21,22],l10n_br:[13,14,15,16,17,18,19,20,21,22],l10n_ca:[13,14,15,16,17,18,19,20,21,22],l10n_ch:[13,14,15,16,17,18,19,20,21,22],l10n_ch_qriban:16,l10n_cl:[13,14,15,16,19,20,21,22],l10n_cn:[13,14,15,16,17,18,19,20,21,22],l10n_cn_citi:[14,15,16],l10n_cn_small_busi:[13,14,15,16,21,22],l10n_cn_standard:[13,14,15,16,21,22],l10n_co:[13,14,15,16,19,20,21,22],l10n_co_po:[15,16],l10n_cr:[13,14,15,16,17,18,19,20,21,22],l10n_cz:16,l10n_de:[13,14,15,16,17,18,19,20,21,22],l10n_de_purchas:16,l10n_de_repair:16,l10n_de_sal:16,l10n_de_skr03:[13,14,15,16,21,22],l10n_de_skr04:[13,14,15,16,21,22],l10n_de_stock:16,l10n_dk:[14,15,16],l10n_do:[13,14,15,16,21,22],l10n_dz:16,l10n_e:[13,14,15,16,17,18,19,20,21,22],l10n_ec:[13,14,15,16,17,18,19,20,21,22],l10n_es_edi_sii:16,l10n_et:[13,14,15,16,19,20,21,22],l10n_eu_servic:[13,14,15,16,21,22],l10n_fi:16,l10n_fr:[13,14,15,16,17,18,19,20,21,22],l10n_fr_certif:[13,14,15,21,22],l10n_fr_fec:[13,14,15,16,21,22],l10n_fr_hr_payrol:[13,14,15,19,20,21,22],l10n_fr_pos_cert:[13,14,15,16,21,22],l10n_fr_rib:[19,20,21],l10n_fr_sale_clos:[13,14,15,21,22],l10n_gcc_invoic:16,l10n_gcc_po:16,l10n_generic_coa:[13,14,15,16,21,22],l10n_gr:[13,14,15,16,17,18,19,20,21,22],l10n_gt:[13,14,15,16,17,18,19,20,21,22],l10n_hk:[14,15,16],l10n_hn:[13,14,15,16,19,20,21,22],l10n_hr:[13,14,15,16,19,20,21,22],l10n_hu:[13,14,15,16,21,22],l10n_id:[14,15,16],l10n_id_efaktur:16,l10n_ie:[15,16],l10n_il:[15,16],l10n_in:[13,14,15,16,17,18,19,20,21,22],l10n_in_hr_payrol:[13,14,15,19,20,21,22],l10n_in_po:[15,16],l10n_in_purchas:[13,14,15,16],l10n_in_purchase_stock:[15,16],l10n_in_sal:[13,14,15,16],l10n_in_sale_stock:[15,16],l10n_in_schedule6:[13,14,15,21,22],l10n_in_stock:[13,14,15,16],l10n_it:[13,14,15,16,17,18,19,20,21,22],l10n_it_edi:[14,15,16],l10n_it_edi_sdicoop:16,l10n_it_stock_ddt:16,l10n_jp:[13,14,15,16,21,22],l10n_latam_bas:[15,16],l10n_latam_invoice_docu:[15,16],l10n_lt:[14,15,16],l10n_lu:[13,14,15,16,17,18,19,20,21,22],l10n_ma:[13,14,15,16,17,18,19,20,21,22],l10n_mn:[14,15,16],l10n_multilang:[13,14,15,16,19,20,21,22],l10n_mx:[13,14,15,16,17,18,19,20,21,22],l10n_nl:[13,14,15,16,17,18,19,20,21,22],l10n_no:[13,14,15,16,21,22],l10n_nz:[13,14,15,16,21,22],l10n_pa:[13,14,15,16,19,20,21,22],l10n_pe:[13,14,15,16,19,20,21,22],l10n_pl:[13,14,15,16,17,18,19,20,21,22],l10n_pt:[13,14,15,16,19,20,21,22],l10n_ro:[13,14,15,16,17,18,19,20,21,22],l10n_sa:[13,14,15,16,21,22],l10n_sa_invoic:16,l10n_sa_po:16,l10n_se:[15,16],l10n_se_ocr:16,l10n_sg:[13,14,15,16,21,22],l10n_si:[13,14,15,16,19,20,21,22],l10n_sk:16,l10n_syscohada:[13,14,15,16,19,20,21,22],l10n_th:[13,14,15,16,17,18,19,20,21,22],l10n_tr:[13,14,15,16,19,20,21,22],l10n_u:[13,14,15,16,19,20,21,22],l10n_ua:[15,16],l10n_ui:[13,14,15,16,19,20,21,22],l10n_uk:[13,14,15,16,17,18,19,20,21,22],l10n_ve:[13,14,15,16,17,18,19,20,21,22],l10n_vn:[13,14,15,16,20,21,22],l10n_za:[14,15,16],l23:12,l794:0,l802:0,lack:11,lang_cod:0,languag:0,larg:0,last:0,later:[0,1],latest:[0,9,11],launchpad:19,layout:[1,8],lead:0,learn:[9,11],leav:[0,6],left:[6,24],legaci:0,length:0,less:6,let:0,level:0,librari:[0,8,10],lifecycl:12,lift:0,lift_constraint:0,like:[0,7],line:[8,11],link:0,link_track:[13,14,15,16,21,22],list:[0,8,11],live:[6,11],load:[0,3,8,11,12,24],load_data:[0,24],localhost:6,locat:[2,6],log:0,logged_queri:0,logic:0,logist:9,longer:0,look:[5,12,16],lookup:8,loop:7,lose:[0,8,24],loss:[0,8],lot:[0,4,6,11],lower:12,luckili:6,lunch:[13,14,15,16,17,18,19,20,21,22],m2m:0,m2o:0,m2o_field_old_model:0,m2o_to_x2m:0,mai:[0,3,8,11],mail:[13,14,15,16,19,20,21,22],mail_bot:[14,15,16],mail_bot_hr:16,mail_client_extens:16,mail_gatewai:[17,18],mail_templ:21,mail_tip:[21,22],main:[6,10],maintain:12,mainten:[13,14,15,16,22],major:[0,4,10,23],make:[0,2,7,9,10,12],manag:[0,3,6,7,8,9,14],mani:6,manipul:11,manner:8,manual:[0,8,11,22],many2mani:0,many2on:[0,8],many2one_refer:0,map:[0,8],map_valu:0,mark:[0,5,8,13,14,15,16,21,22],mark_colnam:0,market:[17,18,19,20,21,22],marketing_campaign:[13,17,18,19,20,21,22],marketing_campaign_crm_demo:[13,17,18,19,20,21,22],marketing_crm:[20,21],mass:22,mass_mail:[6,13,14,15,16,20,21,22],mass_mailing_crm:[14,15,16],mass_mailing_ev:[13,14,15,16],mass_mailing_event_sm:[15,16],mass_mailing_event_track:[13,14,15,16],mass_mailing_event_track_sm:[15,16],mass_mailing_sal:[14,15,16],mass_mailing_security_group:22,mass_mailing_slid:[15,16],mass_mailing_sm:[15,16],master:11,match:8,mean:[0,1],meant:0,mechan:[0,12],membership:[13,14,15,16,17,18,19,20,21,22],memori:0,mention:6,menu:2,merg:[0,13,14,15,16,19,20,21,22],merge_modul:0,messag:[0,18],message_last_post:0,method:[9,11,12],microsoft_account:16,microsoft_calendar:16,microsoft_outlook:[14,15],might:[6,7,8,11],migrat:[0,2,3,4,5,7,8,9,16,20,23,24],migrate_partn:0,migrate_stock_warehous:0,mime:0,minor:0,miss:[0,5,13,14,15,16,21,22],mode:0,model:[0,1,3,8,24],model_id:0,model_nam:0,model_pool:0,model_spec:0,model_table_nam:0,modif:0,modifi:[0,7,24],modul:[0,1,2,3,4,5,7,8,9,10,12,24],module_nam:0,monetari:0,more:[0,2,6,7,11,24],most:[0,6,24],move:[0,8,13,14,20,21],move_field_m2o:0,moved_field:0,mrp:[13,14,15,16,17,18,19,20,21,22],mrp_account:[15,16],mrp_bom_cost:[14,15],mrp_byproduct:[13,14,15,19,20,21,22],mrp_jit:[17,18,19],mrp_landed_cost:16,mrp_oper:[17,18,19,20,21,22],mrp_product_expiri:16,mrp_repair:[13,14,17,18,19,20,21,22],mrp_subcontract:[15,16],mrp_subcontracting_account:[15,16],mrp_subcontracting_dropship:[15,16],mrp_subproduct:[17,18],much:0,multi_compani:[17,18,19,20,21],multipl:[0,8,11],must:[0,11,24],name:[0,6,8,10,11,12],namespec:0,nativ:0,necessari:[0,6,11],necessarili:0,need:[0,2,3,4,6,8,11,18,21,22,24],nest:0,net:19,never:7,new_modul:0,new_nam:0,newer:4,newli:[0,4,8],no_deep:0,no_vers:0,non:[0,7],none:0,normal:0,note:[0,6,10,12,13,14,15,16,19,20,21,22],note_pad:[13,14,15,16,19,20,21,22],noth:[0,5,13,14,15,16,17,18,19,20,21,22],notif:0,noupdat:[0,24],noupdate_chang:[3,24],now:[0,8,13,14,20,21,22],number:0,o2m:0,object:0,obsolet:[0,1],obtain:0,obviou:0,oca:[1,2,3,4,5,6,9,10,11,13,20,21,23],occassion:12,occur:[0,24],occurr:0,odoo:[0,1,2,3,4,6,7,8,9,10,14,20,21,23,24],odoo_referr:16,odoo_referral_port:16,off:6,offici:23,old:[0,1,5,6,8,10,16,24],old_modul:0,old_nam:0,old_valu:0,older:[9,11],one2mani:0,one:[0,5,6,8,10,16,24],onli:[0,1,6,11],open:[0,9,10],openerp:[0,10,11],openupgrad:[1,2,3,4,5,6,7,8,10,12,13,14,15,16,19,20,21,22,24],openupgrade_70:0,openupgrade_80:0,openupgrade_90:0,openupgrade_analysi:[3,5,6,13,14,15,16,19,20,21,22],openupgrade_analysis_work:[3,6],openupgrade_framework:11,openupgrade_general_log:3,openupgrade_legacy_:1,openupgrade_record:[2,3],openupgrade_script:[2,3,6,11],openupgrade_target_vers:11,openupgradelib:[0,6,10,12],oper:0,option:[0,2],order:[0,10,11,21],org:0,organ:12,organis:4,origin:[0,24],origin_field_nam:0,original_nam:0,orm:[0,1],orphan:1,other:[0,2,4,6,8,14,15,16,22],otherwis:0,out:[5,11,16,24],outlook:[17,18],outsid:12,over:[0,7],overcom:6,overrid:0,overview:[8,9,23],overwrit:0,overwritten:24,own:[0,3,9,12],packag:10,pad:[13,14,15,16,17,18,19,20,21,22],pad_project:[13,14,15,16,19,20,21,22],page:[6,9,20],param:0,paramet:[0,2,11],parenthes:8,part:[7,10],parti:[4,23],partial:18,particular:24,partner:[0,8],partner_autocomplet:[14,15,16],partner_autocomplete_address_extend:[14,15,16],partner_field:0,partner_id:0,pass:[0,11,24],past:0,path:[0,2,10,11],payment:[13,14,15,16,20,21,22],payment_adyen:[13,14,15,16,20,21,22],payment_alipai:[15,16],payment_author:[13,14,15,16,21,22],payment_buckaroo:[13,14,15,16,20,21,22],payment_fix_register_token:16,payment_ingenico:[15,16],payment_odoo_by_adyen:16,payment_ogon:[13,14,15,20,21,22],payment_payp:[13,14,15,16,20,21,22],payment_payulatam:[15,16],payment_payumonei:[13,14,15,16,22],payment_sip:[13,14,15,16,21,22],payment_strip:[13,14,15,16,22],payment_stripe_checkout_webhook:16,payment_stripe_sca:[13,14,15,22],payment_test:[15,16],payment_transf:[13,14,15,16,20,21,22],payrol:15,payroll_account:15,per:[0,3,8,12,23],perform:[0,2],period:0,permiss:22,pg:0,phone_valid:[13,14,15,16],pick:6,pip:[0,11,12],place:[0,2,3],plain:0,plan:[6,21],platform:10,pleas:[4,5,10,12,13,14,15,16,19,20,21,22],plugin:[19,20],plugin_outlook:[19,20],plugin_thunderbird:[19,20],pocalyps:6,point:[0,11],point_of_sal:[13,14,15,16,17,18,19,20,21,22],pool:0,pooler:0,popul:0,portal:[13,14,15,16,19,20,21,22],portal_anonym:19,portal_claim:[19,20,21],portal_crm:19,portal_ev:19,portal_gamif:[13,20,21,22],portal_hr_employe:19,portal_project:[19,20,21],portal_project_issu:[19,20,21],portal_r:16,portal_sal:[13,19,20,21,22],portal_stock:[13,19,20,21,22],pos_adyen:[15,16],pos_cach:[13,14,15,16,21,22],pos_cash_rond:14,pos_cash_round:[15,16],pos_data_drink:[13,14,22],pos_discount:[13,14,15,16,21,22],pos_epson_print:[15,16],pos_epson_printer_restaur:[15,16],pos_hr:[15,16],pos_kitchen_print:[15,16],pos_mercuri:[13,14,15,16,21,22],pos_reprint:[13,14,15,16,21,22],pos_restaur:[13,14,15,16,21,22],pos_restaurant_adyen:16,pos_sal:[13,14,15,16],pos_six:[15,16],posibl:8,possibl:[0,8],post:[0,3,4,6,8,10,12,24],postgresql:[0,1],potenti:0,power:6,pr:9,pre:[0,3,6,8,12],prefer:0,prefix:1,present:0,preserv:[0,18],presum:0,prevent:0,previou:[0,3,11,24],previous:0,previs:0,print:21,probabl:[0,11,12],problem:0,process:[0,3,4,7,9,11,17,18,19],procur:[13,17,18,19,20,21,22],procurement_jit:[13,14,15,16,20,21,22],procurement_jit_stock:21,product:[7,13,14,15,16,17,18,19,20,21,22,24],product_email_templ:[13,14,15,16,20,21,22],product_expiri:[13,14,15,16,17,18,19,20,21,22],product_extend:[13,14,20,21,22],product_manufactur:[17,18,19],product_margin:[13,14,15,16,17,18,19,20,21,22],product_matrix:[15,16],product_product:0,product_templ:0,product_uo:[21,22],product_visible_discount:[17,18,19,20,21,22],profession:4,profile_tool:[17,18],progress:[5,13,14,15,16,19,20,21,22],project:[1,4,10,13,14,15,16,17,18,19,20,21,22,23],project_caldav:[17,18],project_gtd:[17,18,19],project_issu:[13,17,18,19,20,21,22],project_issue_sheet:[13,17,18,19,20,21,22],project_long_term:[17,18,19],project_mailg:[17,18],project_messag:[17,18],project_mrp:[17,18,19,20],project_plan:[17,18],project_retro_plan:[17,18],project_scrum:[17,18],project_task:13,project_timesheet:[17,18,19,20,21,22],project_timesheet_holidai:[13,14,15,16],properli:0,properti:[0,8],propos:[4,13,14,15,19,20,21,22],proprietari:12,protect:1,provid:[0,4,10,11,23],pull:[5,6,10,13,14,15,16,20,21,22],purchas:[13,14,15,16,17,18,19,20,21,22],purchase_analytic_distribut:21,purchase_analytic_plan:[17,18,19,20,21],purchase_double_valid:[17,18,19,20,21],purchase_mrp:[13,14,15,16,22],purchase_product_matrix:[15,16],purchase_requisit:[13,14,15,16,17,18,19,20,21,22],purchase_requisition_stock:[15,16],purchase_stock:[14,15,16],pure:0,purg:1,purpos:[0,1,6],put:0,py:[0,3,6,12],python:[3,6,12],q:6,queri:0,question:0,quick_request:0,quot:0,rais:0,ran:0,rate:[13,14,15,16,21,22],rather:11,rating_project:[13,14,21,22],rating_project_issu:[13,21,22],raw:0,re:[0,8,24],reactiv:0,reactivate_workflow_transit:0,read:[0,6,11,20],readi:[5,16],real:13,realli:11,reason:[0,12],receiv:0,recent:2,recommend:[0,11],recomput:7,record:[0,2,3,24],recordset:0,recov:15,recreat:[0,24],reduc:6,ref_spec_act:0,refer:[0,1,6,8,9,10,11],regist:0,registri:0,registry_new_model:0,registry_old_model:0,regular:[0,7],reiniti:0,reintroduc:1,rel:0,relat:[0,8],relation_column:0,releas:[0,2,3,4,5,8,10,12,13,14,15,16,21,22,23,24],reli:12,remain:8,remov:[0,1,8,20,24],remove_tables_fk:0,renam:[0,8,13,14,15,16,20,21,24],rename_column:0,rename_field:0,rename_model:0,rename_properti:0,rename_t:0,rename_xmlid:[0,24],repair:[14,15,16],repeat:[9,10],replac:[0,14,15],replace_account_typ:0,report:[0,4,8,11,13,20,21,22],report_design:[17,18],report_intrastat:[13,14,17,18,19,20,21,22],report_webkit:[17,18,19,20,21,22],report_webkit_sampl:[17,18],repositori:[3,11],repres:0,represent:24,request:[0,10],requir:[0,6,8,22],rerun:6,res_group:0,res_id:0,res_nam:0,reset:[0,6],resourc:[0,9,13,14,15,16,17,18,19,20,21,22],respect:0,restart:9,restor:[1,6],result:[0,4],resurfac:0,retain:0,retriev:0,review:[3,5,9,13,14,15,16,18,19,20,21,22,24],right:[0,3],robust:7,round:0,routin:0,row:0,rule:8,run:[0,1,3,5,6,7,9,10,12,16],s:[0,1,3,5,8,12,13,14,15,16,22],sa:10,safe_unlink:0,safest:0,sale:[9,13,14,15,16,17,18,19,20,21],sale_analytic_distribut:21,sale_analytic_plan:[17,18,19,20,21],sale_coupon:[15,16],sale_coupon_deliveri:[15,16],sale_crm:[13,14,15,16,17,18,19,20,21,22],sale_expens:[13,14,15,16,21,22],sale_journ:[17,18,19,20,21],sale_layout:[17,18,20,21,22],sale_manag:[13,14,15,16],sale_margin:[13,14,15,16,17,18,19,20,21,22],sale_mrp:[13,14,15,16,17,18,19,20,21,22],sale_order_back2draft:22,sale_order_d:[13,14,17,18,19,20,21,22],sale_pay:[13,14],sale_product_configur:[15,16],sale_product_matrix:[15,16],sale_project:16,sale_purchas:[14,15,16],sale_purchase_stock:16,sale_quotation_build:[14,15,16],sale_servic:[20,21,22],sale_service_r:[13,14,22],sale_stock:[13,14,15,16,19,20,21,22],sale_stock_margin:16,sale_timesheet:[13,14,15,16,21,22],sale_timesheet_edit:16,sale_timesheet_purchas:[15,16],sales_team:[13,14,15,16,20,21,22],same:[0,6,8,12,14,21],save:[0,6],scope:0,scrip:9,script:[0,1,2,3,4,5,7,8,9,10,12,16,23,24],search:9,second:[0,8,10],section:8,secur:8,see:[0,1,5,6,8,12,13,14,15,16,19,20,21,22,23],select:[0,2,6,8,11],sens:0,sent:18,separ:[8,10,11],sequenc:0,serial:0,server:[1,2,3,7,11,24],set:[0,2,3,8,11],set_default:[0,8],set_message_last_post:0,set_parent_thread_id:0,set_partner_id_from_partner_address_id:0,set_xml_ids_noupdate_valu:0,sever:11,share:[13,14,15,17,18,19,20,21,22],sheet:13,shortcut:20,should:[0,6,8,9,23,24],show:6,shown:0,side:0,signal:8,signatur:0,significantli:6,simpl:[0,6,8],simpli:[0,6],sinc:[0,6],singl:[0,4],situat:[6,8],skip:[0,11],skip_no_result:0,slightli:7,slow:0,sm:[14,15,16],snailmail:[14,15,16],snailmail_account:[14,15,16],so:[0,7,8,11,24],social:9,social_media:[14,15,16],softwar:4,sold:10,some:[0,3,6,11],sourc:[0,10,11],source_column:0,source_field:0,source_model:0,source_t:0,space:1,special:0,specif:0,specifi:0,sponsor:10,sql:0,sql_constraint:0,stabl:1,stage:[0,11,12],standard:0,stanza:11,start:[0,2,3,5,6,11,16],state:[0,6],stateg:4,statement:0,statist:3,statu:[13,14,15,16,17,18,19,20,21,22],status:[5,16],step:[0,2,6,12],still:[0,1,12],stock:[0,9,13,15,16,17,18,19,20,21,22],stock_account:[13,14,15,16,20,21,22],stock_calendar:[13,21,22],stock_dropship:[13,14,15,16,20,21,22],stock_invoice_directli:[17,18,19,20,21],stock_landed_cost:[13,14,15,16,20,21,22],stock_loc:[17,18,19],stock_no_autopick:[17,18,19],stock_picking_batch:[13,14,15,16],stock_picking_wav:[13,20,21,22],stock_plan:[17,18],stock_putaway_product:14,stock_sm:[15,16],stock_zebra:[14,15],stop:[6,8,11],store:0,str:0,strategi:1,string:0,stuff:0,sub:0,subdirectori:[3,12],subscript:[13,17,18,19,20,21,22],subsequ:[0,2,23],substitut:0,successfulli:6,suffer:[14,15,16,22],suit:10,suitabl:0,superuser_id:0,support:[0,10,11],sure:[0,11],survei:[13,14,15,16,17,18,19,20,21,22],survey_crm:[13,14,15,20,21,22],surviv:24,systemat:9,t:[0,9,11],tab:19,tabl:[0,1,5,8,16],table_exist:0,table_nam:0,table_spec:0,take:[0,24],taken:[0,14,15,16,22],target:[0,2,3,8,11],target_column:0,task:[0,6],technic:[4,9],techniqu:0,technolog:4,templat:[0,18],temporari:8,tent:21,terminolog:10,test:[0,6],test_base_autom:16,test_event_ful:16,test_mail:[14,15,16],test_mail_ful:[15,16],test_mass_mail:[14,15,16],test_websit:[14,15,16],test_website_slides_ful:[15,16],test_xlsx_export:[15,16],text:0,than:[3,11,12],thank:4,thei:[0,1,8,11,21,24],them:[0,7,8,11,24],theme_bootswatch:[13,14,15,16,21,22],theme_default:[13,14,15,16,21,22],theoret:0,therefor:24,thi:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,20,21,22,23,24],thing:0,those:[0,6],though:[0,7],three:12,through:[0,6],thu:[0,8],thunderbird:[17,18],tidi:1,time:[0,6,8,11],timesheet:13,timezon:0,tinyerp:12,titl:8,todo:[0,8],too:0,tool:[0,1,3,4,9,12],transact:0,transfer:0,transform:[0,14,15,16,22],transifex:[13,14,15,16],transit:0,transition_condit:0,translat:0,translations_onli:0,treat:[7,11],tree:[13,14,20,21],trial:9,trigger:[0,6],truncat:0,trunk:[13,14,15,19,20,21,22],tupl:0,two:[2,3,10,24],txt:[3,5,6,13,14,15,16,19,20,21,22],type:[0,8,24],type_spec:0,typic:[0,8],u:6,ui:24,uid:0,umbrella:[13,20,21],uncov:11,under:[3,11,13,20,21,24],underestim:6,understand:6,unexpect:6,uniqu:0,unit:0,unknown:7,unleash:6,unlink:[0,24],until:7,uom:[14,15,16],up:[1,2,11],updat:[0,6,8,11,24],update_alias:0,update_field_multilang:0,update_module_moved_field:0,update_module_nam:0,update_workflow_workitem:0,upgrad:[0,1,2,4,7,8,9,10,12],upgrade_analysi:[2,3],upstream:0,us:[0,1,2,3,4,10,11,12,24],usag:0,use_env:0,use_orm:0,user:[0,4,22],user_field_nam:0,user_id:0,users_ldap:[17,18],usual:[0,6],utm:[13,14,15,16,21,22],v12:0,v8:0,vacuum:1,val:0,valid:0,valu:[0,7,8,11],valuat:13,vari:0,variabl:[0,11],veri:0,version:[0,1,2,6,7,9,11,12,23,24],via:0,view:[0,2],wa:[0,3,6,12,20],wai:[0,1,6,8,24],want:[0,6,7,9,11,24],warehous:9,warn:[0,17,18,19,20,21,22],warn_possible_dataloss:0,we:[0,4,7],web:[6,11,13,14,15,16,20,21,22],web_analyt:[19,20,21,22],web_api:[20,21],web_calendar:[13,20,21,22],web_diagram:[13,14,15,16,20,21,22],web_editor:[13,14,15,16,21,22],web_gantt:[20,21],web_graph:[20,21],web_kanban:[13,20,21,22],web_kanban_gaug:[13,14,15,16,20,21,22],web_kanban_sparklin:[20,21],web_linkedin:[19,20,21],web_livechat:[17,18],web_plann:[13,14,21,22],web_settings_dashboard:[13,14,15,21,22],web_shortcut:[19,20],web_test:[20,21],web_tests_demo:[20,21],web_tip:[21,22],web_tour:[13,14,15,16,22],web_unsplash:[14,15,16],web_uservoic:[17,18],web_view_editor:[20,21,22],websit:[0,13,14,15,16,20,21,22],website_blog:[13,14,15,16,20,21,22],website_certif:[20,21],website_crm:[13,14,15,16,20,21,22],website_crm_claim:[21,22],website_crm_livechat:[15,16],website_crm_partner_assign:[13,14,15,16,20,21,22],website_crm_phone_valid:[13,14,15],website_crm_sm:[15,16],website_custom:[13,14,15,16,20,21,22],website_ev:[13,14,15,16,20,21,22],website_event_crm:16,website_event_crm_quest:16,website_event_meet:16,website_event_meet_quiz:16,website_event_quest:[13,14,15,16,21,22],website_event_sal:[13,14,15,16,20,21,22],website_event_track:[13,14,15,16,20,21,22],website_event_track_exhibitor:16,website_event_track_l:16,website_event_track_live_quiz:16,website_event_track_quiz:16,website_form:[13,14,15,16,21,22],website_form_project:[13,14,15,16],website_forum:[13,14,15,16,20,21,22],website_forum_doc:[13,14,20,21,22],website_gengo:[13,14,15,16,20,21,22],website_google_map:[13,14,15,16,20,21,22],website_hr:[13,14,15,20,21,22],website_hr_recruit:[13,14,15,16,20,21,22],website_instantclick:21,website_issu:[13,21,22],website_jitsi:16,website_link:[13,14,15,16,21,22],website_livechat:[13,14,15,16,20,21,22],website_mail:[13,14,15,16,20,21,22],website_mail_channel:[13,14,15,16,21,22],website_mail_group:[20,21],website_mass_mail:[13,14,15,16,21,22],website_membership:[13,14,15,16,20,21,22],website_partn:[13,14,15,16,20,21,22],website_pay:[13,14,15,16,20,21,22],website_port:[13,21,22],website_portal_sal:[13,21,22],website_profil:[15,16],website_project:[13,20,21,22],website_project_issu:[13,21,22],website_project_issue_sheet:[13,21,22],website_project_timesheet:[13,22],website_quot:[13,14,20,21,22],website_r:[13,14,15,16],website_rating_project:[13,14],website_rating_project_issu:[13,21,22],website_report:[20,21],website_sal:[13,14,15,16,20,21,22],website_sale_comparison:[13,14,15,16],website_sale_coupon:[15,16],website_sale_coupon_deliveri:[15,16],website_sale_deliveri:[13,14,15,16,20,21,22],website_sale_digit:[13,14,15,16,21,22],website_sale_link_track:[14,15],website_sale_manag:[13,14,15,16],website_sale_opt:[13,14,21,22],website_sale_product_configur:[15,16],website_sale_slid:[15,16],website_sale_stock:[13,14,15,16,21,22],website_sale_stock_opt:[13,14],website_sale_stock_product_configur:[15,16],website_sale_wishlist:[13,14,15,16],website_slid:[13,14,15,16,21,22],website_slides_forum:[15,16],website_slides_survei:[15,16],website_sm:[15,16],website_survei:[14,15],website_theme_instal:[13,14,15,16,21,22],website_twitt:[13,14,15,16,20,21,22],well:[0,3,10,11],went:0,were:[0,3,6,8,12],what:6,when:[0,1,3,6,7,8,11,12,13,24],whenev:[0,6],where:[0,6,12],whether:0,which:[0,1,2,3,6,8,11,12,24],whole:0,whose:0,wiki:[17,18],wiki_faq:[17,18],wiki_quality_manu:[17,18],wiki_sale_faq:[17,18],within:[0,4,6],without:[0,2,6,8],wizard:2,won:0,word:1,work:[0,4,5,6,7,11,13,14,15,16,19,20,21,22],workflow:[0,7,9],wors:0,worth:0,would:[0,7],write:[0,2,4,6,21],written:0,www:0,xml:[0,3,8,9],xml_id:0,xmlid:0,xmlids_spec:0,ye:[0,7],yet:[0,5,11,13,16],yield:0,yml:0,you:[0,1,2,3,4,5,6,7,8,9,10,11,12,14,15,16,22,24],your:[0,1,3,4,7,8,9,12,13,14,15,19,20,21,22,24],yourself:11},titles:["OpenUpgrade API","After migration","How to run your own analysis","Database analysis","Community involvement","<no title>","Migration script development","Development FAQ","Fields analysis format","Welcome to OpenUpgrade\u2019s documentation!","Introduction","Running the migration","The Odoo Migration Manager","Module coverage 10.0 -> 11.0","Module coverage 11.0 -> 12.0","Module coverage 12.0 -> 13.0","Module coverage 13.0 -> 14.0","Module coverage 5.0 -> 6.0","Module coverage 6.0 -> 6.1","Module coverage 6.1 -> 7.0","Module coverage 7.0 -> 8.0","Module coverage 8.0 -> 9.0","Module coverage 9.0 -> 10.0","Module coverage","XML IDs"],titleterms:{"0":[0,13,14,15,16,17,18,19,20,21,22],"1":[11,18,19],"10":[13,22],"11":[13,14],"12":[14,15],"13":[15,16],"14":16,"2":11,"3":11,"4":11,"5":[11,17],"6":[17,18,19],"7":[0,19,20],"8":[0,20,21],"9":[0,21,22],The:[6,12],account:[14,22],adjust:11,after:1,all:6,analysi:[2,3,8],api:0,check:11,code:[6,11],commun:4,configur:11,content:3,contribut:10,copi:11,coverag:[11,13,14,15,16,17,18,19,20,21,22,23],data:11,databas:[3,10,11],depend:11,develop:[6,7],document:9,earlier:3,error:6,exist:6,fail:6,faq:7,field:8,file:11,financi:14,fix:11,format:8,from:[6,11],gener:0,get:11,how:2,id:24,indic:9,instal:11,instead:6,introduct:10,invoic:22,involv:4,learn:6,logist:14,make:11,manag:12,method:0,migrat:[1,6,10,11,12],miss:11,modul:[6,11,13,14,15,16,17,18,19,20,21,22,23],obsolet:11,oca:[14,15,16,22],odoo:[11,12],older:10,open:6,openupgrad:[0,9,11],openupgradelib:11,option:11,overview:6,own:2,pr:6,process:6,repeat:11,resourc:6,restart:6,review:6,run:[2,11],s:9,sale:22,scrip:6,script:[6,11],social:22,stock:14,systemat:6,tabl:9,tool:14,trial:6,upgrad:[6,11],version:[3,10],warehous:14,welcom:9,workflow:22,write:11,xml:24,your:[2,6,10,11]}}) \ No newline at end of file From 9a9dbd90d50fabe13b3754fca8942e9252048031 Mon Sep 17 00:00:00 2001 From: Ismaw34 Date: Wed, 13 Apr 2022 11:04:32 +0200 Subject: [PATCH 110/403] Updated website to allow multi-websites --- openupgrade_scripts/scripts/website/14.0.1.0/post-migration.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openupgrade_scripts/scripts/website/14.0.1.0/post-migration.py b/openupgrade_scripts/scripts/website/14.0.1.0/post-migration.py index d8121dd57854..eb993b65cb28 100644 --- a/openupgrade_scripts/scripts/website/14.0.1.0/post-migration.py +++ b/openupgrade_scripts/scripts/website/14.0.1.0/post-migration.py @@ -7,7 +7,8 @@ def website_cookie_notice_post_migration(env): cookie_message = env.ref("website.cookie_message", raise_if_not_found=False) if cookie_message: websites = env["website"].search([]) - websites.write({"cookies_bar": True}) + for website in websites: + website.write({"cookies_bar": True}) env.cr.execute( """WITH keys AS ( SELECT key From af21bf38f05e464b6f2831b6b364e693652b5199 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 13 Apr 2022 14:59:48 +0000 Subject: [PATCH 111/403] [UPD] HTML documentation --- docs/API.html | 12 ++++++++++++ docs/genindex.html | 6 ++++-- docs/objects.inv | Bin 1302 -> 1308 bytes docs/searchindex.js | 2 +- 4 files changed, 17 insertions(+), 3 deletions(-) diff --git a/docs/API.html b/docs/API.html index ee329d28f64f..5d12d5a1154f 100644 --- a/docs/API.html +++ b/docs/API.html @@ -550,6 +550,18 @@

OpenUpgrade API +
+openupgradelib.openupgrade.merge_models(cr, old_model, new_model, ref_field)
+

Update model references for models that have merged to an existing model. +:param old_model: old model +:param new_model: destination model +:param ref_field: name of the field in new model that references +the id of the old model. Usually created before calling this method.

+

WARNING: This method doesn’t move the records from old_model to new_model +tables. You should have to do that previously in the migration scripts.

+
+
openupgradelib.openupgrade.message(cr, module, table, column, message, *args, **kwargs)
diff --git a/docs/genindex.html b/docs/genindex.html index dea76a5f3e9a..06cbce158b5c 100644 --- a/docs/genindex.html +++ b/docs/genindex.html @@ -157,11 +157,15 @@

M

  • m2o_to_x2m() (in module openupgradelib.openupgrade)
  • map_values() (in module openupgradelib.openupgrade) +
  • +
  • merge_models() (in module openupgradelib.openupgrade)
  • message() (in module openupgradelib.openupgrade)
  • migrate() (in module openupgradelib.openupgrade)
  • + + - - diff --git a/docs/objects.inv b/docs/objects.inv index fd6063a629871385ac8255c7e06ed07a7295a831..1f2cfee1aa99fcb7566223168b010d1a4ff57931 100644 GIT binary patch delta 1001 zcmV%bvBxzj$j;(f;r8+XeJ9O zg|2F@T2=zKm!MoUvThlT)6PLq;IOKZPDrkH(X40YpsFQz7y}hI2PU=*o*FLwsGHh4 z1HAfA=mu&j3VfW4EjIIm&>V0IyYGvg7~@?C5wR04lpv|1k_oNPFkkr4C0Y-E}dR;m-=zC@It-mVn!730sc07CQq$ zN0nttH+6Rz==Ow2U^lJv?wrAkkeD;CWC2Fi2=hrbv)~v5eHhGtB%OB+{~+*!7t4F* zMzLC3EBq4plTG4F9E{y&Gs-$tcV~UgjZtei5)_(xEJkcBdO|I3Rm)JT3$rUMabajas&zHB0O4Tn280;->8@OYR&m z_EmH-=-Iv~;sp)|u_$z-@W$Gc5d#x{hrc(_nD8xLz!_aPJZ7MI)kOL`Z%og|gexvv z3nLwwsQ9$YdDY%%p`f}=dmzgMBOQF=<{|LFa`k;iZ#FzQG(t;mJzUd;gg9 z-2#2k;}?)Pq2SkT5H5fI{)bJmbK_m?2Kfb2oY7+n8cyHA$Fk|7GdTwgp6iYaIa>11 z8VT@2qm(Zq+#Uu2cYdmH@V;Vyn*xP4;{1gAPo>s_)p?-y1ao_0zUp>yY6#0pn*z-o z?FTl`vPGU}qtB08M$%J&rD)I6#rrhRud*{LN5OIuMJ*Rlc|a`(s3i)nCsEXL0ksUM z>jCN-1#c!%)N%oJ9Z+w2)Z1)vGX?7G)0nqJx#=M{*g2noboOb;%?Xk=pCS3;cFL2^ zehHF$$ZhY*ZMIlVK|1?1YPYsuT)J<)j z0bczlbOW^%1wPKjmY#v$`Clh0eEuz#1RNzt&wJM9u$A6n!<7{tWTUBn5|Bt4e&Wt! z87QT0yB(D5sR7f@K#1twrdn#h zBrnU@%&&Oeoma5{u$J$CV%M<}`0Jw8`Uu^zgcA`7G5^bsWgs}`d=6W-J;ZZ-mds4u z4l?U%)G@*qJd;u5W`vi3b{>VMb{-?#^%0qN=S7#8Gw)L!j7kaSlWJzQFb4WCm`OVC8va3l;O#7y_sorAwYFCH zCGf|R#Fsc2yUk|QWT*}YboULb$$$p5C$eGI*H8^H;NmyrLmX zZk=BQtao%*Q%1WJhT9#GJvbiM1svW7xs8olww^Uh>+D>^ZG_^c?aM;$9541&bS3B6 zzM|m;4zVb7qwu z-k6?^30GXU7DhTUQU7nT9&tJ~jY?bHm{dQju7j}2>EUy=uq6M0$-cow?KM~)SB(;Q zN)AM4BdNYQ_rWSb%Om*7Mkw151V4=#=95>`2|v((PIi4PT#@DvI)_doC5~Wb;pGqE%|4S1o)v*%2xnx z4}*X^KUFw*Uv5o-x;Encg!)gV)_;T5d7$UMEz=$4f>1)4e94{V-gi#*Rp zpC7f1q^AH&(VnG?_i3JAWoJ~5g5@NNS}vgS4z(PhmMFNML{ZBH)Urce4^Y=Acr%Hj zmJ6us4)vx-z0DRkQ=nj<#=IrUO%J)j&iMo+*ry>kCrEyV Date: Tue, 26 Apr 2022 12:43:31 +0200 Subject: [PATCH 112/403] [FIX] pre-commit --- .github/workflows/pre-commit.yml | 15 +++++++++++- .github/workflows/test.yml | 6 ++++- .pre-commit-config.yaml | 24 +++++++++---------- .../odoo/addons/base/models/ir_model.py | 4 ++-- .../odoo/addons/base/models/ir_ui_view.py | 4 ++-- openupgrade_framework/odoo_patch/odoo/api.py | 2 +- .../odoo_patch/odoo/modules/graph.py | 2 +- .../scripts/base/14.0.1.3/end-migration.py | 2 +- .../scripts/project/14.0.1.1/pre-migration.py | 2 +- 9 files changed, 39 insertions(+), 22 deletions(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index ca204e713ecd..fe59793f3daa 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -2,7 +2,12 @@ name: pre-commit on: pull_request: + branches: + - "14.0*" push: + branches: + - "14.0" + - "14.0-ocabot-*" jobs: pre-commit: @@ -14,4 +19,12 @@ jobs: # The pylint-odoo version we use here does not support python 3.10 # https://github.com/OCA/oca-addons-repo-template/issues/80 python-version: "3.9.7" - - uses: pre-commit/action@v2.0.0 + - uses: pre-commit/action@v2.0.3 + - name: Check that all files generated by pre-commit are in git + run: | + newfiles="$(git ls-files --others --exclude-from=.gitignore)" + if [ "$newfiles" != "" ] ; then + echo "Please check-in the following files:" + echo "$newfiles" + exit 1 + fi diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 00b4afe24901..84bebb22a8e6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,8 +7,12 @@ name: Test OpenUpgrade migration on: push: - branches: ["14.0*"] + branches: + - "14.0" + - "14.0-ocabot-*" pull_request: + branches: + - "14.0*" jobs: test: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f51566b3aa2d..6b0fcb8d5154 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ exclude: | # Files and folders generated by bots, to avoid loops ^setup/|/static/description/index\.html$| # We don't want to mess with tool-generated files - .svg$| + .svg$|/tests/([^/]+/)?cassettes/|^.copier-answers.yml$|^.github/| # Maybe reactivate this when all README files include prettier ignore tags? ^README\.md$| # Library files can have extraneous formatting (even minimized) @@ -40,11 +40,11 @@ repos: - id: autoflake args: ["-i", "--ignore-init-module-imports"] - repo: https://github.com/psf/black - rev: 20.8b1 + rev: 22.3.0 hooks: - id: black - repo: https://github.com/pre-commit/mirrors-prettier - rev: v2.1.2 + rev: v2.4.1 hooks: - id: prettier name: prettier + plugin-xml @@ -62,7 +62,7 @@ repos: - --color - --fix - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.2.0 + rev: v4.0.1 hooks: - id: trailing-whitespace # exclude autogenerated files @@ -84,11 +84,11 @@ repos: - id: mixed-line-ending args: ["--fix=lf"] - repo: https://github.com/asottile/pyupgrade - rev: v2.7.2 + rev: v2.29.0 hooks: - id: pyupgrade - - repo: https://github.com/PyCQA/isort - rev: 5.5.1 + - repo: https://github.com/timothycrosley/isort + rev: 5.9.3 hooks: - id: isort name: isort except __init__.py @@ -100,19 +100,19 @@ repos: hooks: - id: setuptools-odoo-make-default - repo: https://gitlab.com/PyCQA/flake8 - rev: 3.8.3 + rev: 3.9.2 hooks: - id: flake8 name: flake8 except __init__.py exclude: /__init__\.py$ - additional_dependencies: ["flake8-bugbear==20.1.4"] + additional_dependencies: ["flake8-bugbear==21.9.2"] - id: flake8 name: flake8 only __init__.py args: ["--extend-ignore=F401"] # ignore unused imports in __init__.py files: /__init__\.py$ - additional_dependencies: ["flake8-bugbear==20.1.4"] + additional_dependencies: ["flake8-bugbear==21.9.2"] - repo: https://github.com/PyCQA/pylint - rev: pylint-2.5.3 + rev: v2.11.1 hooks: - id: pylint name: pylint with optional checks @@ -121,7 +121,7 @@ repos: - --exit-zero verbose: true additional_dependencies: &pylint_deps - - pylint-odoo==3.5.0 + - pylint-odoo==5.0.5 - id: pylint name: pylint with mandatory checks args: diff --git a/openupgrade_framework/odoo_patch/odoo/addons/base/models/ir_model.py b/openupgrade_framework/odoo_patch/odoo/addons/base/models/ir_model.py index 281dc076e32c..cdd8d85e0a99 100644 --- a/openupgrade_framework/odoo_patch/odoo/addons/base/models/ir_model.py +++ b/openupgrade_framework/odoo_patch/odoo/addons/base/models/ir_model.py @@ -15,7 +15,7 @@ def _drop_table(self): - """ Never drop tables """ + """Never drop tables""" for model in self: if self.env.get(model.model) is not None: openupgrade.message( @@ -32,7 +32,7 @@ def _drop_table(self): def _drop_column(self): - """ Never drop columns """ + """Never drop columns""" for field in self: if field.name in models.MAGIC_COLUMNS: continue diff --git a/openupgrade_framework/odoo_patch/odoo/addons/base/models/ir_ui_view.py b/openupgrade_framework/odoo_patch/odoo/addons/base/models/ir_ui_view.py index 0be9b125c301..acb6f077a7d5 100644 --- a/openupgrade_framework/odoo_patch/odoo/addons/base/models/ir_ui_view.py +++ b/openupgrade_framework/odoo_patch/odoo/addons/base/models/ir_ui_view.py @@ -12,7 +12,7 @@ @api.constrains("arch_db") def _check_xml(self): - """ Mute warnings about views which are common during migration """ + """Mute warnings about views which are common during migration""" with mute_logger("odoo.addons.base.models.ir_ui_view"): return View._check_xml._original_method(self) @@ -48,7 +48,7 @@ def handle_view_error( def _postprocess_view(self, node, model, validate=True, editable=True): - """ Don't validate views, handle_view_error is mutted""" + """Don't validate views, handle_view_error is mutted""" return View._postprocess_view._original_method( self, node, model, validate=False, editable=editable ) diff --git a/openupgrade_framework/odoo_patch/odoo/api.py b/openupgrade_framework/odoo_patch/odoo/api.py index 34a8d78de328..57c10abf15ce 100644 --- a/openupgrade_framework/odoo_patch/odoo/api.py +++ b/openupgrade_framework/odoo_patch/odoo/api.py @@ -8,7 +8,7 @@ class FakeRecord: - """Artificial construct to handle delete(records) submethod """ + """Artificial construct to handle delete(records) submethod""" def __new__(cls): return object.__new__(cls) diff --git a/openupgrade_framework/odoo_patch/odoo/modules/graph.py b/openupgrade_framework/odoo_patch/odoo/modules/graph.py index 5e454e5c5aa8..19486be79a26 100644 --- a/openupgrade_framework/odoo_patch/odoo/modules/graph.py +++ b/openupgrade_framework/odoo_patch/odoo/modules/graph.py @@ -5,7 +5,7 @@ def update_from_db(self, cr): - """ Prevent reloading of demo data from the new version on major upgrade """ + """Prevent reloading of demo data from the new version on major upgrade""" Graph.update_from_db._original_method(self, cr) if ( "base" in self diff --git a/openupgrade_scripts/scripts/base/14.0.1.3/end-migration.py b/openupgrade_scripts/scripts/base/14.0.1.3/end-migration.py index 6079a21f33f8..48b954c69104 100644 --- a/openupgrade_scripts/scripts/base/14.0.1.3/end-migration.py +++ b/openupgrade_scripts/scripts/base/14.0.1.3/end-migration.py @@ -5,5 +5,5 @@ @openupgrade.migrate() def migrate(env, version): - """ Call disable_invalid_filters in every edition of openupgrade """ + """Call disable_invalid_filters in every edition of openupgrade""" openupgrade.disable_invalid_filters(env) diff --git a/openupgrade_scripts/scripts/project/14.0.1.1/pre-migration.py b/openupgrade_scripts/scripts/project/14.0.1.1/pre-migration.py index e8a7271c0217..1a01fc1cb990 100644 --- a/openupgrade_scripts/scripts/project/14.0.1.1/pre-migration.py +++ b/openupgrade_scripts/scripts/project/14.0.1.1/pre-migration.py @@ -13,7 +13,7 @@ def _set_default_rating_status_period(env): def fast_fill_stored_calculated_fields(env): - """ Faster way """ + """Faster way""" openupgrade.logged_query( env.cr, """ From 044172b7c92b7af657eb69ba2708622238a5489b Mon Sep 17 00:00:00 2001 From: Roy Le Date: Wed, 16 Mar 2022 18:10:06 +0700 Subject: [PATCH 113/403] [FIX] account: correct payment's currency Steps: 1. Create a customer invoice with USD 2. Register payment with EUR 3. A payment with EUR and move with USD are created 4. When migrated to add move_id field to account_payment, then payment's currency is not correct, because payment's currency is inherit from move --- .../scripts/account/14.0.1.1/pre-migration.py | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/openupgrade_scripts/scripts/account/14.0.1.1/pre-migration.py b/openupgrade_scripts/scripts/account/14.0.1.1/pre-migration.py index f3eb73617025..d774b513ca90 100644 --- a/openupgrade_scripts/scripts/account/14.0.1.1/pre-migration.py +++ b/openupgrade_scripts/scripts/account/14.0.1.1/pre-migration.py @@ -158,6 +158,7 @@ def copy_fields(env): ("journal_id", None, None), ("name", None, None), ("payment_date", None, None), + ("currency_id", None, None), ], }, ) @@ -274,16 +275,6 @@ def add_move_id_field_account_bank_statement_line(env): def add_move_id_field_account_payment(env): - openupgrade.logged_query( - env.cr, - """ - UPDATE account_payment ap - SET currency_id = COALESCE(aj.currency_id, rc.currency_id) - FROM account_journal aj - JOIN res_company rc ON aj.company_id = rc.id - WHERE ap.journal_id = aj.id - """, - ) if not openupgrade.column_exists(env.cr, "account_payment", "move_id"): openupgrade.logged_query( env.cr, @@ -354,6 +345,17 @@ def add_move_id_field_account_payment(env): WHERE am.id = ap.move_id AND am.payment_id IS NULL """, ) + openupgrade.logged_query( + env.cr, + """ + UPDATE account_move am + SET currency_id = ap.{0} + FROM account_payment ap + WHERE am.id = ap.move_id AND am.currency_id != ap.{0} + """.format( + openupgrade.get_legacy_name("currency_id"), + ), + ) def add_edi_state_field_account_move(env): From 99b8481fa3a67255c3ec0ba32203a64686410e3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miquel=20Ra=C3=AFch?= Date: Tue, 26 Apr 2022 11:39:31 +0200 Subject: [PATCH 114/403] [FIX] account: compute by query the payment currency --- .../scripts/account/14.0.1.1/pre-migration.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/openupgrade_scripts/scripts/account/14.0.1.1/pre-migration.py b/openupgrade_scripts/scripts/account/14.0.1.1/pre-migration.py index d774b513ca90..be52ccc746cf 100644 --- a/openupgrade_scripts/scripts/account/14.0.1.1/pre-migration.py +++ b/openupgrade_scripts/scripts/account/14.0.1.1/pre-migration.py @@ -275,6 +275,16 @@ def add_move_id_field_account_bank_statement_line(env): def add_move_id_field_account_payment(env): + openupgrade.logged_query( + env.cr, + """ + UPDATE account_payment ap + SET currency_id = COALESCE(aj.currency_id, rc.currency_id) + FROM account_journal aj + JOIN res_company rc ON aj.company_id = rc.id + WHERE ap.journal_id = aj.id + """, + ) if not openupgrade.column_exists(env.cr, "account_payment", "move_id"): openupgrade.logged_query( env.cr, From 52ef248490c64269fef9fa3be407688dadf36372 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 3 May 2022 22:41:59 +0000 Subject: [PATCH 115/403] [UPD] HTML documentation --- docs/modules130-140.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules130-140.html b/docs/modules130-140.html index 2b612050ef52..8e31a0ffde61 100644 --- a/docs/modules130-140.html +++ b/docs/modules130-140.html @@ -881,7 +881,7 @@

    Module coverage 13.0 -> 14.0

    procurement_jit

    - +

    Nothing to do

    product

    Done

    From f9344cd48dfc5fff89e6612286f7276cd1baa252 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miquel=20Ra=C3=AFch?= Date: Wed, 4 May 2022 11:35:55 +0200 Subject: [PATCH 116/403] [FIX] account: consider amount_currency in account.partial.reconcile --- .../account/14.0.1.1/post-migration.py | 40 ++++++------------- 1 file changed, 12 insertions(+), 28 deletions(-) diff --git a/openupgrade_scripts/scripts/account/14.0.1.1/post-migration.py b/openupgrade_scripts/scripts/account/14.0.1.1/post-migration.py index 01fc887280de..807f3f3dc356 100644 --- a/openupgrade_scripts/scripts/account/14.0.1.1/post-migration.py +++ b/openupgrade_scripts/scripts/account/14.0.1.1/post-migration.py @@ -108,40 +108,24 @@ def fill_payment_id_and_statement_line_id_fields(env): def fill_partial_reconcile_debit_and_credit_amounts(env): - # compute debit and credit amount when currencies are the same openupgrade.logged_query( env.cr, """ UPDATE account_partial_reconcile - SET debit_amount_currency = amount, credit_amount_currency = amount - WHERE debit_amount_currency IS NULL AND credit_amount_currency is NULL - AND credit_currency_id = debit_currency_id + SET debit_amount_currency = COALESCE(amount_currency, amount), + debit_currency_id = COALESCE(currency_id, debit_currency_id) + WHERE debit_amount_currency IS NULL + """, + ) + openupgrade.logged_query( + env.cr, + """ + UPDATE account_partial_reconcile + SET credit_amount_currency = COALESCE(amount_currency, amount), + credit_currency_id = COALESCE(currency_id, credit_currency_id) + WHERE credit_amount_currency IS NULL """, ) - # compute debit and credit amount when currencies are different - partial_reconcile_lines = ( - env["account.partial.reconcile"] - .search( - [ - ("debit_amount_currency", "=", False), - ("credit_amount_currency", "=", False), - ] - ) - .filtered(lambda line: line.credit_currency_id != line.debit_currency_id) - ) - for line in partial_reconcile_lines: - line.debit_amount_currency = line.company_currency_id._convert( - line.amount, - line.debit_currency_id, - line.company_id, - line.credit_move_id.date, - ) - line.credit_amount_currency = line.company_currency_id._convert( - line.amount, - line.credit_currency_id, - line.company_id, - line.debit_move_id.date, - ) def create_account_reconcile_model_lines(env): From d192fb83903cc170d50c2bbeec345d8bf37ff1d8 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Fri, 6 May 2022 01:25:31 +0200 Subject: [PATCH 117/403] [OU-FIX] account: Fill amount_residual_currency as well Currency is now mandatory for all the account.move.line records, so there's certain part of the reconcile logic that relies on amount_residual_currency when currency_id is set (independently of which currency it is). Example: https://github.com/odoo/odoo/blob/1569441f15adb0b6b2920483ba8a43ccc7845e61/addons/account/models/account_move.py#L4401 so we copy the residual amount as well as the currency on the filling. TT35896 --- openupgrade_scripts/scripts/account/14.0.1.1/pre-migration.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openupgrade_scripts/scripts/account/14.0.1.1/pre-migration.py b/openupgrade_scripts/scripts/account/14.0.1.1/pre-migration.py index f3eb73617025..621a685ef122 100644 --- a/openupgrade_scripts/scripts/account/14.0.1.1/pre-migration.py +++ b/openupgrade_scripts/scripts/account/14.0.1.1/pre-migration.py @@ -397,7 +397,8 @@ def fill_account_move_line_currency_id(env): env.cr, """ UPDATE account_move_line - SET currency_id = company_currency_id + SET currency_id = company_currency_id, + amount_residual_currency = amount_residual WHERE currency_id IS NULL """, ) From dc3cc0034afdb863325a01105f816a6cad49c15b Mon Sep 17 00:00:00 2001 From: Roy Le Date: Tue, 1 Mar 2022 23:27:53 +0700 Subject: [PATCH 118/403] [FIX] account: duplicate journal items when filling account payment and statement lines with no move Steps for account payment: 1. Create a payment that is in draft state 2. Run migration 3. The payment that has been linked with journal entry, but journal entry contains 4 journal items Expeted: journal entry contains 2 journal items Steps for statement lines: 1. Create a statement line that is in draft state 2. Run migration 3. The statement line that has been linked with journal entry, but journal entry contains 4 journal items Expeted: journal entry contains 2 journal items --- .../account/14.0.1.1/post-migration.py | 23 +------------------ 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/openupgrade_scripts/scripts/account/14.0.1.1/post-migration.py b/openupgrade_scripts/scripts/account/14.0.1.1/post-migration.py index 807f3f3dc356..bbc7d39893f4 100644 --- a/openupgrade_scripts/scripts/account/14.0.1.1/post-migration.py +++ b/openupgrade_scripts/scripts/account/14.0.1.1/post-migration.py @@ -521,17 +521,7 @@ def fill_statement_lines_with_no_move(env): _logger.error("Failed for statement line with id %s: %s", st_line.id, e) raise deprecated_accounts.deprecated = True - to_write = { - "line_ids": [ - (0, 0, line_vals) - for line_vals in st_line._prepare_move_line_default_vals( - counterpart_account_id=False - ) - ] - } - st_line.move_id.with_context(skip_account_move_synchronization=True).write( - to_write - ) + openupgrade.logged_query( env.cr, """ @@ -674,17 +664,6 @@ def fill_account_payment_with_no_move(env): _logger.error("Failed for payment with id %s: %s", payment.id, e) raise deprecated_accounts.deprecated = True - to_write = { - "line_ids": [ - (0, 0, line_vals) - for line_vals in payment._prepare_move_line_default_vals( - write_off_line_vals=False - ) - ] - } - payment.move_id.with_context(skip_account_move_synchronization=True).write( - to_write - ) def try_delete_noupdate_records(env): From 34d3f191eb4f4d81da4045dbb7719ac0cd72064b Mon Sep 17 00:00:00 2001 From: Roy Le Date: Tue, 15 Feb 2022 16:04:53 +0700 Subject: [PATCH 119/403] [FIX] account: process account payment transfer When migrating from Odoo 13.0 to Odoo 14.0, we need: 1. mapping payment_type from 'transfer' to 'inbound'/'outbound' for account payment tranfer, because key `transfer` of `payment_type` is deleted. So we need set `is_internal_transfer` as `true` on account payment transfer to indicate that it was an account payment transfer 2. On Odoo 13.0, when validating a account payment transfer, so 2 journal entries is created, equivalent to 1 receipt payment, and 1 send payment on Odoo 14.0 So, on Odoo 14.0, we need create new counterpart payment with account payment transfer --- .../account/14.0.1.1/post-migration.py | 41 +++++++++++++++++++ .../14.0.1.1/upgrade_analysis_work.txt | 3 +- 2 files changed, 43 insertions(+), 1 deletion(-) diff --git a/openupgrade_scripts/scripts/account/14.0.1.1/post-migration.py b/openupgrade_scripts/scripts/account/14.0.1.1/post-migration.py index 807f3f3dc356..e5c34d789b4c 100644 --- a/openupgrade_scripts/scripts/account/14.0.1.1/post-migration.py +++ b/openupgrade_scripts/scripts/account/14.0.1.1/post-migration.py @@ -591,6 +591,45 @@ def fill_account_journal_payment_credit_debit_account_id(env): ) +def create_new_counterpart_account_payment_transfer(env): + # Create new counterpart payment with account payment transfer + openupgrade.logged_query( + env.cr, + """ + INSERT INTO account_payment (move_id, is_internal_transfer, partner_type, + payment_type, + amount, currency_id, + destination_account_id, partner_id, journal_id, + create_uid, create_date, write_uid, write_date) + SELECT move.id, true, ap.partner_type, + CASE + WHEN journal.id = ap.destination_journal_id THEN 'inbound' ELSE 'outbound' + END, + ap.amount, ap.currency_id, + ap.destination_account_id, ap.partner_id, move.journal_id, + ap.create_uid, ap.create_date, ap.write_uid, ap.write_date + FROM account_payment ap + JOIN account_move move + ON (move.payment_id = ap.id AND move.id != ap.move_id) + JOIN account_journal journal ON journal.id = move.journal_id + WHERE ap.payment_type = 'transfer' + """, + ) + + +def map_account_payment_transfer(env): + # map payment_type from transfer to 'inbound'/'outbound' + # and set is_internal_transfer as true on account payment transfer + openupgrade.logged_query( + env.cr, + """ + UPDATE account_payment ap + SET is_internal_transfer = true, payment_type = 'outbound' + WHERE ap.payment_type = 'transfer' + """, + ) + + def fill_account_payment_with_no_move(env): p_data = {} p_dates_by_company = {} @@ -752,6 +791,8 @@ def migrate(env, version): fill_company_account_journal_suspense_account_id(env) fill_statement_lines_with_no_move(env) fill_account_journal_payment_credit_debit_account_id(env) + create_new_counterpart_account_payment_transfer(env) + map_account_payment_transfer(env) fill_account_payment_with_no_move(env) _delete_hooks(env) openupgrade.delete_record_translations( diff --git a/openupgrade_scripts/scripts/account/14.0.1.1/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/account/14.0.1.1/upgrade_analysis_work.txt index add90fb76ea0..ad44c505172b 100644 --- a/openupgrade_scripts/scripts/account/14.0.1.1/upgrade_analysis_work.txt +++ b/openupgrade_scripts/scripts/account/14.0.1.1/upgrade_analysis_work.txt @@ -295,7 +295,8 @@ account / account.payment / payment_method_id (many2one) : now a # NOTHING TO DO account / account.payment / payment_type (selection) : selection_keys is now '['inbound', 'outbound']' ('['inbound', 'outbound', 'transfer']') -# TODO: transfer records should be changed to 'inbound' or 'outbound', but if we do that, we should remove two account move lines +# DONE post-migration: mapped payment_type from 'transfer' to 'inbound'/'outbound' for account payment tranfer +# created new counterpart payment with account payment transfer # (see https://github.com/odoo/odoo/commit/a30cfee04eaf48b581d2e327c1b56e115a1c751f) # DONE pre-migration: filled partner_id with journal_id.company_id.partner_id to detect transfers From 57b23e0ede24989b58347ed8241700fb924ba759 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miquel=20Ra=C3=AFch?= Date: Thu, 12 May 2022 17:31:36 +0200 Subject: [PATCH 120/403] [FIX] account: amount_currency being 0.0 in partial reconcile --- .../scripts/account/14.0.1.1/post-migration.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openupgrade_scripts/scripts/account/14.0.1.1/post-migration.py b/openupgrade_scripts/scripts/account/14.0.1.1/post-migration.py index 3ba442431ecb..4831d1be6207 100644 --- a/openupgrade_scripts/scripts/account/14.0.1.1/post-migration.py +++ b/openupgrade_scripts/scripts/account/14.0.1.1/post-migration.py @@ -112,7 +112,7 @@ def fill_partial_reconcile_debit_and_credit_amounts(env): env.cr, """ UPDATE account_partial_reconcile - SET debit_amount_currency = COALESCE(amount_currency, amount), + SET debit_amount_currency = COALESCE(NULLIF(amount_currency, 0.0), amount), debit_currency_id = COALESCE(currency_id, debit_currency_id) WHERE debit_amount_currency IS NULL """, @@ -121,7 +121,7 @@ def fill_partial_reconcile_debit_and_credit_amounts(env): env.cr, """ UPDATE account_partial_reconcile - SET credit_amount_currency = COALESCE(amount_currency, amount), + SET credit_amount_currency = COALESCE(NULLIF(amount_currency, 0.0), amount), credit_currency_id = COALESCE(currency_id, credit_currency_id) WHERE credit_amount_currency IS NULL """, From 668cf5a804d4fde44ef89cb9e2ffbb125538fef2 Mon Sep 17 00:00:00 2001 From: remi-filament <30716308+remi-filament@users.noreply.github.com> Date: Mon, 16 May 2022 11:10:17 +0200 Subject: [PATCH 121/403] [FIX] no liquidity line created (reverts partially #3159) --- .../scripts/account/14.0.1.1/post-migration.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/openupgrade_scripts/scripts/account/14.0.1.1/post-migration.py b/openupgrade_scripts/scripts/account/14.0.1.1/post-migration.py index 4831d1be6207..ea0ce3d9219e 100644 --- a/openupgrade_scripts/scripts/account/14.0.1.1/post-migration.py +++ b/openupgrade_scripts/scripts/account/14.0.1.1/post-migration.py @@ -521,6 +521,20 @@ def fill_statement_lines_with_no_move(env): _logger.error("Failed for statement line with id %s: %s", st_line.id, e) raise deprecated_accounts.deprecated = True + to_write = { + "line_ids": [ + ( + 0, + 0, + st_line._prepare_move_line_default_vals( + counterpart_account_id=False + )[0], + ) + ] + } + st_line.move_id.with_context(skip_account_move_synchronization=True).write( + to_write + ) openupgrade.logged_query( env.cr, From 103342534256a70023a5835873dcb41b67a034f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miquel=20Ra=C3=AFch?= Date: Thu, 21 Apr 2022 18:27:50 +0200 Subject: [PATCH 122/403] [FIX] account: avoid duplicating account groups --- .../scripts/account/14.0.1.1/end-migration.py | 112 ++++++++++++++++++ .../account/14.0.1.1/post-migration.py | 78 ------------ .../scripts/account/14.0.1.1/pre-migration.py | 15 +++ .../14.0.1.1/upgrade_analysis_work.txt | 4 +- 4 files changed, 129 insertions(+), 80 deletions(-) create mode 100644 openupgrade_scripts/scripts/account/14.0.1.1/end-migration.py diff --git a/openupgrade_scripts/scripts/account/14.0.1.1/end-migration.py b/openupgrade_scripts/scripts/account/14.0.1.1/end-migration.py new file mode 100644 index 000000000000..46f2fa625bb2 --- /dev/null +++ b/openupgrade_scripts/scripts/account/14.0.1.1/end-migration.py @@ -0,0 +1,112 @@ +# Copyright 2021 ForgeFlow S.L. +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +import logging + +from openupgradelib import openupgrade, openupgrade_merge_records + +_logger = logging.getLogger(__name__) + + +def harmonize_groups(env): + """Unfold manual groups per company + proper company assignation""" + + # step 1: Generate the generic account groups for each company. Later code will + # do it for manually created groups + + companies = env["res.company"].with_context(active_test=False).search([]) + for company in companies.filtered("chart_template_id"): + company.chart_template_id.generate_account_groups(company) + + # step 2: For manually created groups, we check if such group is used in more than + # one company. If so, we unfold it. We also assure proper company for existing one + + def _get_all_children(groups): + children = env["account.group"].search([("parent_id", "in", groups.ids)]) + if children: + children |= _get_all_children(children) + return children + + def _get_all_parents(groups): + parents = groups.mapped("parent_id") + if parents: + parents |= _get_all_parents(parents) + return parents + + AccountGroup = env["account.group"] + AccountGroup._parent_store_compute() + env.cr.execute( + """SELECT ag.id FROM account_group ag + LEFT JOIN ir_model_data imd + ON ag.id = imd.res_id AND imd.model = 'account.group' + AND imd.module != '__export__' + WHERE imd.id IS NULL""" + ) + all_groups = AccountGroup.browse([x[0] for x in env.cr.fetchall()]) + all_groups = all_groups | _get_all_parents(all_groups) + relation_dict = {} + for group in all_groups.sorted(key="parent_path"): + subgroups = group | _get_all_children(group) + accounts = env["account.account"].search([("group_id", "in", subgroups.ids)]) + companies = accounts.mapped("company_id").sorted() + for i, company in enumerate(companies): + if company not in relation_dict: + relation_dict[company] = {} + if i == 0: + if group.company_id != company: + group.company_id = company.id + relation_dict[company][group] = group + continue + # Done by SQL for avoiding ORM derived problems + env.cr.execute( + """INSERT INTO account_group (parent_id, parent_path, name, + code_prefix_start, code_prefix_end, company_id, + create_uid, write_uid, create_date, write_date) + SELECT {parent_id}, parent_path, name, code_prefix_start, + code_prefix_end, {company_id}, create_uid, + write_uid, create_date, write_date + FROM account_group + WHERE id = {id} + RETURNING id + """.format( + id=group.id, + company_id=company.id, + parent_id=group.parent_id + and relation_dict[company][group.parent_id].id + or "NULL", + ) + ) + new_group = AccountGroup.browse(env.cr.fetchone()) + relation_dict[company][group] = new_group + + # step 3: Merge repeated groups + + env.cr.execute( + """SELECT array_agg(id order by id DESC), name, + code_prefix_start, company_id + FROM account_group + GROUP BY name, code_prefix_start, company_id + """ + ) + group_ids = [x[0] for x in env.cr.fetchall()] + for group in group_ids: + if len(group) > 1: + openupgrade_merge_records.merge_records( + env, + "account.group", + group[1:], + group[0], + field_spec=None, + method="sql", + delete=True, + exclude_columns=None, + model_table="account_group", + ) + + AccountGroup._parent_store_compute() + + +@openupgrade.migrate() +def migrate(env, version): + harmonize_groups(env) + # Launch a recomputation of the account groups after previous changes + env["account.account"].search([])._compute_account_group() diff --git a/openupgrade_scripts/scripts/account/14.0.1.1/post-migration.py b/openupgrade_scripts/scripts/account/14.0.1.1/post-migration.py index ea0ce3d9219e..2bfb31457fc4 100644 --- a/openupgrade_scripts/scripts/account/14.0.1.1/post-migration.py +++ b/openupgrade_scripts/scripts/account/14.0.1.1/post-migration.py @@ -377,80 +377,6 @@ def fill_company_account_cash_basis_base_account_id(env): ) -def populate_account_groups(env): - """Generate the generic account groups for each company. Later code will - do it for manually created groups. - """ - companies = env["res.company"].with_context(active_test=False).search([]) - for company in companies.filtered("chart_template_id"): - company.chart_template_id.generate_account_groups(company) - - -def unfold_manual_account_groups(env): - """For manually created groups, we check if such group is used in more than - one company. If so, we unfold it. We also assure proper company for existing one. - """ - - def _get_all_children(groups): - children = env["account.group"].search([("parent_id", "in", groups.ids)]) - if children: - children |= _get_all_children(children) - return children - - def _get_all_parents(groups): - parents = groups.mapped("parent_id") - if parents: - parents |= _get_all_parents(parents) - return parents - - AccountGroup = env["account.group"] - AccountGroup._parent_store_compute() - env.cr.execute( - """SELECT ag.id FROM account_group ag - LEFT JOIN ir_model_data imd - ON ag.id = imd.res_id AND imd.model = 'account.group' - AND imd.module != '__export__' - WHERE imd.id IS NULL""" - ) - all_groups = AccountGroup.browse([x[0] for x in env.cr.fetchall()]) - all_groups = all_groups | _get_all_parents(all_groups) - relation_dict = {} - for group in all_groups.sorted(key="parent_path"): - subgroups = group | _get_all_children(group) - accounts = env["account.account"].search([("group_id", "in", subgroups.ids)]) - companies = accounts.mapped("company_id").sorted() - for i, company in enumerate(companies): - if company not in relation_dict: - relation_dict[company] = {} - if i == 0: - if group.company_id != company: - group.company_id = company.id - relation_dict[company][group] = group - continue - # Done by SQL for avoiding ORM derived problems - env.cr.execute( - """INSERT INTO account_group (parent_id, parent_path, name, - code_prefix_start, code_prefix_end, company_id, - create_uid, write_uid, create_date, write_date) - SELECT {parent_id}, parent_path, name, code_prefix_start, - code_prefix_end, {company_id}, create_uid, - write_uid, create_date, write_date - FROM account_group - WHERE id = {id} - RETURNING id - """.format( - id=group.id, - company_id=company.id, - parent_id=group.parent_id - and relation_dict[company][group.parent_id].id - or "NULL", - ) - ) - new_group = AccountGroup.browse(env.cr.fetchone()) - relation_dict[company][group] = new_group - AccountGroup._parent_store_compute() - - def fill_company_account_journal_suspense_account_id(env): companies = env["res.company"].search([("chart_template_id", "!=", False)]) for company in companies: @@ -777,10 +703,6 @@ def migrate(env, version): openupgrade.load_data(env.cr, "account", "14.0.1.1/noupdate_changes.xml") try_delete_noupdate_records(env) _create_hooks(env) - populate_account_groups(env) - unfold_manual_account_groups(env) - # Launch a recomputation of the account groups after previous changes - env["account.account"].search([])._compute_account_group() fill_company_account_journal_suspense_account_id(env) fill_statement_lines_with_no_move(env) fill_account_journal_payment_credit_debit_account_id(env) diff --git a/openupgrade_scripts/scripts/account/14.0.1.1/pre-migration.py b/openupgrade_scripts/scripts/account/14.0.1.1/pre-migration.py index e1553599b27a..5fef34432dc2 100644 --- a/openupgrade_scripts/scripts/account/14.0.1.1/pre-migration.py +++ b/openupgrade_scripts/scripts/account/14.0.1.1/pre-migration.py @@ -429,6 +429,20 @@ def fill_account_payment_partner_id(env): ) +def delete_xmlid_existing_groups(env): + env.cr.execute( + """DELETE FROM ir_model_data imd + USING account_group ag + WHERE ag.id = imd.res_id AND imd.model = 'account.group' + AND imd.module != '__export__' + RETURNING imd.res_id""" + ) + # end-migration script will: + # - populate account groups from the templates + # - unfold manual groups per company + proper company assignation + # - merge repeated groups + + @openupgrade.migrate() def migrate(env, version): openupgrade.set_xml_ids_noupdate_value( @@ -444,6 +458,7 @@ def migrate(env, version): fill_empty_partner_type_account_payment(env) fill_account_move_line_currency_id(env) fill_account_payment_partner_id(env) + delete_xmlid_existing_groups(env) openupgrade.remove_tables_fks( env.cr, ["account_bank_statement_import_ir_attachment_rel"] ) diff --git a/openupgrade_scripts/scripts/account/14.0.1.1/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/account/14.0.1.1/upgrade_analysis_work.txt index ad44c505172b..0b0b1989ab0f 100644 --- a/openupgrade_scripts/scripts/account/14.0.1.1/upgrade_analysis_work.txt +++ b/openupgrade_scripts/scripts/account/14.0.1.1/upgrade_analysis_work.txt @@ -133,10 +133,10 @@ account / account.group / code_prefix (char) : DEL account / account.group / code_prefix_end (char) : NEW account / account.group / code_prefix_start (char) : NEW # DONE: pre-migration: renamed code_prefix to code_prefix_start -# post-migration: assigned same start values to end field +# DONE: post-migration: assigned same start values to end field account / account.group / company_id (many2one) : NEW relation: res.company, required, req_default: function, hasdefault -# DONE: post-migration: Unfold manual groups per company + proper company assignation +# DONE: end-migration: Unfold manual groups per company + proper company assignation account / account.group.template / chart_template_id (many2one) : NEW relation: account.chart.template, required account / account.group.template / code_prefix_end (char) : NEW From 9ce78d435719b48be1e6bc167150e348cf7f0af9 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 21 May 2022 12:17:11 +0000 Subject: [PATCH 123/403] [UPD] HTML documentation --- docs/API.html | 11 +++++++++++ docs/genindex.html | 4 +++- docs/modules120-130.html | 2 +- docs/objects.inv | Bin 1308 -> 1313 bytes docs/searchindex.js | 2 +- 5 files changed, 16 insertions(+), 3 deletions(-) diff --git a/docs/API.html b/docs/API.html index 5d12d5a1154f..420f42a97429 100644 --- a/docs/API.html +++ b/docs/API.html @@ -854,6 +854,17 @@

    OpenUpgrade API +
    +openupgradelib.openupgrade.update_module_moved_models(cr, model, old_module, new_module)
    +

    Update module for model definition in general tables that have been +moved from one module to another. +:param cr: Database cursor +:param model: Model name +:param old_module: Previous module of the models +:param new_module: New module of the models

    +

    +
    openupgradelib.openupgrade.update_module_names(cr, namespec, merge_modules=False)
    diff --git a/docs/genindex.html b/docs/genindex.html index 06cbce158b5c..7c82f9a941a9 100644 --- a/docs/genindex.html +++ b/docs/genindex.html @@ -278,10 +278,12 @@

    U

  • update_aliases() (in module openupgradelib.openupgrade_80)
  • update_field_multilang() (in module openupgradelib.openupgrade) +
  • +
  • update_module_moved_fields() (in module openupgradelib.openupgrade)