[FIX][15.0] mail_activity_team. smart button archive
This commit is contained in:
parent
289e6869df
commit
1de302f48c
@ -22,21 +22,15 @@
|
|||||||
/>
|
/>
|
||||||
</header>
|
</header>
|
||||||
<sheet string="Activity Team">
|
<sheet string="Activity Team">
|
||||||
<div class="oe_button_box" name="button_box">
|
<widget
|
||||||
<button
|
name="web_ribbon"
|
||||||
name="toggle_active"
|
title="Archived"
|
||||||
type="object"
|
bg_color="bg-danger"
|
||||||
class="oe_stat_button"
|
attrs="{'invisible': [('active', '=', True)]}"
|
||||||
icon="fa-archive"
|
/>
|
||||||
>
|
|
||||||
<field
|
|
||||||
name="active"
|
|
||||||
widget="boolean_button"
|
|
||||||
options='{"terminology": "archive"}'
|
|
||||||
/></button>
|
|
||||||
</div>
|
|
||||||
<group>
|
<group>
|
||||||
<group name="base">
|
<group name="base">
|
||||||
|
<field name="active" invisible="1" />
|
||||||
<field name="name" />
|
<field name="name" />
|
||||||
<field name="user_id" />
|
<field name="user_id" />
|
||||||
</group>
|
</group>
|
||||||
|
Loading…
Reference in New Issue
Block a user