From e81788f8777b4b4874739c92ba6a1c878fbcd86b Mon Sep 17 00:00:00 2001 From: "Federico (fega)" Date: Tue, 16 Nov 2021 16:16:06 +0000 Subject: [PATCH] [FIX] point_of_sale: solved 'false' is shown as name in the template Before this comment if a client had no name, false was displayed instead of an empty string in the user list. Steps to reproduce: 1) Take a database with PoS. 2) Change a contact type to Delivery Address and then remove its name 3) Open PoS and click on the Customer. Result: - In the name column 'false' is shown instead of '' If there's no name I'm showing an empty string opw-2683482 closes odoo/odoo#80557 X-original-commit: 0482c6ffe5fafe9c76debe92ac0b458d36d1ecdb Signed-off-by: Joseph Caburnay (jcb) --- .../src/xml/Screens/ClientListScreen/ClientDetailsEdit.xml | 2 +- .../static/src/xml/Screens/ClientListScreen/ClientLine.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/point_of_sale/static/src/xml/Screens/ClientListScreen/ClientDetailsEdit.xml b/addons/point_of_sale/static/src/xml/Screens/ClientListScreen/ClientDetailsEdit.xml index 5699dc64c06..b71875ce9e0 100644 --- a/addons/point_of_sale/static/src/xml/Screens/ClientListScreen/ClientDetailsEdit.xml +++ b/addons/point_of_sale/static/src/xml/Screens/ClientListScreen/ClientDetailsEdit.xml @@ -13,7 +13,7 @@ -
diff --git a/addons/point_of_sale/static/src/xml/Screens/ClientListScreen/ClientLine.xml b/addons/point_of_sale/static/src/xml/Screens/ClientListScreen/ClientLine.xml index 1961829d88f..3c84f4314c9 100644 --- a/addons/point_of_sale/static/src/xml/Screens/ClientListScreen/ClientLine.xml +++ b/addons/point_of_sale/static/src/xml/Screens/ClientListScreen/ClientLine.xml @@ -5,7 +5,7 @@ - +