From beb50e8047f4dbe148933edd52cceadb2d5cccde Mon Sep 17 00:00:00 2001 From: Jairo Llopis Date: Wed, 13 May 2020 10:09:03 +0000 Subject: [PATCH] [FIX] portal, website_sale: translatable and responsive help text MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This help text is invisible in mobiles, where you can't "hover" to see an input's `title`. Also it was impossible to translate due to the way it was written. Now it's usable and translatable. Uses a small help text as explained in https://getbootstrap.com/docs/4.1/components/forms/#overview @Tecnativa TT17694 this commit closes #51152 closes odoo/odoo#62690 Signed-off-by: Jérémy Kersten (jke) --- addons/portal/views/portal_templates.xml | 16 +++++++++++----- addons/website_sale/views/templates.xml | 14 ++++++++++---- 2 files changed, 21 insertions(+), 9 deletions(-) diff --git a/addons/portal/views/portal_templates.xml b/addons/portal/views/portal_templates.xml index caa03a627a3..bb1d62fffc4 100644 --- a/addons/portal/views/portal_templates.xml +++ b/addons/portal/views/portal_templates.xml @@ -376,17 +376,23 @@
-
+
-

- + + + Changing company name is not allowed once document(s) have been issued for your account. Please contact us directly for this operation. +

-
+
- + + Changing VAT number is not allowed once document(s) have been issued for your account. Please contact us directly for this operation. +
+
+ Changing company name or VAT number is not allowed once document(s) have been issued for your account.
Please contact us directly for this operation.
diff --git a/addons/website_sale/views/templates.xml b/addons/website_sale/views/templates.xml index e20788c338b..17ab252640c 100644 --- a/addons/website_sale/views/templates.xml +++ b/addons/website_sale/views/templates.xml @@ -1453,14 +1453,20 @@