[FIX] ValueError: External ID not found in the system: base.menu_base_partner

This commit is contained in:
Maxime Chambreuil 2017-01-19 14:07:54 -06:00
parent 0af8df90cf
commit 1639078911

View File

@ -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}