[FIX] account_payment_order: Sequences must be noupdate=1

This commit is contained in:
Pedro M. Baeza
2019-10-30 12:42:42 +01:00
parent 6b3f2b733d
commit 19fc8afb39
3 changed files with 18 additions and 4 deletions

View File

@@ -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,
)