From fd9ff2c340b1a2a06daec7d857d0b0826dfbb0b2 Mon Sep 17 00:00:00 2001 From: Don Kendall Date: Wed, 23 Sep 2026 17:07:40 -0400 Subject: [PATCH] [20.0][OU-ADD] stock_*: 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. 4 modules. Assisted-by: Claude Opus 5 --- docsource/modules190-200.rst | 8 +- .../20.0.1.1/upgrade_analysis.txt | 81 ++++++++++++ .../20.0.1.1/upgrade_analysis_work.txt | 120 ++++++++++++++++++ .../20.0.1.0/upgrade_analysis.txt | 5 + .../20.0.1.0/upgrade_analysis_work.txt | 7 + .../stock_fleet/20.0.1.0/upgrade_analysis.txt | 17 +++ .../20.0.1.0/upgrade_analysis_work.txt | 22 ++++ .../20.0.1.1/upgrade_analysis.txt | 16 +++ .../20.0.1.1/upgrade_analysis_work.txt | 24 ++++ 9 files changed, 296 insertions(+), 4 deletions(-) create mode 100644 openupgrade_scripts/scripts/stock_account/20.0.1.1/upgrade_analysis.txt create mode 100644 openupgrade_scripts/scripts/stock_account/20.0.1.1/upgrade_analysis_work.txt create mode 100644 openupgrade_scripts/scripts/stock_dropshipping/20.0.1.0/upgrade_analysis.txt create mode 100644 openupgrade_scripts/scripts/stock_dropshipping/20.0.1.0/upgrade_analysis_work.txt create mode 100644 openupgrade_scripts/scripts/stock_fleet/20.0.1.0/upgrade_analysis.txt create mode 100644 openupgrade_scripts/scripts/stock_fleet/20.0.1.0/upgrade_analysis_work.txt create mode 100644 openupgrade_scripts/scripts/stock_landed_costs/20.0.1.1/upgrade_analysis.txt create mode 100644 openupgrade_scripts/scripts/stock_landed_costs/20.0.1.1/upgrade_analysis_work.txt diff --git a/docsource/modules190-200.rst b/docsource/modules190-200.rst index 8da46d62bbc..52cee90a950 100644 --- a/docsource/modules190-200.rst +++ b/docsource/modules190-200.rst @@ -1074,15 +1074,15 @@ Module coverage 19.0 -> 20.0 +---------------------------------------------------+----------------------+-------------------------------------------------+ | stock | | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| stock_account | | | +| stock_account |Nothing to do | | +---------------------------------------------------+----------------------+-------------------------------------------------+ | stock_delivery | | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| stock_dropshipping | | | +| stock_dropshipping |Nothing to do | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| stock_fleet | | | +| stock_fleet |Nothing to do | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| stock_landed_costs | | | +| stock_landed_costs |Nothing to do | | +---------------------------------------------------+----------------------+-------------------------------------------------+ | stock_maintenance | |No DB layout changes. | +---------------------------------------------------+----------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/stock_account/20.0.1.1/upgrade_analysis.txt b/openupgrade_scripts/scripts/stock_account/20.0.1.1/upgrade_analysis.txt new file mode 100644 index 00000000000..6f37b8ca742 --- /dev/null +++ b/openupgrade_scripts/scripts/stock_account/20.0.1.1/upgrade_analysis.txt @@ -0,0 +1,81 @@ +---Models in module 'stock_account'--- +obsolete model stock_account.stock.valuation.report (renamed to account.stock.valuation.report in module account) [abstract] +---Fields in module 'stock_account'--- +stock_account / account.account / account_stock_expense_id (many2one): module is now 'account' ('stock_account') +stock_account / account.account / account_stock_variation_id (many2one): module is now 'account' ('stock_account') +stock_account / account.move / closing_datetime (datetime) : NEW +stock_account / account.move / product_value_id (one2many) : NEW relation: product.value +stock_account / account.move.line / cogs_origin_id (many2one) : module is now 'account' ('stock_account') +stock_account / account.move.line / stock_move_id (many2one) : NEW relation: stock.move +stock_account / product.category / account_stock_variation_id (many2one): module is now 'account' ('stock_account') +stock_account / product.category / property_cost_method (False) : NEW selection_keys: ['average', 'fifo', 'standard'], mode: modify +stock_account / product.category / property_cost_method (selection): module is now 'account' ('stock_account') +stock_account / product.category / property_price_difference_account_id (many2one): module is now 'account' ('stock_account') +stock_account / product.category / property_stock_journal (many2one): module is now 'account' ('stock_account') +stock_account / product.category / property_stock_valuation_account_id (many2one): module is now 'account' ('stock_account') +stock_account / product.category / property_valuation (selection): module is now 'account' ('stock_account') +stock_account / product.product / cost_method (selection) : module is now 'account' ('stock_account') +stock_account / product.product / valuation (selection) : module is now 'account' ('stock_account') +stock_account / product.template / cost_method (False) : NEW selection_keys: ['average', 'fifo', 'standard'], mode: modify +stock_account / product.template / cost_method (selection) : module is now 'account' ('stock_account') +stock_account / product.template / property_price_difference_account_id (many2one): DEL relation: account.account +stock_account / product.template / valuation (selection) : module is now 'account' ('stock_account') +stock_account / product.value / account_move_id (many2one) : NEW relation: account.move +stock_account / product.value / new_cost (float) : NEW +stock_account / product.value / new_value (float) : NEW hasdefault: default +stock_account / product.value / old_cost (float) : NEW +stock_account / product.value / old_value (float) : NEW hasdefault: default +stock_account / product.value / quantity (float) : NEW +stock_account / res.company / account_stock_journal_id (many2one): module is now 'account' ('stock_account') +stock_account / res.company / account_stock_valuation_id (many2one): module is now 'account' ('stock_account') +stock_account / res.company / cost_method (False) : NEW selection_keys: ['average', 'fifo', 'standard'], mode: modify +stock_account / res.company / cost_method (selection) : module is now 'account' ('stock_account') +stock_account / res.company / inventory_period (selection) : module is now 'account' ('stock_account') +stock_account / res.company / inventory_valuation (selection): module is now 'account' ('stock_account') +stock_account / stock.move / invoice_line_ids (one2many) : NEW relation: account.move.line +stock_account / stock.move / product_value_ids (one2many) : NEW relation: product.value +---XML records in module 'stock_account'--- +NEW ir.access: stock_account.access_account_account_stock_manager +NEW ir.access: stock_account.access_account_journal_stock_manager +NEW ir.access: stock_account.access_product_value_account_manager +NEW ir.access: stock_account.access_product_value_stock_manager +NEW ir.access: stock_account.access_stock_avco_report_account_readonly +NEW ir.access: stock_account.access_stock_avco_report_stock_manager +NEW ir.access: stock_account.access_stock_move_invoicing_payments +NEW ir.access: stock_account.access_stock_move_invoicing_payments_readonly +NEW ir.access: stock_account.access_stock_picking_invoicing_payments +NEW ir.access: stock_account.access_stock_picking_invoicing_payments_readonly +NEW ir.access: stock_account.product_value_rule +NEW ir.access: stock_account.stock_avco_report_rule +NEW ir.actions.act_window: stock_account.product_value_list_action +ir.actions.act_window: stock_account.stock_avco_report_action (deleted domain) +ir.actions.act_window: stock_account.stock_move_valuation_action (deleted domain) +DEL ir.actions.client: stock_account.action_report_stock_valuation [renamed to account module] +DEL ir.cron: stock_account.ir_cron_post_stock_valuation [renamed to account module] (noupdate) +NEW ir.filters: stock_account.filter_stock_move_aging_report +NEW ir.filters: stock_account.filter_stock_move_intercompany_deliveries +DEL ir.model.access: stock_account.access_account_account_stock_manager +DEL ir.model.access: stock_account.access_account_journal_stock_manager +DEL ir.model.access: stock_account.access_stock_avco_report_account_readonly +DEL ir.model.access: stock_account.access_stock_avco_report_stock_manager +DEL ir.model.access: stock_account.access_stock_move_invoicing_payments +DEL ir.model.access: stock_account.access_stock_move_invoicing_payments_readonly +DEL ir.model.access: stock_account.access_stock_picking_invoicing_payments +DEL ir.model.access: stock_account.access_stock_picking_invoicing_payments_readonly +DEL ir.model.access: stock_account.access_stock_product_value +DEL ir.rule: stock_account.product_value_rule (noupdate) +DEL ir.rule: stock_account.stock_avco_report_rule (noupdate) +NEW ir.ui.menu: stock_account.valuation_adjustments_menu +NEW ir.ui.view: stock_account.product_template_form_view_stock_account +NEW ir.ui.view: stock_account.product_value_list_view +NEW ir.ui.view: stock_account.product_value_search_view +NEW ir.ui.view: stock_account.stock_move_view_pivot +NEW ir.ui.view: stock_account.view_move_form +DEL ir.ui.view: stock_account.product_product_view_list_at_date +DEL ir.ui.view: stock_account.view_account_form +DEL ir.ui.view: stock_account.view_category_property_form +DEL ir.ui.view: stock_account.view_category_property_form_stock +DEL ir.ui.view: stock_account.view_picking_form +DEL ir.ui.view: stock_account.view_stock_return_picking_form_inherit_stock_account +DEL ir.ui.view: stock_account.view_template_property_form_stock_account +res.groups: stock_account.group_lot_on_invoice (noupdate switched) diff --git a/openupgrade_scripts/scripts/stock_account/20.0.1.1/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/stock_account/20.0.1.1/upgrade_analysis_work.txt new file mode 100644 index 00000000000..089df55dc9b --- /dev/null +++ b/openupgrade_scripts/scripts/stock_account/20.0.1.1/upgrade_analysis_work.txt @@ -0,0 +1,120 @@ +---Models in module 'stock_account'--- +obsolete model stock_account.stock.valuation.report (renamed to account.stock.valuation.report in module account) [abstract] +# NOTHING TO DO: an abstract model has no table +---Fields in module 'stock_account'--- +stock_account / account.account / account_stock_expense_id (many2one): module is now 'account' ('stock_account') +stock_account / account.account / account_stock_variation_id (many2one): module is now 'account' ('stock_account') +# NOTHING TO DO: the field only changed owning module, the column is the same +stock_account / account.move / closing_datetime (datetime) : NEW +# NOTHING TO DO: empty is the right value for existing records +stock_account / account.move / product_value_id (one2many) : NEW relation: product.value +# NOTHING TO DO: a one2many has no column of its own +stock_account / account.move.line / cogs_origin_id (many2one) : module is now 'account' ('stock_account') +# NOTHING TO DO: the field only changed owning module, the column is the same +stock_account / account.move.line / stock_move_id (many2one) : NEW relation: stock.move +# NOTHING TO DO: empty is the right value for existing records +stock_account / product.category / account_stock_variation_id (many2one): module is now 'account' ('stock_account') +# NOTHING TO DO: the field only changed owning module, the column is the same +stock_account / product.category / property_cost_method (False) : NEW selection_keys: ['average', 'fifo', 'standard'], mode: modify +# NOTHING TO DO: keys were added to the selection, the existing values stay valid +stock_account / product.category / property_cost_method (selection): module is now 'account' ('stock_account') +stock_account / product.category / property_price_difference_account_id (many2one): module is now 'account' ('stock_account') +stock_account / product.category / property_stock_journal (many2one): module is now 'account' ('stock_account') +stock_account / product.category / property_stock_valuation_account_id (many2one): module is now 'account' ('stock_account') +stock_account / product.category / property_valuation (selection): module is now 'account' ('stock_account') +stock_account / product.product / cost_method (selection) : module is now 'account' ('stock_account') +stock_account / product.product / valuation (selection) : module is now 'account' ('stock_account') +# NOTHING TO DO: the field only changed owning module, the column is the same +stock_account / product.template / cost_method (False) : NEW selection_keys: ['average', 'fifo', 'standard'], mode: modify +# NOTHING TO DO: keys were added to the selection, the existing values stay valid +stock_account / product.template / cost_method (selection) : module is now 'account' ('stock_account') +# NOTHING TO DO: the field only changed owning module, the column is the same +stock_account / product.template / property_price_difference_account_id (many2one): DEL relation: account.account +# NOTHING TO DO: the column is left in place for database_cleanup +stock_account / product.template / valuation (selection) : module is now 'account' ('stock_account') +# NOTHING TO DO: the field only changed owning module, the column is the same +stock_account / product.value / account_move_id (many2one) : NEW relation: account.move +stock_account / product.value / new_cost (float) : NEW +# NOTHING TO DO: empty is the right value for existing records +stock_account / product.value / new_value (float) : 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 +stock_account / product.value / old_cost (float) : NEW +# NOTHING TO DO: empty is the right value for existing records +stock_account / product.value / old_value (float) : 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 +stock_account / product.value / quantity (float) : NEW +# NOTHING TO DO: empty is the right value for existing records +stock_account / res.company / account_stock_journal_id (many2one): module is now 'account' ('stock_account') +stock_account / res.company / account_stock_valuation_id (many2one): module is now 'account' ('stock_account') +# NOTHING TO DO: the field only changed owning module, the column is the same +stock_account / res.company / cost_method (False) : NEW selection_keys: ['average', 'fifo', 'standard'], mode: modify +# NOTHING TO DO: keys were added to the selection, the existing values stay valid +stock_account / res.company / cost_method (selection) : module is now 'account' ('stock_account') +stock_account / res.company / inventory_period (selection) : module is now 'account' ('stock_account') +stock_account / res.company / inventory_valuation (selection): module is now 'account' ('stock_account') +# NOTHING TO DO: the field only changed owning module, the column is the same +stock_account / stock.move / invoice_line_ids (one2many) : NEW relation: account.move.line +stock_account / stock.move / product_value_ids (one2many) : NEW relation: product.value +# NOTHING TO DO: a one2many has no column of its own +---XML records in module 'stock_account'--- +NEW ir.access: stock_account.access_account_account_stock_manager +NEW ir.access: stock_account.access_account_journal_stock_manager +NEW ir.access: stock_account.access_product_value_account_manager +NEW ir.access: stock_account.access_product_value_stock_manager +NEW ir.access: stock_account.access_stock_avco_report_account_readonly +NEW ir.access: stock_account.access_stock_avco_report_stock_manager +NEW ir.access: stock_account.access_stock_move_invoicing_payments +NEW ir.access: stock_account.access_stock_move_invoicing_payments_readonly +NEW ir.access: stock_account.access_stock_picking_invoicing_payments +NEW ir.access: stock_account.access_stock_picking_invoicing_payments_readonly +NEW ir.access: stock_account.product_value_rule +NEW ir.access: stock_account.stock_avco_report_rule +# NOTHING TO DO: base folds ir.model.access and ir.rule into ir.access, keeping the xml_ids +NEW ir.actions.act_window: stock_account.product_value_list_action +# NOTHING TO DO: the record is not noupdate, so the module update creates it +ir.actions.act_window: stock_account.stock_avco_report_action (deleted domain) +ir.actions.act_window: stock_account.stock_move_valuation_action (deleted domain) +# NOTHING TO DO: the record is not noupdate, so the module update rewrites the domain +DEL ir.actions.client: stock_account.action_report_stock_valuation [renamed to account module] +DEL ir.cron: stock_account.ir_cron_post_stock_valuation [renamed to account module] (noupdate) +# NOTHING TO DO: the record changes owning module, which apriori declares and +# base's update_module_names performs -- it re-points every ir_model_data row +# rather than recreating the record, so the ids and the data survive +NEW ir.filters: stock_account.filter_stock_move_aging_report +NEW ir.filters: stock_account.filter_stock_move_intercompany_deliveries +# NOTHING TO DO: the record is not noupdate, so the module update creates it +DEL ir.model.access: stock_account.access_account_account_stock_manager +DEL ir.model.access: stock_account.access_account_journal_stock_manager +DEL ir.model.access: stock_account.access_stock_avco_report_account_readonly +DEL ir.model.access: stock_account.access_stock_avco_report_stock_manager +DEL ir.model.access: stock_account.access_stock_move_invoicing_payments +DEL ir.model.access: stock_account.access_stock_move_invoicing_payments_readonly +DEL ir.model.access: stock_account.access_stock_picking_invoicing_payments +DEL ir.model.access: stock_account.access_stock_picking_invoicing_payments_readonly +DEL ir.model.access: stock_account.access_stock_product_value +DEL ir.rule: stock_account.product_value_rule (noupdate) +DEL ir.rule: stock_account.stock_avco_report_rule (noupdate) +# NOTHING TO DO: base folds ir.model.access and ir.rule into ir.access, keeping the xml_ids +NEW ir.ui.menu: stock_account.valuation_adjustments_menu +NEW ir.ui.view: stock_account.product_template_form_view_stock_account +NEW ir.ui.view: stock_account.product_value_list_view +NEW ir.ui.view: stock_account.product_value_search_view +NEW ir.ui.view: stock_account.stock_move_view_pivot +NEW ir.ui.view: stock_account.view_move_form +# NOTHING TO DO: the record is not noupdate, so the module update creates it +DEL ir.ui.view: stock_account.product_product_view_list_at_date +DEL ir.ui.view: stock_account.view_account_form +DEL ir.ui.view: stock_account.view_category_property_form +DEL ir.ui.view: stock_account.view_category_property_form_stock +DEL ir.ui.view: stock_account.view_picking_form +DEL ir.ui.view: stock_account.view_stock_return_picking_form_inherit_stock_account +DEL ir.ui.view: stock_account.view_template_property_form_stock_account +# NOTHING TO DO: the record is not noupdate, so the module update removes it +res.groups: stock_account.group_lot_on_invoice (noupdate switched) +# NOTHING TO DO: only the noupdate flag changed, the definition is the same diff --git a/openupgrade_scripts/scripts/stock_dropshipping/20.0.1.0/upgrade_analysis.txt b/openupgrade_scripts/scripts/stock_dropshipping/20.0.1.0/upgrade_analysis.txt new file mode 100644 index 00000000000..379b8bc421a --- /dev/null +++ b/openupgrade_scripts/scripts/stock_dropshipping/20.0.1.0/upgrade_analysis.txt @@ -0,0 +1,5 @@ +---Models in module 'stock_dropshipping'--- +---Fields in module 'stock_dropshipping'--- +---XML records in module 'stock_dropshipping'--- +ir.actions.act_window: stock_dropshipping.action_picking_tree_dropship (deleted domain) +stock.route: stock_dropshipping.route_drop_shipping (noupdate switched) diff --git a/openupgrade_scripts/scripts/stock_dropshipping/20.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/stock_dropshipping/20.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 00000000000..1f5a51746ce --- /dev/null +++ b/openupgrade_scripts/scripts/stock_dropshipping/20.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,7 @@ +---Models in module 'stock_dropshipping'--- +---Fields in module 'stock_dropshipping'--- +---XML records in module 'stock_dropshipping'--- +ir.actions.act_window: stock_dropshipping.action_picking_tree_dropship (deleted domain) +# NOTHING TO DO: the record is not noupdate, so the module update rewrites the domain +stock.route: stock_dropshipping.route_drop_shipping (noupdate switched) +# NOTHING TO DO: only the noupdate flag changed, the definition is the same diff --git a/openupgrade_scripts/scripts/stock_fleet/20.0.1.0/upgrade_analysis.txt b/openupgrade_scripts/scripts/stock_fleet/20.0.1.0/upgrade_analysis.txt new file mode 100644 index 00000000000..1705e6ba179 --- /dev/null +++ b/openupgrade_scripts/scripts/stock_fleet/20.0.1.0/upgrade_analysis.txt @@ -0,0 +1,17 @@ +---Models in module 'stock_fleet'--- +new model report.stock_fleet.report_cmr [abstract] +new model report.stock_fleet.report_cmr_batch [abstract] +---Fields in module 'stock_fleet'--- +stock_fleet / stock.picking.type / auto_print_cmr_report (boolean): NEW +---XML records in module 'stock_fleet'--- +NEW ir.actions.report: stock_fleet.action_report_cmr +NEW ir.actions.report: stock_fleet.action_report_cmr_batch +NEW ir.ui.view: stock_fleet.report_cmr +NEW ir.ui.view: stock_fleet.report_cmr_batch +NEW ir.ui.view: stock_fleet.report_cmr_document +NEW ir.ui.view: stock_fleet.report_cmr_goods_table +NEW ir.ui.view: stock_fleet.report_cmr_picking_copies +NEW ir.ui.view: stock_fleet.report_cmr_translated_label +NEW ir.ui.view: stock_fleet.stock_picking_batch_card +DEL ir.ui.view: stock_fleet.stock_picking_batch_kanban +NEW report.paperformat: stock_fleet.paperformat_cmr diff --git a/openupgrade_scripts/scripts/stock_fleet/20.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/stock_fleet/20.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 00000000000..9e821f0bd74 --- /dev/null +++ b/openupgrade_scripts/scripts/stock_fleet/20.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,22 @@ +---Models in module 'stock_fleet'--- +new model report.stock_fleet.report_cmr [abstract] +new model report.stock_fleet.report_cmr_batch [abstract] +# NOTHING TO DO: an abstract model has no table +---Fields in module 'stock_fleet'--- +stock_fleet / stock.picking.type / auto_print_cmr_report (boolean): NEW +# NOTHING TO DO: empty is the right value for existing records +---XML records in module 'stock_fleet'--- +NEW ir.actions.report: stock_fleet.action_report_cmr +NEW ir.actions.report: stock_fleet.action_report_cmr_batch +NEW ir.ui.view: stock_fleet.report_cmr +NEW ir.ui.view: stock_fleet.report_cmr_batch +NEW ir.ui.view: stock_fleet.report_cmr_document +NEW ir.ui.view: stock_fleet.report_cmr_goods_table +NEW ir.ui.view: stock_fleet.report_cmr_picking_copies +NEW ir.ui.view: stock_fleet.report_cmr_translated_label +NEW ir.ui.view: stock_fleet.stock_picking_batch_card +# NOTHING TO DO: the record is not noupdate, so the module update creates it +DEL ir.ui.view: stock_fleet.stock_picking_batch_kanban +# NOTHING TO DO: the record is not noupdate, so the module update removes it +NEW report.paperformat: stock_fleet.paperformat_cmr +# NOTHING TO DO: the record is not noupdate, so the module update creates it diff --git a/openupgrade_scripts/scripts/stock_landed_costs/20.0.1.1/upgrade_analysis.txt b/openupgrade_scripts/scripts/stock_landed_costs/20.0.1.1/upgrade_analysis.txt new file mode 100644 index 00000000000..3c75284c06e --- /dev/null +++ b/openupgrade_scripts/scripts/stock_landed_costs/20.0.1.1/upgrade_analysis.txt @@ -0,0 +1,16 @@ +---Models in module 'stock_landed_costs'--- +---Fields in module 'stock_landed_costs'--- +stock_landed_costs / product.template / landed_cost_on_product_ids (many2many): NEW relation: product.product +stock_landed_costs / stock.landed.cost / website_message_ids (one2many): DEL relation: mail.message +stock_landed_costs / stock.landed.cost.lines / apply_on_product_ids (many2many): NEW relation: product.product, hasdefault: compute +---XML records in module 'stock_landed_costs'--- +NEW ir.access: stock_landed_costs.access_stock_landed_cost +NEW ir.access: stock_landed_costs.access_stock_landed_cost_lines +NEW ir.access: stock_landed_costs.access_stock_valuation_adjustment_lines +NEW ir.access: stock_landed_costs.stock_landed_cost_rule +DEL ir.model.access: stock_landed_costs.access_stock_landed_cost +DEL ir.model.access: stock_landed_costs.access_stock_landed_cost_lines +DEL ir.model.access: stock_landed_costs.access_stock_valuation_adjustment_lines +DEL ir.rule: stock_landed_costs.stock_landed_cost_rule (noupdate) +ir.sequence: stock_landed_costs.seq_stock_landed_costs (noupdate switched) +mail.message.subtype: stock_landed_costs.mt_stock_landed_cost_open (noupdate switched) diff --git a/openupgrade_scripts/scripts/stock_landed_costs/20.0.1.1/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/stock_landed_costs/20.0.1.1/upgrade_analysis_work.txt new file mode 100644 index 00000000000..ef326c7641e --- /dev/null +++ b/openupgrade_scripts/scripts/stock_landed_costs/20.0.1.1/upgrade_analysis_work.txt @@ -0,0 +1,24 @@ +---Models in module 'stock_landed_costs'--- +---Fields in module 'stock_landed_costs'--- +stock_landed_costs / product.template / landed_cost_on_product_ids (many2many): NEW relation: product.product +# NOTHING TO DO: empty is the right value for existing records +stock_landed_costs / stock.landed.cost / website_message_ids (one2many): DEL relation: mail.message +# NOTHING TO DO: a one2many has no column, so nothing is left behind +stock_landed_costs / stock.landed.cost.lines / apply_on_product_ids (many2many): NEW relation: product.product, hasdefault: compute +# 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 +---XML records in module 'stock_landed_costs'--- +NEW ir.access: stock_landed_costs.access_stock_landed_cost +NEW ir.access: stock_landed_costs.access_stock_landed_cost_lines +NEW ir.access: stock_landed_costs.access_stock_valuation_adjustment_lines +NEW ir.access: stock_landed_costs.stock_landed_cost_rule +DEL ir.model.access: stock_landed_costs.access_stock_landed_cost +DEL ir.model.access: stock_landed_costs.access_stock_landed_cost_lines +DEL ir.model.access: stock_landed_costs.access_stock_valuation_adjustment_lines +DEL ir.rule: stock_landed_costs.stock_landed_cost_rule (noupdate) +# NOTHING TO DO: base folds ir.model.access and ir.rule into ir.access, keeping the xml_ids +ir.sequence: stock_landed_costs.seq_stock_landed_costs (noupdate switched) +mail.message.subtype: stock_landed_costs.mt_stock_landed_cost_open (noupdate switched) +# NOTHING TO DO: only the noupdate flag changed, the definition is the same