mirror of
https://github.com/OCA/intrastat-extrastat.git
synced 2025-02-16 17:13:41 +02:00
[FIX]intrastat_product: use env in openupgrade load_data instead of cr
As stated in https://github.com/OCA/openupgradelib/blob/master/openupgradelib/openupgrade.py#L297, the param should `env`, instead of the cursor
This commit is contained in:
@@ -6,5 +6,5 @@ from openupgradelib import openupgrade
|
||||
@openupgrade.migrate()
|
||||
def migrate(env, version):
|
||||
openupgrade.load_data(
|
||||
env.cr, "intrastat_product", "migrations/17.0.1.1.0/noupdate_changes.xml"
|
||||
env, "intrastat_product", "migrations/17.0.1.1.0/noupdate_changes.xml"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user