From 206faa70b078de2c6766ac90acff9e7547aaa366 Mon Sep 17 00:00:00 2001 From: "Adrien Guilliams (adgu)" Date: Thu, 23 Mar 2023 08:32:05 +0000 Subject: [PATCH] [FIX] pos_daily_sales_reports: SaleDetailsButton not working properly With the addition of the pos_daily_sales_reports module, the get_sale_details function return was different which was deregulating the expectation of the SaleDetailsReport.xml file (printing detail reports on ticket). This is now changed thanks to an override of some part of the file when installing the module pos_daily_sales_details. closes odoo/odoo#117006 X-original-commit: 79d309d38bdf0ef68c1c85228b94cdea0da55ccf Signed-off-by: Trinh Jacky (trj) --- .../static/src/xml/SaleDetailsReport.xml | 63 ++++++++++++++----- 1 file changed, 49 insertions(+), 14 deletions(-) diff --git a/addons/point_of_sale/static/src/xml/SaleDetailsReport.xml b/addons/point_of_sale/static/src/xml/SaleDetailsReport.xml index 7fcaaad64e8..6436759f164 100644 --- a/addons/point_of_sale/static/src/xml/SaleDetailsReport.xml +++ b/addons/point_of_sale/static/src/xml/SaleDetailsReport.xml @@ -13,21 +13,56 @@

+
+ SOLD: +
+
- -
- - - - - - - x - - -
- -
Discount: %
+ + +
+ + + + + + + x + + +
+ +
Discount: %
+
+
+
+
+ +
+
------------------------
+
+ +
+ REFUNDED: +
+ +
+ + +
+ + + + + + + x + + +
+ +
Discount: %
+