mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-25 09:58:42 -06:00
[document_page_approval] Allow Knowledge / Manager to edit previous history names and summary
This commit is contained in:
parent
984e7b31c9
commit
fc275f9c67
@ -51,6 +51,19 @@
|
|||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
|
<!-- History Form View Manager Rights -->
|
||||||
|
<record id="wiki_history_form_inherit_manager" model="ir.ui.view">
|
||||||
|
<field name="name">document.page.history.form</field>
|
||||||
|
<field name="model">document.page.history</field>
|
||||||
|
<field name="inherit_id" ref="wiki_history_form_inherit"/>
|
||||||
|
<field name="groups_id" eval="[(6, 0, [ref('document_page.group_document_manager')])]"/>
|
||||||
|
<field name="arch" type="xml">
|
||||||
|
<!-- Readonly fields -->
|
||||||
|
<field name="name" position="attributes"><attribute name="attrs">{'readonly': False}</attribute></field>
|
||||||
|
<field name="summary" position="attributes"><attribute name="attrs">{'readonly': False}</attribute></field>
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
|
||||||
<!-- Page Form View -->
|
<!-- Page Form View -->
|
||||||
<record id="wiki_form_inherit" model="ir.ui.view">
|
<record id="wiki_form_inherit" model="ir.ui.view">
|
||||||
<field name="name">document.page.form</field>
|
<field name="name">document.page.form</field>
|
||||||
|
Loading…
Reference in New Issue
Block a user