mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[FIX] account_payment_order: Sequences must be noupdate=1
This commit is contained in:
@@ -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,
|
||||
)
|
||||
Reference in New Issue
Block a user