[FIX] document_page_aproval: Modify in records rules

Add the the group eployee to the rule "Change Request Global" to allow to the user with the rule "Change Request Approver" to create pages
This commit is contained in:
nicomacr 2019-05-31 13:34:53 -03:00 committed by Pedro M. Baeza
parent 4062ec399c
commit 629a255a71
2 changed files with 2 additions and 1 deletions

View File

@ -4,7 +4,7 @@
{
'name': 'Document Page Approval',
'version': '10.0.2.1.0',
'version': '10.0.2.2.0',
"author": "Savoir-faire Linux, Odoo Community Association (OCA)",
"website": "http://www.savoirfairelinux.com",
"license": "AGPL-3",

View File

@ -14,6 +14,7 @@
<record model="ir.rule" id="rule_change_request_global">
<field name="name">Change Request Global</field>
<field name="model_id" ref="model_document_page_history"/>
<field name="groups" eval="[(6, 0, [ref('knowledge.group_document_user')])]"/>
<field name="domain_force">['|',('state','=','approved'),('create_uid','=',user.id)]</field>
<field name="perm_read" eval="True"/>
<field name="perm_write" eval="True"/>