mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-27 10:58:41 -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
62457cfec0
commit
2bc8fdcd6a
@ -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