From 168c3549b52c7aebdedb467a13200459d78d4920 Mon Sep 17 00:00:00 2001 From: Joseph Caburnay Date: Thu, 5 Aug 2021 07:58:00 +0000 Subject: [PATCH] [ADD] point_of_sale,pos_settle_due: settle customer dues in pos ui This commit adds extension points to pos to allow the features of the new module: pos_settle_due closes odoo/odoo#74870 Related: odoo/enterprise#20143 Related: odoo/upgrade#2726 Signed-off-by: pimodoo --- addons/point_of_sale/static/src/css/pos.css | 6 ++++++ .../static/src/xml/Screens/ClientListScreen/ClientLine.xml | 3 ++- .../src/xml/Screens/ClientListScreen/ClientListScreen.xml | 3 ++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/addons/point_of_sale/static/src/css/pos.css b/addons/point_of_sale/static/src/css/pos.css index 4e08726790e..db03fff78c3 100644 --- a/addons/point_of_sale/static/src/css/pos.css +++ b/addons/point_of_sale/static/src/css/pos.css @@ -1819,6 +1819,12 @@ td { .pos .clientlist-screen .client-list td { padding: 12px 8px; } + +.pos .clientlist-screen .client-list th.client-line-last-column-placeholder, +.pos .clientlist-screen .client-list td.client-line-last-column-placeholder { + padding: 0; +} + .pos .clientlist-screen .client-list tr{ transition: all 150ms linear; background: rgb(230,230,230); 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 7693f08c974..1961829d88f 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 @@ -20,10 +20,11 @@
- +
+
diff --git a/addons/point_of_sale/static/src/xml/Screens/ClientListScreen/ClientListScreen.xml b/addons/point_of_sale/static/src/xml/Screens/ClientListScreen/ClientListScreen.xml index baefab1313f..11ed3fa5076 100644 --- a/addons/point_of_sale/static/src/xml/Screens/ClientListScreen/ClientListScreen.xml +++ b/addons/point_of_sale/static/src/xml/Screens/ClientListScreen/ClientListScreen.xml @@ -65,7 +65,8 @@ Address Phone ZIP - Email + Email +