Initial commit: Odoo 18.0-20251222 extra-addons
This commit is contained in:
18
attachment_queue/migrations/18.0.1.0.0/pre-migrate.py
Executable file
18
attachment_queue/migrations/18.0.1.0.0/pre-migrate.py
Executable file
@@ -0,0 +1,18 @@
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
||||
|
||||
from openupgradelib import openupgrade
|
||||
|
||||
|
||||
@openupgrade.migrate()
|
||||
def migrate(env, version):
|
||||
xml_spec = [
|
||||
(
|
||||
"attachment_queue.view_attachment_queue_tree",
|
||||
"attachment_queue.view_attachment_queue_list",
|
||||
),
|
||||
(
|
||||
"attachment_queue.act_open_attachment_que_view_tree",
|
||||
"attachment_queue.act_open_attachment_que_view_list",
|
||||
),
|
||||
]
|
||||
openupgrade.rename_xmlids(env.cr, xml_spec)
|
||||
Reference in New Issue
Block a user