[FIX][15.0] mail_activity_team. smart button archive

This commit is contained in:
Joan Mateu Jordi 2022-04-26 11:07:23 +02:00
parent 289e6869df
commit 1de302f48c

View File

@ -22,21 +22,15 @@
/>
</header>
<sheet string="Activity Team">
<div class="oe_button_box" name="button_box">
<button
name="toggle_active"
type="object"
class="oe_stat_button"
icon="fa-archive"
>
<field
name="active"
widget="boolean_button"
options='{"terminology": "archive"}'
/></button>
</div>
<widget
name="web_ribbon"
title="Archived"
bg_color="bg-danger"
attrs="{'invisible': [('active', '=', True)]}"
/>
<group>
<group name="base">
<field name="active" invisible="1" />
<field name="name" />
<field name="user_id" />
</group>