From d2c8631064d9897cd71959e52f687679ce09e641 Mon Sep 17 00:00:00 2001 From: Don Kendall Date: Wed, 23 Sep 2026 17:07:39 -0400 Subject: [PATCH] [20.0][OU-ADD] pos_*: Nothing to do Every line in these modules' analysis resolves without a migration script, and the work files say which rule each line falls under rather than carrying a bare marker. The rules were settled against the migrated database, not asserted: every stored selection was compared with ir_model_fields_selection, every flagged field was compared across the upgrade for lost values, and every flagged field that is stored and entirely empty on a populated table was read individually. noupdate records the module stops shipping are left in place -- _process_end only removes stale rows whose noupdate is false, and orphan cleanup is the anti-pattern upstream rejected in #5630-5632. 13 modules. Assisted-by: Claude Opus 5 --- docsource/modules190-200.rst | 26 ++++----- .../pos_adyen/20.0.1.0/upgrade_analysis.txt | 4 ++ .../20.0.1.0/upgrade_analysis_work.txt | 5 ++ .../20.0.1.0/upgrade_analysis.txt | 6 +++ .../20.0.1.0/upgrade_analysis_work.txt | 8 +++ .../pos_event/20.0.1.0/upgrade_analysis.txt | 13 +++++ .../20.0.1.0/upgrade_analysis_work.txt | 16 ++++++ .../pos_hr/20.0.1.0/upgrade_analysis.txt | 13 +++++ .../pos_hr/20.0.1.0/upgrade_analysis_work.txt | 19 +++++++ .../pos_loyalty/20.0.2.0/upgrade_analysis.txt | 41 ++++++++++++++ .../20.0.2.0/upgrade_analysis_work.txt | 53 ++++++++++++++++++ .../pos_mrp/20.0.1.0/upgrade_analysis.txt | 7 +++ .../20.0.1.0/upgrade_analysis_work.txt | 8 +++ .../20.0.1.0/upgrade_analysis.txt | 8 +++ .../20.0.1.0/upgrade_analysis_work.txt | 11 ++++ .../20.0.1.0/upgrade_analysis.txt | 4 ++ .../20.0.1.0/upgrade_analysis_work.txt | 5 ++ .../20.0.1.0/upgrade_analysis.txt | 4 ++ .../20.0.1.0/upgrade_analysis_work.txt | 5 ++ .../20.0.1.0/upgrade_analysis.txt | 5 ++ .../20.0.1.0/upgrade_analysis_work.txt | 7 +++ .../pos_sms/20.0.1.0/upgrade_analysis.txt | 4 ++ .../20.0.1.0/upgrade_analysis_work.txt | 5 ++ .../pos_stock/20.0.1.0/upgrade_analysis.txt | 47 ++++++++++++++++ .../20.0.1.0/upgrade_analysis_work.txt | 54 +++++++++++++++++++ .../pos_stripe/20.0.1.0/upgrade_analysis.txt | 5 ++ .../20.0.1.0/upgrade_analysis_work.txt | 6 +++ 27 files changed, 376 insertions(+), 13 deletions(-) create mode 100644 openupgrade_scripts/scripts/pos_adyen/20.0.1.0/upgrade_analysis.txt create mode 100644 openupgrade_scripts/scripts/pos_adyen/20.0.1.0/upgrade_analysis_work.txt create mode 100644 openupgrade_scripts/scripts/pos_discount/20.0.1.0/upgrade_analysis.txt create mode 100644 openupgrade_scripts/scripts/pos_discount/20.0.1.0/upgrade_analysis_work.txt create mode 100644 openupgrade_scripts/scripts/pos_event/20.0.1.0/upgrade_analysis.txt create mode 100644 openupgrade_scripts/scripts/pos_event/20.0.1.0/upgrade_analysis_work.txt create mode 100644 openupgrade_scripts/scripts/pos_hr/20.0.1.0/upgrade_analysis.txt create mode 100644 openupgrade_scripts/scripts/pos_hr/20.0.1.0/upgrade_analysis_work.txt create mode 100644 openupgrade_scripts/scripts/pos_loyalty/20.0.2.0/upgrade_analysis.txt create mode 100644 openupgrade_scripts/scripts/pos_loyalty/20.0.2.0/upgrade_analysis_work.txt create mode 100644 openupgrade_scripts/scripts/pos_mrp/20.0.1.0/upgrade_analysis.txt create mode 100644 openupgrade_scripts/scripts/pos_mrp/20.0.1.0/upgrade_analysis_work.txt create mode 100644 openupgrade_scripts/scripts/pos_online_payment/20.0.1.0/upgrade_analysis.txt create mode 100644 openupgrade_scripts/scripts/pos_online_payment/20.0.1.0/upgrade_analysis_work.txt create mode 100644 openupgrade_scripts/scripts/pos_sale_stock/20.0.1.0/upgrade_analysis.txt create mode 100644 openupgrade_scripts/scripts/pos_sale_stock/20.0.1.0/upgrade_analysis_work.txt create mode 100644 openupgrade_scripts/scripts/pos_self_order_sale/20.0.1.0/upgrade_analysis.txt create mode 100644 openupgrade_scripts/scripts/pos_self_order_sale/20.0.1.0/upgrade_analysis_work.txt create mode 100644 openupgrade_scripts/scripts/pos_self_order_sms/20.0.1.0/upgrade_analysis.txt create mode 100644 openupgrade_scripts/scripts/pos_self_order_sms/20.0.1.0/upgrade_analysis_work.txt create mode 100644 openupgrade_scripts/scripts/pos_sms/20.0.1.0/upgrade_analysis.txt create mode 100644 openupgrade_scripts/scripts/pos_sms/20.0.1.0/upgrade_analysis_work.txt create mode 100644 openupgrade_scripts/scripts/pos_stock/20.0.1.0/upgrade_analysis.txt create mode 100644 openupgrade_scripts/scripts/pos_stock/20.0.1.0/upgrade_analysis_work.txt create mode 100644 openupgrade_scripts/scripts/pos_stripe/20.0.1.0/upgrade_analysis.txt create mode 100644 openupgrade_scripts/scripts/pos_stripe/20.0.1.0/upgrade_analysis_work.txt diff --git a/docsource/modules190-200.rst b/docsource/modules190-200.rst index 8da46d62bbc..6b11cd2547f 100644 --- a/docsource/modules190-200.rst +++ b/docsource/modules190-200.rst @@ -822,27 +822,27 @@ Module coverage 19.0 -> 20.0 +---------------------------------------------------+----------------------+-------------------------------------------------+ | pos_account_tax_python | |No DB layout changes. | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| pos_adyen | | | +| pos_adyen |Nothing to do | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| pos_discount | | | +| pos_discount |Nothing to do | | +---------------------------------------------------+----------------------+-------------------------------------------------+ | pos_edi_ubl | |No DB layout changes. | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| pos_event | | | +| pos_event |Nothing to do | | +---------------------------------------------------+----------------------+-------------------------------------------------+ | pos_event_sale | |No DB layout changes. | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| pos_hr | | | +| pos_hr |Nothing to do | | +---------------------------------------------------+----------------------+-------------------------------------------------+ | pos_hr_restaurant | |No DB layout changes. | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| pos_loyalty | | | +| pos_loyalty |Nothing to do | | +---------------------------------------------------+----------------------+-------------------------------------------------+ | pos_mercado_pago | |No DB layout changes. | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| pos_mrp | | | +| pos_mrp |Nothing to do | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| pos_online_payment | | | +| pos_online_payment |Nothing to do | | +---------------------------------------------------+----------------------+-------------------------------------------------+ | pos_online_payment_self_order | |No DB layout changes. | +---------------------------------------------------+----------------------+-------------------------------------------------+ @@ -870,7 +870,7 @@ Module coverage 19.0 -> 20.0 +---------------------------------------------------+----------------------+-------------------------------------------------+ | pos_sale_margin | |No DB layout changes. | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| |new| pos_sale_stock | | | +| |new| pos_sale_stock |Nothing to do | | +---------------------------------------------------+----------------------+-------------------------------------------------+ | pos_self_order | | | +---------------------------------------------------+----------------------+-------------------------------------------------+ @@ -882,17 +882,17 @@ Module coverage 19.0 -> 20.0 +---------------------------------------------------+----------------------+-------------------------------------------------+ | pos_self_order_razorpay | |No DB layout changes. | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| pos_self_order_sale | | | +| pos_self_order_sale |Nothing to do | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| |new| pos_self_order_sms | | | +| |new| pos_self_order_sms |Nothing to do | | +---------------------------------------------------+----------------------+-------------------------------------------------+ | |del| pos_self_order_stripe | | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| pos_sms | | | +| pos_sms |Nothing to do | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| |new| pos_stock | | | +| |new| pos_stock |Nothing to do | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| pos_stripe | | | +| pos_stripe |Nothing to do | | +---------------------------------------------------+----------------------+-------------------------------------------------+ | |new| printer | | | +---------------------------------------------------+----------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/pos_adyen/20.0.1.0/upgrade_analysis.txt b/openupgrade_scripts/scripts/pos_adyen/20.0.1.0/upgrade_analysis.txt new file mode 100644 index 00000000000..33098999c19 --- /dev/null +++ b/openupgrade_scripts/scripts/pos_adyen/20.0.1.0/upgrade_analysis.txt @@ -0,0 +1,4 @@ +---Models in module 'pos_adyen'--- +---Fields in module 'pos_adyen'--- +---XML records in module 'pos_adyen'--- +DEL ir.ui.view: pos_restaurant_adyen.pos_payment_method_view_form_inherit_pos_restaurant_adyen diff --git a/openupgrade_scripts/scripts/pos_adyen/20.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/pos_adyen/20.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 00000000000..e0aab85b358 --- /dev/null +++ b/openupgrade_scripts/scripts/pos_adyen/20.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,5 @@ +---Models in module 'pos_adyen'--- +---Fields in module 'pos_adyen'--- +---XML records in module 'pos_adyen'--- +DEL ir.ui.view: pos_restaurant_adyen.pos_payment_method_view_form_inherit_pos_restaurant_adyen +# NOTHING TO DO: the record is not noupdate, so the module update removes it diff --git a/openupgrade_scripts/scripts/pos_discount/20.0.1.0/upgrade_analysis.txt b/openupgrade_scripts/scripts/pos_discount/20.0.1.0/upgrade_analysis.txt new file mode 100644 index 00000000000..e9799d6fd79 --- /dev/null +++ b/openupgrade_scripts/scripts/pos_discount/20.0.1.0/upgrade_analysis.txt @@ -0,0 +1,6 @@ +---Models in module 'pos_discount'--- +---Fields in module 'pos_discount'--- +---XML records in module 'pos_discount'--- +NEW ir.ui.view: pos_discount.pos_order_receipt +NEW ir.ui.view: pos_discount.pos_session_sales_details +product.product: pos_discount.product_product_consumable (noupdate switched) diff --git a/openupgrade_scripts/scripts/pos_discount/20.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/pos_discount/20.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 00000000000..eed7b9c014c --- /dev/null +++ b/openupgrade_scripts/scripts/pos_discount/20.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,8 @@ +---Models in module 'pos_discount'--- +---Fields in module 'pos_discount'--- +---XML records in module 'pos_discount'--- +NEW ir.ui.view: pos_discount.pos_order_receipt +NEW ir.ui.view: pos_discount.pos_session_sales_details +# NOTHING TO DO: the record is not noupdate, so the module update creates it +product.product: pos_discount.product_product_consumable (noupdate switched) +# NOTHING TO DO: only the noupdate flag changed, the definition is the same diff --git a/openupgrade_scripts/scripts/pos_event/20.0.1.0/upgrade_analysis.txt b/openupgrade_scripts/scripts/pos_event/20.0.1.0/upgrade_analysis.txt new file mode 100644 index 00000000000..2b1631ccecb --- /dev/null +++ b/openupgrade_scripts/scripts/pos_event/20.0.1.0/upgrade_analysis.txt @@ -0,0 +1,13 @@ +---Models in module 'pos_event'--- +---Fields in module 'pos_event'--- +pos_event / event.registration / uuid (char) : NEW +pos_event / event.registration.answer / uuid (char) : NEW +---XML records in module 'pos_event'--- +NEW ir.access: pos_event.access_event_event +NEW ir.access: pos_event.access_event_event_ticket +NEW ir.access: pos_event.access_event_registration +DEL ir.model.access: pos_event.access_event_event +DEL ir.model.access: pos_event.access_event_event_ticket +DEL ir.model.access: pos_event.access_event_registration +pos.category: pos_event.pos_category_event (noupdate switched) +product.product: event_product.product_product_event (noupdate switched) diff --git a/openupgrade_scripts/scripts/pos_event/20.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/pos_event/20.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 00000000000..b0443a41b71 --- /dev/null +++ b/openupgrade_scripts/scripts/pos_event/20.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,16 @@ +---Models in module 'pos_event'--- +---Fields in module 'pos_event'--- +pos_event / event.registration / uuid (char) : NEW +pos_event / event.registration.answer / uuid (char) : NEW +# NOTHING TO DO: empty is the right value for existing records +---XML records in module 'pos_event'--- +NEW ir.access: pos_event.access_event_event +NEW ir.access: pos_event.access_event_event_ticket +NEW ir.access: pos_event.access_event_registration +DEL ir.model.access: pos_event.access_event_event +DEL ir.model.access: pos_event.access_event_event_ticket +DEL ir.model.access: pos_event.access_event_registration +# NOTHING TO DO: base folds ir.model.access and ir.rule into ir.access, keeping the xml_ids +pos.category: pos_event.pos_category_event (noupdate switched) +product.product: event_product.product_product_event (noupdate switched) +# NOTHING TO DO: only the noupdate flag changed, the definition is the same diff --git a/openupgrade_scripts/scripts/pos_hr/20.0.1.0/upgrade_analysis.txt b/openupgrade_scripts/scripts/pos_hr/20.0.1.0/upgrade_analysis.txt new file mode 100644 index 00000000000..281e93be143 --- /dev/null +++ b/openupgrade_scripts/scripts/pos_hr/20.0.1.0/upgrade_analysis.txt @@ -0,0 +1,13 @@ +---Models in module 'pos_hr'--- +---Fields in module 'pos_hr'--- +pos_hr / pos.config / advanced_employee_ids (many2many): DEL relation: hr.employee +pos_hr / pos.config / basic_employee_ids (many2many): DEL relation: hr.employee +pos_hr / pos.config / cashier_employee_ids (many2many): NEW relation: hr.employee +pos_hr / pos.config / manager_employee_ids (many2many): NEW relation: hr.employee +pos_hr / pos.config / minimal_employee_ids (many2many): DEL relation: hr.employee +pos_hr / pos.config / restrictive_employee_ids (many2many): NEW relation: hr.employee +pos_hr / pos.config / supervised_employee_ids (many2many): NEW relation: hr.employee +pos_hr / pos.session / logged_employee_ids (many2many): NEW relation: hr.employee, isfunction: function, stored +---XML records in module 'pos_hr'--- +NEW ir.ui.view: pos_hr.view_pos_config_kanban_inherit_pos_hr +NEW ir.ui.view: pos_hr.view_pos_session_form_inherit_pos_hr diff --git a/openupgrade_scripts/scripts/pos_hr/20.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/pos_hr/20.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 00000000000..01da31b4139 --- /dev/null +++ b/openupgrade_scripts/scripts/pos_hr/20.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,19 @@ +---Models in module 'pos_hr'--- +---Fields in module 'pos_hr'--- +pos_hr / pos.config / advanced_employee_ids (many2many): DEL relation: hr.employee +pos_hr / pos.config / basic_employee_ids (many2many): DEL relation: hr.employee +# NOTHING TO DO: the column is left in place for database_cleanup +pos_hr / pos.config / cashier_employee_ids (many2many): NEW relation: hr.employee +pos_hr / pos.config / manager_employee_ids (many2many): NEW relation: hr.employee +# NOTHING TO DO: empty is the right value for existing records +pos_hr / pos.config / minimal_employee_ids (many2many): DEL relation: hr.employee +# NOTHING TO DO: the column is left in place for database_cleanup +pos_hr / pos.config / restrictive_employee_ids (many2many): NEW relation: hr.employee +pos_hr / pos.config / supervised_employee_ids (many2many): NEW relation: hr.employee +# NOTHING TO DO: empty is the right value for existing records +pos_hr / pos.session / logged_employee_ids (many2many): NEW relation: hr.employee, isfunction: function, stored +# NOTHING TO DO: a new stored computed field, the ORM fills it in +---XML records in module 'pos_hr'--- +NEW ir.ui.view: pos_hr.view_pos_config_kanban_inherit_pos_hr +NEW ir.ui.view: pos_hr.view_pos_session_form_inherit_pos_hr +# NOTHING TO DO: the record is not noupdate, so the module update creates it diff --git a/openupgrade_scripts/scripts/pos_loyalty/20.0.2.0/upgrade_analysis.txt b/openupgrade_scripts/scripts/pos_loyalty/20.0.2.0/upgrade_analysis.txt new file mode 100644 index 00000000000..0c0b8b34144 --- /dev/null +++ b/openupgrade_scripts/scripts/pos_loyalty/20.0.2.0/upgrade_analysis.txt @@ -0,0 +1,41 @@ +---Models in module 'pos_loyalty'--- +---Fields in module 'pos_loyalty'--- +pos_loyalty / pos.order / active_payment_programs (json): NEW hasdefault: default +pos_loyalty / pos.order / active_rewards (json) : NEW hasdefault: default +pos_loyalty / pos.order / applied_codes (json) : NEW hasdefault: default +pos_loyalty / pos.order / disabled_program_ids (json) : NEW hasdefault: default +pos_loyalty / pos.order.line / card_id (many2one) : NEW relation: loyalty.card +pos_loyalty / pos.order.line / coupon_id (many2one) : DEL relation: loyalty.card +pos_loyalty / pos.order.line / gift_card_vals (json) : NEW +pos_loyalty / pos.order.line / reward_identifier_code (char) : DEL +---XML records in module 'pos_loyalty'--- +barcode.rule: pos_loyalty.barcode_rule_coupon (noupdate switched) +NEW ir.access: pos_loyalty.access_applicability_pos_manager +NEW ir.access: pos_loyalty.access_applicability_pos_user +NEW ir.access: pos_loyalty.access_communication_pos_manager +NEW ir.access: pos_loyalty.access_communication_pos_user +NEW ir.access: pos_loyalty.access_coupon_pos_manager +NEW ir.access: pos_loyalty.access_coupon_pos_user +NEW ir.access: pos_loyalty.access_loyalty_card_update_balance_pos_user +NEW ir.access: pos_loyalty.access_loyalty_history_pos_user +NEW ir.access: pos_loyalty.access_program_pos_manager +NEW ir.access: pos_loyalty.access_program_pos_user +NEW ir.access: pos_loyalty.access_reward_pos_manager +NEW ir.access: pos_loyalty.access_reward_pos_user +NEW ir.access: pos_loyalty.access_sale_coupon_generate +DEL ir.model.access: pos_loyalty.access_applicability_pos_manager +DEL ir.model.access: pos_loyalty.access_applicability_pos_user +DEL ir.model.access: pos_loyalty.access_communication_pos_manager +DEL ir.model.access: pos_loyalty.access_communication_pos_user +DEL ir.model.access: pos_loyalty.access_coupon_pos_manager +DEL ir.model.access: pos_loyalty.access_coupon_pos_user +DEL ir.model.access: pos_loyalty.access_loyalty_card_update_balance_pos_user +DEL ir.model.access: pos_loyalty.access_loyalty_history_pos_user +DEL ir.model.access: pos_loyalty.access_program_pos_manager +DEL ir.model.access: pos_loyalty.access_program_pos_user +DEL ir.model.access: pos_loyalty.access_reward_pos_manager +DEL ir.model.access: pos_loyalty.access_reward_pos_user +DEL ir.model.access: pos_loyalty.access_sale_coupon_generate +NEW ir.ui.view: pos_loyalty.pos_order_receipt +product.product: loyalty.ewallet_product_50 (noupdate switched) +product.product: loyalty.gift_card_product_50 (noupdate switched) diff --git a/openupgrade_scripts/scripts/pos_loyalty/20.0.2.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/pos_loyalty/20.0.2.0/upgrade_analysis_work.txt new file mode 100644 index 00000000000..072da135bcc --- /dev/null +++ b/openupgrade_scripts/scripts/pos_loyalty/20.0.2.0/upgrade_analysis_work.txt @@ -0,0 +1,53 @@ +---Models in module 'pos_loyalty'--- +---Fields in module 'pos_loyalty'--- +pos_loyalty / pos.order / active_payment_programs (json): NEW hasdefault: default +pos_loyalty / pos.order / active_rewards (json) : NEW hasdefault: default +pos_loyalty / pos.order / applied_codes (json) : NEW hasdefault: default +pos_loyalty / pos.order / disabled_program_ids (json) : NEW hasdefault: default +# NOTHING TO DO: a new field whose default is falsy -- False, or an empty +# list -- so a NULL left on an existing row already means what the default +# would have written. The one flagged field whose default names a record, +# pos.config.default_product_id, has a script instead +pos_loyalty / pos.order.line / card_id (many2one) : NEW relation: loyalty.card +# NOTHING TO DO: empty is the right value for existing records +pos_loyalty / pos.order.line / coupon_id (many2one) : DEL relation: loyalty.card +# NOTHING TO DO: the column is left in place for database_cleanup +pos_loyalty / pos.order.line / gift_card_vals (json) : NEW +# NOTHING TO DO: empty is the right value for existing records +pos_loyalty / pos.order.line / reward_identifier_code (char) : DEL +# NOTHING TO DO: the column is left in place for database_cleanup +---XML records in module 'pos_loyalty'--- +barcode.rule: pos_loyalty.barcode_rule_coupon (noupdate switched) +# NOTHING TO DO: only the noupdate flag changed, the definition is the same +NEW ir.access: pos_loyalty.access_applicability_pos_manager +NEW ir.access: pos_loyalty.access_applicability_pos_user +NEW ir.access: pos_loyalty.access_communication_pos_manager +NEW ir.access: pos_loyalty.access_communication_pos_user +NEW ir.access: pos_loyalty.access_coupon_pos_manager +NEW ir.access: pos_loyalty.access_coupon_pos_user +NEW ir.access: pos_loyalty.access_loyalty_card_update_balance_pos_user +NEW ir.access: pos_loyalty.access_loyalty_history_pos_user +NEW ir.access: pos_loyalty.access_program_pos_manager +NEW ir.access: pos_loyalty.access_program_pos_user +NEW ir.access: pos_loyalty.access_reward_pos_manager +NEW ir.access: pos_loyalty.access_reward_pos_user +NEW ir.access: pos_loyalty.access_sale_coupon_generate +DEL ir.model.access: pos_loyalty.access_applicability_pos_manager +DEL ir.model.access: pos_loyalty.access_applicability_pos_user +DEL ir.model.access: pos_loyalty.access_communication_pos_manager +DEL ir.model.access: pos_loyalty.access_communication_pos_user +DEL ir.model.access: pos_loyalty.access_coupon_pos_manager +DEL ir.model.access: pos_loyalty.access_coupon_pos_user +DEL ir.model.access: pos_loyalty.access_loyalty_card_update_balance_pos_user +DEL ir.model.access: pos_loyalty.access_loyalty_history_pos_user +DEL ir.model.access: pos_loyalty.access_program_pos_manager +DEL ir.model.access: pos_loyalty.access_program_pos_user +DEL ir.model.access: pos_loyalty.access_reward_pos_manager +DEL ir.model.access: pos_loyalty.access_reward_pos_user +DEL ir.model.access: pos_loyalty.access_sale_coupon_generate +# NOTHING TO DO: base folds ir.model.access and ir.rule into ir.access, keeping the xml_ids +NEW ir.ui.view: pos_loyalty.pos_order_receipt +# NOTHING TO DO: the record is not noupdate, so the module update creates it +product.product: loyalty.ewallet_product_50 (noupdate switched) +product.product: loyalty.gift_card_product_50 (noupdate switched) +# NOTHING TO DO: only the noupdate flag changed, the definition is the same diff --git a/openupgrade_scripts/scripts/pos_mrp/20.0.1.0/upgrade_analysis.txt b/openupgrade_scripts/scripts/pos_mrp/20.0.1.0/upgrade_analysis.txt new file mode 100644 index 00000000000..83abd5abaa7 --- /dev/null +++ b/openupgrade_scripts/scripts/pos_mrp/20.0.1.0/upgrade_analysis.txt @@ -0,0 +1,7 @@ +---Models in module 'pos_mrp'--- +---Fields in module 'pos_mrp'--- +---XML records in module 'pos_mrp'--- +NEW ir.access: pos_mrp.access_mrp_bom_line_pos_user +NEW ir.access: pos_mrp.access_mrp_bom_pos_user +DEL ir.model.access: pos_mrp.access_mrp_bom_line_pos_user +DEL ir.model.access: pos_mrp.access_mrp_bom_pos_user diff --git a/openupgrade_scripts/scripts/pos_mrp/20.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/pos_mrp/20.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 00000000000..75528c30aa9 --- /dev/null +++ b/openupgrade_scripts/scripts/pos_mrp/20.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,8 @@ +---Models in module 'pos_mrp'--- +---Fields in module 'pos_mrp'--- +---XML records in module 'pos_mrp'--- +NEW ir.access: pos_mrp.access_mrp_bom_line_pos_user +NEW ir.access: pos_mrp.access_mrp_bom_pos_user +DEL ir.model.access: pos_mrp.access_mrp_bom_line_pos_user +DEL ir.model.access: pos_mrp.access_mrp_bom_pos_user +# NOTHING TO DO: base folds ir.model.access and ir.rule into ir.access, keeping the xml_ids diff --git a/openupgrade_scripts/scripts/pos_online_payment/20.0.1.0/upgrade_analysis.txt b/openupgrade_scripts/scripts/pos_online_payment/20.0.1.0/upgrade_analysis.txt new file mode 100644 index 00000000000..272af260195 --- /dev/null +++ b/openupgrade_scripts/scripts/pos_online_payment/20.0.1.0/upgrade_analysis.txt @@ -0,0 +1,8 @@ +---Models in module 'pos_online_payment'--- +---Fields in module 'pos_online_payment'--- +pos_online_payment / pos.payment.method / is_online_payment (boolean) : DEL +---XML records in module 'pos_online_payment'--- +NEW ir.access: pos_online_payment.payment_provider_pos_manager +DEL ir.model.access: pos_online_payment.payment_provider_pos_manager +NEW ir.ui.view: pos_online_payment.pos_payment_status +NEW ir.ui.view: pos_online_payment.pos_state_header diff --git a/openupgrade_scripts/scripts/pos_online_payment/20.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/pos_online_payment/20.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 00000000000..eb92efd081c --- /dev/null +++ b/openupgrade_scripts/scripts/pos_online_payment/20.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,11 @@ +---Models in module 'pos_online_payment'--- +---Fields in module 'pos_online_payment'--- +pos_online_payment / pos.payment.method / is_online_payment (boolean) : DEL +# NOTHING TO DO: the column is left in place for database_cleanup +---XML records in module 'pos_online_payment'--- +NEW ir.access: pos_online_payment.payment_provider_pos_manager +DEL ir.model.access: pos_online_payment.payment_provider_pos_manager +# NOTHING TO DO: base folds ir.model.access and ir.rule into ir.access, keeping the xml_ids +NEW ir.ui.view: pos_online_payment.pos_payment_status +NEW ir.ui.view: pos_online_payment.pos_state_header +# NOTHING TO DO: the record is not noupdate, so the module update creates it diff --git a/openupgrade_scripts/scripts/pos_sale_stock/20.0.1.0/upgrade_analysis.txt b/openupgrade_scripts/scripts/pos_sale_stock/20.0.1.0/upgrade_analysis.txt new file mode 100644 index 00000000000..26350ee0a35 --- /dev/null +++ b/openupgrade_scripts/scripts/pos_sale_stock/20.0.1.0/upgrade_analysis.txt @@ -0,0 +1,4 @@ +---Models in module 'pos_sale_stock'--- +---Fields in module 'pos_sale_stock'--- +---XML records in module 'pos_sale_stock'--- +NEW ir.ui.view: pos_sale_stock.message_body diff --git a/openupgrade_scripts/scripts/pos_sale_stock/20.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/pos_sale_stock/20.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 00000000000..f0eb011e9ee --- /dev/null +++ b/openupgrade_scripts/scripts/pos_sale_stock/20.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,5 @@ +---Models in module 'pos_sale_stock'--- +---Fields in module 'pos_sale_stock'--- +---XML records in module 'pos_sale_stock'--- +NEW ir.ui.view: pos_sale_stock.message_body +# NOTHING TO DO: the record is not noupdate, so the module update creates it diff --git a/openupgrade_scripts/scripts/pos_self_order_sale/20.0.1.0/upgrade_analysis.txt b/openupgrade_scripts/scripts/pos_self_order_sale/20.0.1.0/upgrade_analysis.txt new file mode 100644 index 00000000000..c93c40e35f8 --- /dev/null +++ b/openupgrade_scripts/scripts/pos_self_order_sale/20.0.1.0/upgrade_analysis.txt @@ -0,0 +1,4 @@ +---Models in module 'pos_self_order_sale'--- +---Fields in module 'pos_self_order_sale'--- +---XML records in module 'pos_self_order_sale'--- +crm.team: pos_self_order_sale.pos_sales_team (noupdate switched) diff --git a/openupgrade_scripts/scripts/pos_self_order_sale/20.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/pos_self_order_sale/20.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 00000000000..5a721535a3e --- /dev/null +++ b/openupgrade_scripts/scripts/pos_self_order_sale/20.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,5 @@ +---Models in module 'pos_self_order_sale'--- +---Fields in module 'pos_self_order_sale'--- +---XML records in module 'pos_self_order_sale'--- +crm.team: pos_self_order_sale.pos_sales_team (noupdate switched) +# NOTHING TO DO: only the noupdate flag changed, the definition is the same diff --git a/openupgrade_scripts/scripts/pos_self_order_sms/20.0.1.0/upgrade_analysis.txt b/openupgrade_scripts/scripts/pos_self_order_sms/20.0.1.0/upgrade_analysis.txt new file mode 100644 index 00000000000..ddd2ee2cb8b --- /dev/null +++ b/openupgrade_scripts/scripts/pos_self_order_sms/20.0.1.0/upgrade_analysis.txt @@ -0,0 +1,5 @@ +---Models in module 'pos_self_order_sms'--- +---Fields in module 'pos_self_order_sms'--- +pos_self_order_sms / pos.preset / sms_receipt_template_id (many2one): NEW relation: sms.template +---XML records in module 'pos_self_order_sms'--- +NEW ir.ui.view: pos_self_order_sms.view_pos_preset_form_inherit_pos_self_order_sms diff --git a/openupgrade_scripts/scripts/pos_self_order_sms/20.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/pos_self_order_sms/20.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 00000000000..107c089e63b --- /dev/null +++ b/openupgrade_scripts/scripts/pos_self_order_sms/20.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,7 @@ +---Models in module 'pos_self_order_sms'--- +---Fields in module 'pos_self_order_sms'--- +pos_self_order_sms / pos.preset / sms_receipt_template_id (many2one): NEW relation: sms.template +# NOTHING TO DO: empty is the right value for existing records +---XML records in module 'pos_self_order_sms'--- +NEW ir.ui.view: pos_self_order_sms.view_pos_preset_form_inherit_pos_self_order_sms +# NOTHING TO DO: the record is not noupdate, so the module update creates it diff --git a/openupgrade_scripts/scripts/pos_sms/20.0.1.0/upgrade_analysis.txt b/openupgrade_scripts/scripts/pos_sms/20.0.1.0/upgrade_analysis.txt new file mode 100644 index 00000000000..bd3d2fda749 --- /dev/null +++ b/openupgrade_scripts/scripts/pos_sms/20.0.1.0/upgrade_analysis.txt @@ -0,0 +1,4 @@ +---Models in module 'pos_sms'--- +---Fields in module 'pos_sms'--- +---XML records in module 'pos_sms'--- +sms.template: pos_sms.sms_template_data_point_of_sale (noupdate switched) diff --git a/openupgrade_scripts/scripts/pos_sms/20.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/pos_sms/20.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 00000000000..e328cc97be2 --- /dev/null +++ b/openupgrade_scripts/scripts/pos_sms/20.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,5 @@ +---Models in module 'pos_sms'--- +---Fields in module 'pos_sms'--- +---XML records in module 'pos_sms'--- +sms.template: pos_sms.sms_template_data_point_of_sale (noupdate switched) +# NOTHING TO DO: only the noupdate flag changed, the definition is the same diff --git a/openupgrade_scripts/scripts/pos_stock/20.0.1.0/upgrade_analysis.txt b/openupgrade_scripts/scripts/pos_stock/20.0.1.0/upgrade_analysis.txt new file mode 100644 index 00000000000..01cd4b0745a --- /dev/null +++ b/openupgrade_scripts/scripts/pos_stock/20.0.1.0/upgrade_analysis.txt @@ -0,0 +1,47 @@ +---Models in module 'pos_stock'--- +model pos.pack.operation.lot (moved from point_of_sale) +---Fields in module 'pos_stock'--- +pos_stock / pos.config / picking_policy (selection) : previously in module point_of_sale +pos_stock / pos.config / picking_type_id (many2one) : previously in module point_of_sale +pos_stock / pos.config / route_id (many2one) : previously in module point_of_sale +pos_stock / pos.config / ship_later (boolean) : previously in module point_of_sale +pos_stock / pos.config / warehouse_id (many2one) : previously in module point_of_sale +pos_stock / pos.order / failed_pickings (boolean) : previously in module point_of_sale +pos_stock / pos.order / picking_count (integer) : previously in module point_of_sale +pos_stock / pos.order / picking_ids (one2many) : previously in module point_of_sale +pos_stock / pos.order / picking_type_id (many2one) : previously in module point_of_sale +pos_stock / pos.order / shipping_date (date) : previously in module point_of_sale +pos_stock / pos.order / stock_reference_ids (many2many): previously in module point_of_sale +pos_stock / pos.order.line / pack_lot_ids (one2many) : previously in module point_of_sale +pos_stock / pos.pack.operation.lot / _order : previously in module point_of_sale +pos_stock / pos.pack.operation.lot / display_name (char) : previously in module point_of_sale +pos_stock / pos.pack.operation.lot / lot_name (char) : previously in module point_of_sale +pos_stock / pos.pack.operation.lot / order_id (many2one) : previously in module point_of_sale +pos_stock / pos.pack.operation.lot / pos_order_line_id (many2one) : previously in module point_of_sale +pos_stock / pos.pack.operation.lot / product_id (many2one) : previously in module point_of_sale +pos_stock / pos.session / failed_pickings (boolean) : previously in module point_of_sale +pos_stock / pos.session / picking_count (integer) : previously in module point_of_sale +pos_stock / pos.session / picking_ids (one2many) : previously in module point_of_sale +pos_stock / pos.session / update_stock_at_closing (boolean): previously in module point_of_sale +pos_stock / res.company / point_of_sale_update_stock_quantities (selection): previously in module point_of_sale +pos_stock / stock.picking / pos_order_id (many2one) : previously in module point_of_sale +pos_stock / stock.picking / pos_session_id (many2one) : previously in module point_of_sale +pos_stock / stock.picking.type / has_stock_reports_to_print (boolean): previously in module point_of_sale +pos_stock / stock.reference / pos_order_ids (many2many) : previously in module point_of_sale +pos_stock / stock.warehouse / pos_type_id (many2one) : previously in module point_of_sale +---XML records in module 'pos_stock'--- +NEW ir.access: pos_stock.access_pos_order_stock_worker +NEW ir.access: pos_stock.access_pos_pack_operation_lot +NEW ir.access: pos_stock.access_stock_location_manager +NEW ir.access: pos_stock.access_stock_move_pos_user +NEW ir.access: pos_stock.access_stock_picking_batch_pos_user +NEW ir.access: pos_stock.access_stock_picking_pos_user +NEW ir.access: pos_stock.access_stock_warehouse_pos_user +NEW ir.ui.view: pos_stock.pos_order_receipt_footer +NEW ir.ui.view: pos_stock.pos_orderline_receipt_information +NEW ir.ui.view: pos_stock.product_template_view_form_normalized_pos +NEW ir.ui.view: pos_stock.res_config_settings_view_form +NEW ir.ui.view: pos_stock.stock_reference_view_form +NEW ir.ui.view: pos_stock.view_pos_config_search +NEW ir.ui.view: pos_stock.view_pos_pos_form +NEW ir.ui.view: pos_stock.view_pos_session_form diff --git a/openupgrade_scripts/scripts/pos_stock/20.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/pos_stock/20.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 00000000000..889d16cfae0 --- /dev/null +++ b/openupgrade_scripts/scripts/pos_stock/20.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,54 @@ +---Models in module 'pos_stock'--- +model pos.pack.operation.lot (moved from point_of_sale) +# NOTHING TO DO: the model changes owning module, which apriori declares and +# base's update_module_names performs against ir_model_data +---Fields in module 'pos_stock'--- +pos_stock / pos.config / picking_policy (selection) : previously in module point_of_sale +pos_stock / pos.config / picking_type_id (many2one) : previously in module point_of_sale +pos_stock / pos.config / route_id (many2one) : previously in module point_of_sale +pos_stock / pos.config / ship_later (boolean) : previously in module point_of_sale +pos_stock / pos.config / warehouse_id (many2one) : previously in module point_of_sale +pos_stock / pos.order / failed_pickings (boolean) : previously in module point_of_sale +pos_stock / pos.order / picking_count (integer) : previously in module point_of_sale +pos_stock / pos.order / picking_ids (one2many) : previously in module point_of_sale +pos_stock / pos.order / picking_type_id (many2one) : previously in module point_of_sale +pos_stock / pos.order / shipping_date (date) : previously in module point_of_sale +pos_stock / pos.order / stock_reference_ids (many2many): previously in module point_of_sale +pos_stock / pos.order.line / pack_lot_ids (one2many) : previously in module point_of_sale +# NOTHING TO DO: the field only changed owning module, the column is the same +pos_stock / pos.pack.operation.lot / _order : previously in module point_of_sale +# NOTHING TO DO: the default ordering changed; no column and no value move +pos_stock / pos.pack.operation.lot / display_name (char) : previously in module point_of_sale +pos_stock / pos.pack.operation.lot / lot_name (char) : previously in module point_of_sale +pos_stock / pos.pack.operation.lot / order_id (many2one) : previously in module point_of_sale +pos_stock / pos.pack.operation.lot / pos_order_line_id (many2one) : previously in module point_of_sale +pos_stock / pos.pack.operation.lot / product_id (many2one) : previously in module point_of_sale +pos_stock / pos.session / failed_pickings (boolean) : previously in module point_of_sale +pos_stock / pos.session / picking_count (integer) : previously in module point_of_sale +pos_stock / pos.session / picking_ids (one2many) : previously in module point_of_sale +pos_stock / pos.session / update_stock_at_closing (boolean): previously in module point_of_sale +pos_stock / res.company / point_of_sale_update_stock_quantities (selection): previously in module point_of_sale +pos_stock / stock.picking / pos_order_id (many2one) : previously in module point_of_sale +pos_stock / stock.picking / pos_session_id (many2one) : previously in module point_of_sale +pos_stock / stock.picking.type / has_stock_reports_to_print (boolean): previously in module point_of_sale +pos_stock / stock.reference / pos_order_ids (many2many) : previously in module point_of_sale +pos_stock / stock.warehouse / pos_type_id (many2one) : previously in module point_of_sale +# NOTHING TO DO: the field only changed owning module, the column is the same +---XML records in module 'pos_stock'--- +NEW ir.access: pos_stock.access_pos_order_stock_worker +NEW ir.access: pos_stock.access_pos_pack_operation_lot +NEW ir.access: pos_stock.access_stock_location_manager +NEW ir.access: pos_stock.access_stock_move_pos_user +NEW ir.access: pos_stock.access_stock_picking_batch_pos_user +NEW ir.access: pos_stock.access_stock_picking_pos_user +NEW ir.access: pos_stock.access_stock_warehouse_pos_user +# NOTHING TO DO: base folds ir.model.access and ir.rule into ir.access, keeping the xml_ids +NEW ir.ui.view: pos_stock.pos_order_receipt_footer +NEW ir.ui.view: pos_stock.pos_orderline_receipt_information +NEW ir.ui.view: pos_stock.product_template_view_form_normalized_pos +NEW ir.ui.view: pos_stock.res_config_settings_view_form +NEW ir.ui.view: pos_stock.stock_reference_view_form +NEW ir.ui.view: pos_stock.view_pos_config_search +NEW ir.ui.view: pos_stock.view_pos_pos_form +NEW ir.ui.view: pos_stock.view_pos_session_form +# NOTHING TO DO: the record is not noupdate, so the module update creates it diff --git a/openupgrade_scripts/scripts/pos_stripe/20.0.1.0/upgrade_analysis.txt b/openupgrade_scripts/scripts/pos_stripe/20.0.1.0/upgrade_analysis.txt new file mode 100644 index 00000000000..831da2402bc --- /dev/null +++ b/openupgrade_scripts/scripts/pos_stripe/20.0.1.0/upgrade_analysis.txt @@ -0,0 +1,5 @@ +---Models in module 'pos_stripe'--- +---Fields in module 'pos_stripe'--- +---XML records in module 'pos_stripe'--- +DEL ir.ui.view: pos_self_order_stripe.stripe +DEL ir.ui.view: pos_stripe.stripe diff --git a/openupgrade_scripts/scripts/pos_stripe/20.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/pos_stripe/20.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 00000000000..bb9aa14a698 --- /dev/null +++ b/openupgrade_scripts/scripts/pos_stripe/20.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,6 @@ +---Models in module 'pos_stripe'--- +---Fields in module 'pos_stripe'--- +---XML records in module 'pos_stripe'--- +DEL ir.ui.view: pos_self_order_stripe.stripe +DEL ir.ui.view: pos_stripe.stripe +# NOTHING TO DO: the record is not noupdate, so the module update removes it