diff --git a/addons/pos_sale/migrations/13.0.1.0/openupgrade_analysis_work.txt b/addons/pos_sale/migrations/13.0.1.0/openupgrade_analysis_work.txt index a50092e2564f..0bd29820eebd 100644 --- a/addons/pos_sale/migrations/13.0.1.0/openupgrade_analysis_work.txt +++ b/addons/pos_sale/migrations/13.0.1.0/openupgrade_analysis_work.txt @@ -21,4 +21,8 @@ DEL crm.team: pos_sale.pos_sales_team [renamed to sales_team module] (noupdate) # NOTHING TO DO: renamed xmlids in sales_team DEL pos.config: point_of_sale.pos_config_main (noupdate) -# DONE: post-migration: Try to delete record +# NOTHING TO DO: point_of_sale.pos_config_main still exists in module + point_of_sale. Now the module pos_sale does not add a value for + crm_team_id in the xml file, it only rely on the default value + defined with a function in the model pos.config. The value set in + previous version should no be modified. diff --git a/addons/pos_sale/migrations/13.0.1.0/post-migration.py b/addons/pos_sale/migrations/13.0.1.0/post-migration.py index 23f10057b4a9..7c1ad46597ce 100644 --- a/addons/pos_sale/migrations/13.0.1.0/post-migration.py +++ b/addons/pos_sale/migrations/13.0.1.0/post-migration.py @@ -26,9 +26,4 @@ def _map_crm_team_id(env): def migrate(env, version): openupgrade.load_data( env.cr, "pos_sale", "migrations/13.0.1.0/noupdate_changes.xml") - openupgrade.delete_records_safely_by_xml_id( - env, [ - "point_of_sale.pos_config_main", - ] - ) _map_crm_team_id(env)