Skip to content

Commit b1ce7e9

Browse files
[MIG] document_page_group: Migration to 19.0
1 parent a8427b4 commit b1ce7e9

4 files changed

Lines changed: 10 additions & 3 deletions

File tree

document_page_group/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"name": "Document Page Group",
66
"summary": """
77
Define access groups on documents""",
8-
"version": "18.0.1.0.0",
8+
"version": "19.0.1.0.0",
99
"license": "AGPL-3",
1010
"author": "Creu Blanca,Odoo Community Association (OCA)",
1111
"website": "https://github.com/OCA/knowledge",

document_page_group/security/document_page_security.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
<field name="global" eval="True" />
77
<field
88
name="domain_force"
9-
>['|','&amp;',('type', '=', 'content'),'|','|',('parent_id', '=', False), ('parent_id.group_ids','=',False),('parent_id.group_ids.users','=',user.id), '&amp;', ('type', '=', 'category'), '|', ('group_ids', '=', False), ('group_ids.users', '=', user.id)]</field>
9+
>['|','&amp;',('type', '=', 'content'),'|','|',('parent_id', '=', False), ('parent_id.group_ids','=',False),('parent_id.group_ids.user_ids','=',user.id), '&amp;', ('type', '=', 'category'), '|', ('group_ids', '=', False), ('group_ids.user_ids', '=', user.id)]</field>
1010
</record>
1111
</odoo>

document_page_group/tests/test_document_page_group.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def setUpClass(cls):
1616
"name": "user",
1717
"login": "login",
1818
"email": "email",
19-
"groups_id": [Command.link(knowledge_group)],
19+
"group_ids": [Command.link(knowledge_group)],
2020
}
2121
)
2222
cls.group = cls.env.ref("document_page.group_document_manager")
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[project]
2+
name = "odoo-addon-document_page_group"
3+
dynamic = ["version"]
4+
5+
[build-system]
6+
requires = ["whool"]
7+
build-backend = "whool.buildapi"

0 commit comments

Comments
 (0)