Skip to content

Commit

Permalink
Merge pull request #2882 from ursais/14.0-MIG-pos_sale
Browse files Browse the repository at this point in the history
[14.0][MIG] pos_sale
  • Loading branch information
MiquelRForgeFlow authored Aug 16, 2022
2 parents 87f680a + 7d62325 commit a1f0a53
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docsource/modules130-140.rst
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ Module coverage 13.0 -> 14.0
+--------------------------------------------+-------------------------------------------------+
| |new| pos_restaurant_adyen | Nothing to do |
+--------------------------------------------+-------------------------------------------------+
|pos_sale | |
|pos_sale | Done |
+--------------------------------------------+-------------------------------------------------+
|pos_six | |
+--------------------------------------------+-------------------------------------------------+
Expand Down
Original file line number Diff line number Diff line change
@@ -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
10 changes: 10 additions & 0 deletions openupgrade_scripts/scripts/pos_sale/14.0.1.0/pre-migration.py
Original file line number Diff line number Diff line change
@@ -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
)

0 comments on commit a1f0a53

Please sign in to comment.