mirror of
https://github.com/OCA/knowledge.git
synced 2025-12-19 11:52:18 -06:00
[MIG] document_page: Migration to version 10.0 (#120)
* [MIG] Migration to version 10.0 * [FIX] Comments and CI errors * [FIX] ValueError: External ID not found in the system: base.menu_base_partner * [FIX] ValueError: Wrong value for ir.actions.act_window.target: 'inlineview' * [FIX] Based on @lasley comments * [FIX] External ID not found in the system: base.group_document_user
This commit is contained in:
committed by
Justine Doutreloux
parent
35a8a60ae1
commit
fe6ebff289
@@ -1,6 +1,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from openerp.tests import common
|
||||
from odoo.tests import common
|
||||
|
||||
|
||||
class TestDocumentPageCreateMenu(common.TransactionCase):
|
||||
@@ -8,7 +8,7 @@ class TestDocumentPageCreateMenu(common.TransactionCase):
|
||||
|
||||
def test_page_menu_creation(self):
|
||||
"""Test page menu creation."""
|
||||
menu_parent = self.env.ref('base.menu_base_partner')
|
||||
menu_parent = self.env.ref('knowledge.menu_document_root')
|
||||
|
||||
menu_created = self.env['document.page.create.menu'].create(
|
||||
{'menu_name': 'Wiki Test menu', 'menu_parent_id': menu_parent.id}
|
||||
|
||||
Reference in New Issue
Block a user