Merge PR #898 into 15.0

Signed-off-by etobella
This commit is contained in:
OCA-git-bot 2022-04-26 10:05:23 +00:00
commit 52e7041cdf

View File

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