mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-24 17:38:42 -06:00
commit
489f10ffe8
@ -36,4 +36,17 @@
|
|||||||
<field name="perm_unlink" eval="True" />
|
<field name="perm_unlink" eval="True" />
|
||||||
<field name="perm_create" eval="True" />
|
<field name="perm_create" eval="True" />
|
||||||
</record>
|
</record>
|
||||||
|
<record model="ir.rule" id="rule_change_request_manager">
|
||||||
|
<field name="name">Change Request Manager</field>
|
||||||
|
<field name="model_id" ref="model_document_page_history" />
|
||||||
|
<field
|
||||||
|
name="groups"
|
||||||
|
eval="[(6, 0, [ref('document_page.group_document_manager')])]"
|
||||||
|
/>
|
||||||
|
<field name="domain_force">[(1, '=', 1)]</field>
|
||||||
|
<field name="perm_read" eval="True" />
|
||||||
|
<field name="perm_write" eval="True" />
|
||||||
|
<field name="perm_unlink" eval="True" />
|
||||||
|
<field name="perm_create" eval="True" />
|
||||||
|
</record>
|
||||||
</odoo>
|
</odoo>
|
||||||
|
@ -45,6 +45,7 @@
|
|||||||
type="object"
|
type="object"
|
||||||
string="Back to draft"
|
string="Back to draft"
|
||||||
invisible="(not am_i_owner or not am_i_approver) and (state not in ('cancelled', 'to approve'))"
|
invisible="(not am_i_owner or not am_i_approver) and (state not in ('cancelled', 'to approve'))"
|
||||||
|
groups="document_page.group_document_manager"
|
||||||
/>
|
/>
|
||||||
<field name="am_i_owner" invisible="1" />
|
<field name="am_i_owner" invisible="1" />
|
||||||
<field name="am_i_approver" invisible="1" />
|
<field name="am_i_approver" invisible="1" />
|
||||||
|
Loading…
Reference in New Issue
Block a user