mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-23 04:22:04 -06:00
[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:
parent
a0910c6bae
commit
3c038cf9a2
@ -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",
|
||||
|
@ -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"/>
|
||||
|
Loading…
Reference in New Issue
Block a user