Merge pull request #507 from Tecnativa/17.0-ou-fix-document_page_access_group

[17.0][OU-FIX] document_page_access_group: use env in openupgrade load_data instead of cr
This commit is contained in:
Pedro M. Baeza 2024-11-11 14:36:16 +01:00 committed by GitHub
commit 827fc0d8dc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,7 +6,7 @@ from openupgradelib import openupgrade
@openupgrade.migrate()
def migrate(env, version):
openupgrade.load_data(
env.cr,
env,
"document_page_access_group",
"migrations/17.0.1.1.0/noupdate_changes.xml",
)