Skip to content

Commit

Permalink
[FIX]intrastat_product: use env in openupgrade load_data instead of cr
Browse files Browse the repository at this point in the history
As stated in https://github.com/OCA/openupgradelib/blob/master/openupgradelib/openupgrade.py#L297, the param should `env`, instead of the cursor
  • Loading branch information
GuillemCForgeFlow committed Nov 7, 2024
1 parent c69fb66 commit 5d35130
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion intrastat_product/migrations/17.0.1.1.0/post-migration.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
@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"
)

0 comments on commit 5d35130

Please sign in to comment.