mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-26 10:28:40 -06:00
Merge 9d57e74a92
into 546ecca0ed
This commit is contained in:
commit
caee226022
@ -0,0 +1,5 @@
|
||||
---Fields in module 'document_page'---
|
||||
---XML records in module 'document_page'---
|
||||
NEW ir.ui.view: document_page.document_page_css
|
||||
NEW res.groups: knowledge.group_document_user
|
||||
DEL res.groups: base.group_document_user
|
@ -0,0 +1,8 @@
|
||||
---Fields in module 'document_page'---
|
||||
---XML records in module 'document_page'---
|
||||
NEW ir.ui.view: document_page.document_page_css
|
||||
# Nothing to do
|
||||
NEW res.groups: knowledge.group_document_user
|
||||
# Done: Rename XML-IDs
|
||||
DEL res.groups: base.group_document_user
|
||||
# Nothing to do: noupdate=0 records
|
14
document_page/migrations/10.0.1.0.0/pre-migration.py
Normal file
14
document_page/migrations/10.0.1.0.0/pre-migration.py
Normal file
@ -0,0 +1,14 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright 2017 Onestein (<http://www.onestein.eu>)
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||
|
||||
from openupgradelib import openupgrade
|
||||
|
||||
_xmlid_renames = [
|
||||
('base.group_document_user', 'knowledge.group_hr_user'),
|
||||
]
|
||||
|
||||
|
||||
@openupgrade.migrate()
|
||||
def migrate(env, version):
|
||||
openupgrade.rename_xmlids(env.cr, _xmlid_renames)
|
Loading…
Reference in New Issue
Block a user