diff --git a/account_payment_order/__manifest__.py b/account_payment_order/__manifest__.py index 53df19f95..16fe6d072 100644 --- a/account_payment_order/__manifest__.py +++ b/account_payment_order/__manifest__.py @@ -8,7 +8,7 @@ { 'name': 'Account Payment Order', - 'version': '12.0.1.1.0', + 'version': '12.0.1.2.0', 'license': 'AGPL-3', 'author': "ACSONE SA/NV, " "Therp BV, " diff --git a/account_payment_order/data/payment_seq.xml b/account_payment_order/data/payment_seq.xml index db5a3d54b..c382f146c 100644 --- a/account_payment_order/data/payment_seq.xml +++ b/account_payment_order/data/payment_seq.xml @@ -2,11 +2,11 @@ - - + Bank Payment Line @@ -32,5 +32,4 @@ - diff --git a/account_payment_order/migrations/12.0.1.2.0/post-migration.py b/account_payment_order/migrations/12.0.1.2.0/post-migration.py new file mode 100644 index 000000000..e50551754 --- /dev/null +++ b/account_payment_order/migrations/12.0.1.2.0/post-migration.py @@ -0,0 +1,15 @@ +# Copyright 2019 Tecnativa - Pedro M. Baeza +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). + +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.set_xml_ids_noupdate_value( + env, 'account_payment_order', [ + 'bank_payment_line_seq', + 'account_payment_line_seq', + 'account_payment_order_seq', + ], True, + )