[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 flachica
parent 62457cfec0
commit 2bc8fdcd6a
2 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,7 @@
{
'name': 'Document Page Approval',
'version': '11.0.2.0.0',
'version': '11.0.2.1.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"/>