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