[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:
Maxime Chambreuil
2017-02-02 06:30:30 -08:00
committed by Justine Doutreloux
parent 35a8a60ae1
commit fe6ebff289
21 changed files with 441 additions and 597 deletions

View File

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