[16.0][MIG] document_page_group: Migration to 16.0

This commit is contained in:
FernandoRomera 2022-12-08 09:01:39 +01:00 committed by Antoni Marroig Campomar
parent 60d2457760
commit 4829d72fd0
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@
"name": "Document Page Group",
"summary": """
Define access groups on documents""",
"version": "15.0.1.0.1",
"version": "16.0.1.0.0",
"license": "AGPL-3",
"author": "Creu Blanca,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/knowledge",

View File

@ -6,8 +6,8 @@ from odoo.tests.common import TransactionCase
class TestDocumentPageGroup(TransactionCase):
def setUp(self):
super(TestDocumentPageGroup, self).setUp()
knowledge_group = self.browse_ref("knowledge.group_document_user").id
super().setUp()
knowledge_group = self.browse_ref("document_knowledge.group_document_user").id
self.user_id = self.env["res.users"].create(
{
"name": "user",