From c730491461a4f9546113cfb56d837593ff3f60c5 Mon Sep 17 00:00:00 2001 From: "Adrien Guilliams (adgu)" Date: Mon, 12 Jun 2023 14:37:12 +0000 Subject: [PATCH] [FIX] point_of_sale: formatting X and Z reports Parts of the X and Z reports were not formatted correctly. The parts that have changed are: - The datetime of the session is no more bold. - The columns of the tables are left-aligned for strings and right align for numbers. - The page break is better handled. closes odoo/odoo#125648 Task-id: #3360275 X-original-commit: 2d7b7004d69bf67c1ca940c4418f4a5ac3479f1c Related: odoo/enterprise#42799 Signed-off-by: Monnom David (moda) Signed-off-by: Guilliams Adrien (adgu) --- .../views/report_saledetails.xml | 142 +++++++++--------- 1 file changed, 73 insertions(+), 69 deletions(-) diff --git a/addons/point_of_sale/views/report_saledetails.xml b/addons/point_of_sale/views/report_saledetails.xml index 16b7778f7d8..76ec0a42d56 100644 --- a/addons/point_of_sale/views/report_saledetails.xml +++ b/addons/point_of_sale/views/report_saledetails.xml @@ -6,7 +6,7 @@
-
+

Sales Details

@@ -17,7 +17,7 @@
-

Daily Report +

Daily Sales Report Z X

@@ -27,7 +27,7 @@

- - + -
@@ -35,23 +35,23 @@
- +

Sales

- - - - + + + + - - - -
Product CategoryProductQuantityTotal (VAT excluded)Product CategoryProductQuantityTotal (VAT excluded)
- + + @@ -63,13 +63,13 @@ + + @@ -86,10 +86,10 @@
Total - + + @@ -100,20 +100,20 @@
- +

Taxes on sales

- - - + + + - - - -
NameTax AmountBase AmountNameTax AmountBase Amount
+ @@ -122,7 +122,7 @@ + @@ -133,7 +133,7 @@
Total + @@ -141,7 +141,7 @@ + @@ -160,19 +160,19 @@

Refunds

- - - - + + + + - - - -
Product CategoryProductQuantityTotal (VAT excluded)Product CategoryProductQuantityTotal (VAT excluded)
- + + @@ -184,13 +184,13 @@ + + @@ -207,10 +207,10 @@
Total - + + @@ -228,14 +228,14 @@

Taxes on refunds

- - - + + + - - - -
NameTax AmountBase AmountNameTax AmountBase Amount
+ @@ -244,7 +244,7 @@ + @@ -255,7 +255,7 @@
Total + @@ -263,7 +263,7 @@ + @@ -281,15 +281,15 @@

Payments

- +
- - + + -
NameTotalNameTotal
+ @@ -305,7 +305,7 @@

-
+
Discounts:
@@ -329,9 +329,9 @@

Invoices

- - - + + + @@ -339,7 +339,7 @@ -
NameOrder referenceTotalNameOrder referenceTotal
+ @@ -353,7 +353,7 @@
Total - + @@ -367,27 +367,31 @@ +
+

Session Control


- Total: - - - - - - - -
- Number of transactions: +
+ Total: + + + + + + + +
+ Number of transactions: +


- + - - + + + @@ -395,7 +399,7 @@ - - -
NameName - ExpectedCountedDifferenceExpectedCountedDifference
- + @@ -403,7 +407,7 @@ + @@ -411,7 +415,7 @@ + @@ -423,7 +427,7 @@
+ @@ -438,7 +442,7 @@
- +


@@ -450,7 +454,7 @@ End of session note: - +