[document_page_approval] Changes because of implementation of active field on document_page

This commit is contained in:
Iván Todorovich 2018-04-24 15:07:15 -03:00
parent e1e1a06bc4
commit e92425069b

View File

@ -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"/>