mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-13 15:34:49 -06:00

As stated in https://github.com/OCA/openupgradelib/blob/master/openupgradelib/openupgrade.py#L297, the param should `env`, instead of the cursor
13 lines
345 B
Python
13 lines
345 B
Python
# Copyright 2024 Tecnativa - Víctor Martínez
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
|
from openupgradelib import openupgrade
|
|
|
|
|
|
@openupgrade.migrate()
|
|
def migrate(env, version):
|
|
openupgrade.load_data(
|
|
env,
|
|
"document_page_access_group",
|
|
"migrations/17.0.1.1.0/noupdate_changes.xml",
|
|
)
|