summaryrefslogtreecommitdiff
path: root/addons/lunch/views
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2019-12-04 07:31:11 +0000
committerNicolas Martinelli <nim@odoo.com>2019-12-04 12:01:16 +0000
commitb0605b4adc8fe13f3b4758d4cea1f7133f76ace1 (patch)
tree0e80418ec1d225dec3c98236964426c155ea8adc /addons/lunch/views
parent99a25142e448cfa16f8e85629462a547d531a095 (diff)
[FIX] *: make ribbon text translatable
closes odoo/odoo#41749 X-original-commit: 64c259fc74a8181aa381b6647a9816b6f5530dfd Related: odoo/enterprise#7216 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/lunch/views')
-rw-r--r--addons/lunch/views/lunch_product_views.xml2
-rw-r--r--addons/lunch/views/lunch_supplier_views.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/addons/lunch/views/lunch_product_views.xml b/addons/lunch/views/lunch_product_views.xml
index 5bcf3c62d25..2b7312baf4e 100644
--- a/addons/lunch/views/lunch_product_views.xml
+++ b/addons/lunch/views/lunch_product_views.xml
@@ -67,7 +67,7 @@
<form string="Products Form">
<field name="currency_id" invisible="1"/>
<sheet>
- <widget name="web_ribbon" text="Archived" bg_color="bg-danger" attrs="{'invisible': [('active', '=', True)]}"/>
+ <widget name="web_ribbon" title="Archived" bg_color="bg-danger" attrs="{'invisible': [('active', '=', True)]}"/>
<field name="image_1920" widget="image" class="oe_avatar" options="{'preview_image': 'image_128'}"/>
<div class="oe_title">
<label for="name" class="oe-edit-only"/>
diff --git a/addons/lunch/views/lunch_supplier_views.xml b/addons/lunch/views/lunch_supplier_views.xml
index c8ffab7b588..e2cbf1325e3 100644
--- a/addons/lunch/views/lunch_supplier_views.xml
+++ b/addons/lunch/views/lunch_supplier_views.xml
@@ -18,7 +18,7 @@
<field name="arch" type="xml">
<form>
<sheet>
- <widget name="web_ribbon" text="Archived" bg_color="bg-danger" attrs="{'invisible': [('active', '=', True)]}"/>
+ <widget name="web_ribbon" title="Archived" bg_color="bg-danger" attrs="{'invisible': [('active', '=', True)]}"/>
<div class="oe_title">
<label for="name" class="oe_edit_only"/>
<h1><field name="name" required="1"/></h1>