mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[FIX] contract: Change web_ribbon text to title to make it translatable
This commit is contained in:
@@ -70,12 +70,6 @@
|
|||||||
</header>
|
</header>
|
||||||
<sheet string="Contract">
|
<sheet string="Contract">
|
||||||
<field name="active" invisible="1" />
|
<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">
|
<div class="oe_button_box" name="button_box">
|
||||||
<button
|
<button
|
||||||
name="action_show_invoices"
|
name="action_show_invoices"
|
||||||
@@ -91,6 +85,12 @@
|
|||||||
/>
|
/>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
<widget
|
||||||
|
name="web_ribbon"
|
||||||
|
title="Archived"
|
||||||
|
bg_color="bg-danger"
|
||||||
|
attrs="{'invisible': [('active', '=', True)]}"
|
||||||
|
/>
|
||||||
<div class="oe_title">
|
<div class="oe_title">
|
||||||
<label for="name" string="Contract Name" class="oe_edit_only" />
|
<label for="name" string="Contract Name" class="oe_edit_only" />
|
||||||
<h3>
|
<h3>
|
||||||
|
|||||||
@@ -65,7 +65,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<widget
|
<widget
|
||||||
name="web_ribbon"
|
name="web_ribbon"
|
||||||
text="Archived"
|
title="Archived"
|
||||||
bg_color="bg-danger"
|
bg_color="bg-danger"
|
||||||
attrs="{'invisible': [('active', '=', True)]}"
|
attrs="{'invisible': [('active', '=', True)]}"
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user