Merge PR #1041 into 15.0

Signed-off-by pedrobaeza
This commit is contained in:
OCA-git-bot
2024-01-30 07:30:59 +00:00
2 changed files with 7 additions and 7 deletions

View File

@@ -70,12 +70,6 @@
</header>
<sheet string="Contract">
<field name="active" invisible="1" />
<widget
name="web_ribbon"
text="Archived"
bg_color="bg-danger"
attrs="{'invisible': [('active', '=', True)]}"
/>
<div class="oe_button_box" name="button_box">
<button
name="action_show_invoices"
@@ -91,6 +85,12 @@
/>
</button>
</div>
<widget
name="web_ribbon"
title="Archived"
bg_color="bg-danger"
attrs="{'invisible': [('active', '=', True)]}"
/>
<div class="oe_title">
<label for="name" string="Contract Name" class="oe_edit_only" />
<h3>

View File

@@ -65,7 +65,7 @@
</div>
<widget
name="web_ribbon"
text="Archived"
title="Archived"
bg_color="bg-danger"
attrs="{'invisible': [('active', '=', True)]}"
/>