mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-23 04:22:04 -06:00
[document_page_approval] Changes because of implementation of active field on document_page
This commit is contained in:
parent
e1e1a06bc4
commit
e92425069b
@ -90,13 +90,10 @@
|
||||
<field name="user_has_drafts" invisible="1"/>
|
||||
</sheet>
|
||||
|
||||
<field name="type" position="before">
|
||||
<div class="oe_button_box" name="button_box">
|
||||
<button class="oe_stat_button" name="action_changes_pending_approval"
|
||||
string="Change Requests" type="object"
|
||||
attrs="{'invisible':[('has_changes_pending_approval','=',False),('user_has_drafts','=',False)]}" icon="fa-edit"/>
|
||||
</div>
|
||||
</field>
|
||||
<button name="toggle_active" position="after">
|
||||
<button class="oe_stat_button" name="action_changes_pending_approval" string="Change Requests" type="object"
|
||||
attrs="{'invisible':[('has_changes_pending_approval','=',False),('user_has_drafts','=',False)]}" icon="fa-edit"/>
|
||||
</button>
|
||||
|
||||
<field name="content_uid" position="after">
|
||||
<field name="approved_uid"/>
|
||||
|
Loading…
Reference in New Issue
Block a user