[FIX] contract: Change web_ribbon text to title to make it translatable

This commit is contained in:
Víctor Martínez
2024-01-30 08:25:34 +01:00
parent d7e22b7a2f
commit 33e6e07bf0
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)]}"
/>