From e792eb10f05e53522cfd1b83e39b64e2fdd33bf0 Mon Sep 17 00:00:00 2001 From: Lucas Perais Date: Mon, 10 Jul 2023 12:15:10 +0000 Subject: [PATCH] [IMP] *: sale order report: add demo data Add Demo data in the Sale Order report to make edition more natural. *: account, sale, sale_management, web Part-of: odoo/odoo#128228 --- addons/account/views/report_invoice.xml | 18 ++++----- .../report/ir_actions_report_templates.xml | 40 ++++++++++--------- .../report/sale_report_templates.xml | 8 ++-- addons/web/views/report_templates.xml | 21 +++++++++- 4 files changed, 53 insertions(+), 34 deletions(-) diff --git a/addons/account/views/report_invoice.xml b/addons/account/views/report_invoice.xml index 0be9e27e173..66d79991498 100644 --- a/addons/account/views/report_invoice.xml +++ b/addons/account/views/report_invoice.xml @@ -297,13 +297,13 @@ --> - + Untaxed Amount + >9 @@ -314,7 +314,7 @@ Rounding - + 9 Eur @@ -322,7 +322,7 @@ Total - + 10.4 Eur @@ -342,19 +342,19 @@ - + VAT 21% on - + 9 Eur - + 1.4 Eur - + VAT 21% - + 1.4 Eur diff --git a/addons/sale/report/ir_actions_report_templates.xml b/addons/sale/report/ir_actions_report_templates.xml index 1c2660a79f6..13ba53ffcf9 100644 --- a/addons/sale/report/ir_actions_report_templates.xml +++ b/addons/sale/report/ir_actions_report_templates.xml @@ -40,28 +40,28 @@ Pro-Forma Invoice # Quotation # Order # - + SO0000
Your Reference: -

+

S:0000

Quotation Date: Order Date: -

+

2023-07-10

Expiration: -

+

2023-07-10

Salesperson: -

+

Mitchell Admin

@@ -99,37 +99,39 @@ - + Awesome Product - - + 3 + mm - + 3 - + 4% - + + VAT 21% + - + 9 - + 9 - + Awesome Services - + The previous product should be shipped with additional love @@ -141,7 +143,7 @@ + >9 @@ -169,19 +171,19 @@
-

+

Oscar Morgan

- + The payment should also be transmitted with love

Fiscal Position Remark: - + No further requirements for this payment

diff --git a/addons/sale_management/report/sale_report_templates.xml b/addons/sale_management/report/sale_report_templates.xml index 9f9ab3764cc..055506aa210 100644 --- a/addons/sale_management/report/sale_report_templates.xml +++ b/addons/sale_management/report/sale_report_templates.xml @@ -18,11 +18,11 @@ - + Awesome Product's extended warranty - % + 3% @@ -30,9 +30,9 @@
+ t-att-class="option.discount and 'text-danger' or None">150 Eur
- + 145.50 Eur
diff --git a/addons/web/views/report_templates.xml b/addons/web/views/report_templates.xml index a7df246da9b..6f1c09ec60d 100644 --- a/addons/web/views/report_templates.xml +++ b/addons/web/views/report_templates.xml @@ -296,11 +296,28 @@
- + + Invoicing address +
+
Gemini Furniture, Oscar Morgan
+
317 Fairchild Dr
+
Fairfield CA 94535
+
United States
+
(561)-239-1744
+
+
- + +
+
Gemini Furniture, Oscar Morgan
+
317 Fairchild Dr
+
Fairfield CA 94535
+
United States
+
Tax ID: 0000000000-9999999999
+
+