mirror of
https://github.com/OCA/knowledge.git
synced 2025-12-20 12:22:18 -06:00
Migrate to 13.0 document_page_approval
To pass test is necesary set approval required to False in demo data
This commit is contained in:
@@ -164,7 +164,7 @@
|
||||
<field name="has_changes_pending_approval" invisible="1" />
|
||||
<field name="user_has_drafts" invisible="1" />
|
||||
</sheet>
|
||||
<button name="toggle_active" position="after">
|
||||
<xpath expr="//div[@name='button_box']" position="inside">
|
||||
<button
|
||||
class="oe_stat_button"
|
||||
name="action_changes_pending_approval"
|
||||
@@ -173,7 +173,7 @@
|
||||
attrs="{'invisible':[('has_changes_pending_approval','=',False),('user_has_drafts','=',False)]}"
|
||||
icon="fa-edit"
|
||||
/>
|
||||
</button>
|
||||
</xpath>
|
||||
<field name="content_uid" position="after">
|
||||
<field name="approved_uid" />
|
||||
</field>
|
||||
@@ -288,7 +288,6 @@
|
||||
<record model="ir.actions.act_window" id="action_change_requests">
|
||||
<field name="name">Change Requests</field>
|
||||
<field name="res_model">document.page.history</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field
|
||||
name="context"
|
||||
|
||||
Reference in New Issue
Block a user