From f2a107ff29e9c4f9b4ce24569e4570f73d8cfd32 Mon Sep 17 00:00:00 2001 From: vlst Date: Mon, 7 Aug 2023 21:19:00 +0000 Subject: [PATCH] [FIX] pos*: various ui fixes pos*: point_of_sale, pos_hr, pos_restaurant In this PR we fix a number of small UI issues in the point of sale app. Issues fixed: - Align filter option in the TicketScreen search bar; - Align items in the opening popup that shows the available login options in the pos_hr module; - Align tips column in ticket screen; - Made it so clicking on the employee icon does not open the selection popup if there is only one employee configured ( as it will be empty in this case ); closes odoo/odoo#131351 Task: 3458435 Related: odoo/enterprise#45526 Signed-off-by: Joseph Caburnay (jcb) --- .../app/screens/ticket_screen/search_bar/search_bar.xml | 5 +++-- .../pos_hr/static/src/app/login_screen/login_screen.xml | 6 +++--- addons/pos_hr/static/src/app/select_cashier_mixin.js | 3 +++ addons/pos_hr/static/src/css/pos.scss | 8 ++++++++ .../overrides/components/ticket_screen/ticket_screen.xml | 4 ++-- addons/pos_restaurant/static/src/scss/restaurant.scss | 4 ++-- 6 files changed, 21 insertions(+), 9 deletions(-) diff --git a/addons/point_of_sale/static/src/app/screens/ticket_screen/search_bar/search_bar.xml b/addons/point_of_sale/static/src/app/screens/ticket_screen/search_bar/search_bar.xml index 34bb8de958c..21d43b5364a 100644 --- a/addons/point_of_sale/static/src/app/screens/ticket_screen/search_bar/search_bar.xml +++ b/addons/point_of_sale/static/src/app/screens/ticket_screen/search_bar/search_bar.xml @@ -24,8 +24,9 @@ -