mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-26 18:38:41 -06:00
[FIX] ValueError: External ID not found in the system: base.menu_base_partner
This commit is contained in:
parent
0af8df90cf
commit
1639078911
@ -8,7 +8,7 @@ class TestDocumentPageCreateMenu(common.TransactionCase):
|
|||||||
|
|
||||||
def test_page_menu_creation(self):
|
def test_page_menu_creation(self):
|
||||||
"""Test page menu creation."""
|
"""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_created = self.env['document.page.create.menu'].create(
|
||||||
{'menu_name': 'Wiki Test menu', 'menu_parent_id': menu_parent.id}
|
{'menu_name': 'Wiki Test menu', 'menu_parent_id': menu_parent.id}
|
||||||
|
Loading…
Reference in New Issue
Block a user