Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[13.0][OU-FIX] pos_sale: do not delete point_of_sale.pos_config_main #4449

Merged
merged 1 commit into from
Jun 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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.
5 changes: 0 additions & 5 deletions addons/pos_sale/migrations/13.0.1.0/post-migration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Loading