From 0f991a93efcf838a811ad91d83f34da814dcfd97 Mon Sep 17 00:00:00 2001 From: Aditya Dubey Date: Thu, 10 Aug 2023 10:19:49 +0530 Subject: [PATCH 01/11] [IMP] account: adapt to report layout task-3447407 Part-of: odoo/odoo#135739 Co-authored-by: Prakash Prajapati , Dheeraj Pandey --- .../report_payment_receipt_templates.xml | 41 +++++++++-------- addons/account/views/report_statement.xml | 45 ++++++++++--------- 2 files changed, 48 insertions(+), 38 deletions(-) diff --git a/addons/account/views/report_payment_receipt_templates.xml b/addons/account/views/report_payment_receipt_templates.xml index 322d1964f90..939d20f4055 100644 --- a/addons/account/views/report_payment_receipt_templates.xml +++ b/addons/account/views/report_payment_receipt_templates.xml @@ -5,38 +5,42 @@
-

Payment Receipt:

+

Payment Receipt: INV0001

+
- Payment Date: + Payment Date: 2023-01-01
+
Customer: - + Vendor: - + Marc Demo
- Payment Method: + Payment Method: Credit card
+
- Payment Amount: + Payment Amount: 50 USD
- Memo: + Memo: Sample Memo
+
@@ -61,39 +65,40 @@ - - - + + + + - - - + + + - - + + + +
2023-01-01INV001Sample Ref - 100.00 USD
2023-01-05PAY001Payment Ref 50.00 EUR25.00 USD
- Due Amount for Due Amount for INV001 - 25.0 USD
+
diff --git a/addons/account/views/report_statement.xml b/addons/account/views/report_statement.xml index 90b2e85234f..f83534c1e09 100644 --- a/addons/account/views/report_statement.xml +++ b/addons/account/views/report_statement.xml @@ -19,6 +19,7 @@
+
@@ -32,34 +33,36 @@
+
- - - - - - - - - + Journal Name + + - Bank Account Name + + + - 12345 +
- - - - - + + Statement Name + - + 2023-08-15
+
@@ -71,12 +74,12 @@ @@ -86,12 +89,12 @@ @@ -101,25 +104,27 @@
- + 2023-08-11 - + 1000.0
- + 2023-08-31 - + 1500.0
+
- + 2023-08-11 - () + Marc Demo (Bank of odoo) - - + 534677881234 + Payment Reference - + 100.0
+
From a45c6c545ffdcee3bb50b3455884b8296e5d6a7c Mon Sep 17 00:00:00 2001 From: Aditya Dubey Date: Fri, 11 Aug 2023 15:52:59 +0530 Subject: [PATCH 02/11] [IMP] hr, hr_expense, hr_skills: adapt to report layout task-3447407 Part-of: odoo/odoo#135739 Co-authored-by: Prakash Prajapati , Dheeraj Pandey --- addons/hr/report/hr_employee_badge.xml | 14 +++-- .../hr_expense/report/hr_expense_report.xml | 53 ++++++++++++------- .../static/src/scss/report_employee_cv.scss | 12 +++-- .../views/hr_employee_cv_templates.xml | 42 +++++++++------ 4 files changed, 76 insertions(+), 45 deletions(-) diff --git a/addons/hr/report/hr_employee_badge.xml b/addons/hr/report/hr_employee_badge.xml index fceef8235ff..3e7e5744767 100644 --- a/addons/hr/report/hr_employee_badge.xml +++ b/addons/hr/report/hr_employee_badge.xml @@ -14,14 +14,18 @@ diff --git a/addons/hr_expense/report/hr_expense_report.xml b/addons/hr_expense/report/hr_expense_report.xml index 364717fa3f9..32f1b3ecaee 100644 --- a/addons/hr_expense/report/hr_expense_report.xml +++ b/addons/hr_expense/report/hr_expense_report.xml @@ -5,30 +5,32 @@
+

Expenses Report

-

+

Business Trip

Employee:
-
+
Marc Demo
Date:
-
+
2023-08-11
Manager:
-
+
Mitchell Admin
Paid by:
-
+
Credit Card
+
@@ -45,46 +47,56 @@ - + - - + + - - + +
-
+ Flight Ticket
-
- : -
+ + Analytic Account Name: + 50% +
$100.001 - - + VAT + Tax Name + $120.00 + + $100.00 +
+
+
- + - + - +
Untaxed Amount$500.00
Taxes$100.00
Total + $600.00 +
+
@@ -97,8 +109,9 @@ +
-

+

Attachment Name

diff --git a/addons/hr_skills/static/src/scss/report_employee_cv.scss b/addons/hr_skills/static/src/scss/report_employee_cv.scss index a0e8eb886cf..0a1134738c7 100644 --- a/addons/hr_skills/static/src/scss/report_employee_cv.scss +++ b/addons/hr_skills/static/src/scss/report_employee_cv.scss @@ -1,6 +1,6 @@ -$text-color: #3f4650; -$text-color-secondary: #545e6c; -$text-muted: #a1b2c9; +$text-color: #16171a; +$text-color-secondary: #16171a; +$text-muted: #3b4757; $progess-bar-background: #f5f5f5; div.o_employee_cv { @@ -29,6 +29,8 @@ div.o_employee_cv { .o_sidebar { color: #fff; + margin-top: -150px; + margin-left: 500px; width: inherit; display: inline-block; max-width: 50%; @@ -55,8 +57,8 @@ div.o_employee_cv { } .o_profile_job { - color: rgba(256, 256, 256, 0.6); - font-size: 16px; + color: rgba(256, 256, 256, 0.9); + font-size: 20px; font-weight: bold; margin-top: 0; } diff --git a/addons/hr_skills/views/hr_employee_cv_templates.xml b/addons/hr_skills/views/hr_employee_cv_templates.xml index 01e3311679d..53a44b68408 100644 --- a/addons/hr_skills/views/hr_employee_cv_templates.xml +++ b/addons/hr_skills/views/hr_employee_cv_templates.xml @@ -18,43 +18,50 @@
Logo +
- + Demo Company Name +
+
+ Demo Address
-
- + From 2fc4737cc2c1dc1aca523d6c03a04f2d364a05e5 Mon Sep 17 00:00:00 2001 From: Aditya Dubey Date: Mon, 14 Aug 2023 11:57:05 +0530 Subject: [PATCH 03/11] [IMP] event: adapt to report layout task-3447407 Part-of: odoo/odoo#135739 Co-authored-by: Prakash Prajapati , Dheeraj Pandey --- addons/event/report/event_event_templates.xml | 25 +++++++++---------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/addons/event/report/event_event_templates.xml b/addons/event/report/event_event_templates.xml index 9ffbd2b064e..2c3e97e3702 100644 --- a/addons/event/report/event_event_templates.xml +++ b/addons/event/report/event_event_templates.xml @@ -188,22 +188,24 @@
+
+
From c0d758d1428c3d82e1997438b762cb379b2a2a6d Mon Sep 17 00:00:00 2001 From: Aditya Dubey Date: Wed, 16 Aug 2023 17:36:37 +0530 Subject: [PATCH 04/11] [IMP] loyalty: adapt to report layout task-3447407 Part-of: odoo/odoo#135739 Co-authored-by: Prakash Prajapati , Dheeraj Pandey --- .../report/loyalty_report_templates.xml | 41 +++++++++++++------ 1 file changed, 28 insertions(+), 13 deletions(-) diff --git a/addons/loyalty/report/loyalty_report_templates.xml b/addons/loyalty/report/loyalty_report_templates.xml index f408e0066dd..557d92fc52d 100644 --- a/addons/loyalty/report/loyalty_report_templates.xml +++ b/addons/loyalty/report/loyalty_report_templates.xml @@ -5,45 +5,50 @@
+

Congratulations - , + John Doe,

on your next order -

Here is your reward from .

+

Here is your reward from Odoo.

+
- + loyalty Reward
OR
-

+

DEMO_TEXT


Use this promo code before - + 2023-08-20

- + DEMO_CODE

Minimum purchase of - products + 5 products

Valid for purchase above - + $100

+

-
+ ABCDE12345 +


Thank you,

+

@@ -53,9 +58,10 @@
+ t-options='{"widget": "contact", "fields": ["address", "email"], "no_marker": True}'>John Doe
+
@@ -76,43 +82,52 @@ From 967ac550e38bab915180647dea6eccb2ae1b3b31 Mon Sep 17 00:00:00 2001 From: Aditya Dubey Date: Wed, 16 Aug 2023 22:03:23 +0530 Subject: [PATCH 05/11] [IMP] mrp, mrp_account: adapt to report layout task-3447407 Part-of: odoo/odoo#135739 Co-authored-by: Prakash Prajapati , Dheeraj Pandey --- .../mrp/report/mrp_production_templates.xml | 66 +++++++++++-------- addons/mrp/report/mrp_workorder_templates.xml | 14 ++-- .../report/report_mrp_templates.xml | 17 ++--- 3 files changed, 53 insertions(+), 44 deletions(-) diff --git a/addons/mrp/report/mrp_production_templates.xml b/addons/mrp/report/mrp_production_templates.xml index 656a247ff1c..e86be5e5837 100644 --- a/addons/mrp/report/mrp_production_templates.xml +++ b/addons/mrp/report/mrp_production_templates.xml @@ -8,47 +8,47 @@
-

+

MRP-001

-
+ Package barcode
Source:
- + Vendor ABC
Responsible:
- + John Doe
Deadline:
- + 2023-09-15
Product:
- + Laptop Model X
Description:
- + Laptop with 16GB RAM
Quantity to Produce:
- - + 100 + Units
-
+
Quantity Producing:
- - + 50 + Units
@@ -67,24 +67,26 @@ Barcode - - + Assembling + Center A - - + 60 + 58 - + 58 -
+ 987654321098
- +
+ +
@@ -99,6 +101,7 @@
+
@@ -111,20 +114,21 @@ + @@ -137,6 +141,7 @@ +
@@ -150,7 +155,9 @@ +
+
- + 8 GB RAM
- + 2
- - + 25 + Pieces -
+ 12345678901
@@ -170,20 +177,20 @@
-
+ Product
Quantity: 1.0 - - + 5 + UOM id
-
+
Demo Barcode
-
+
12345678901
No barcode available @@ -194,6 +201,7 @@
+
diff --git a/addons/mrp/report/mrp_workorder_templates.xml b/addons/mrp/report/mrp_workorder_templates.xml index d6dcfb4297e..6599b5c1f0d 100644 --- a/addons/mrp/report/mrp_workorder_templates.xml +++ b/addons/mrp/report/mrp_workorder_templates.xml @@ -8,11 +8,11 @@
-

+

Laptop model X

-
+ 12345678901
@@ -20,23 +20,23 @@
Responsible:
- + Marc Demo
Manufacturing Order:
- + RAM

Finished Product:
- + Laptop
Quantity to Produce:
- - + 2 + Unit

diff --git a/addons/mrp_account/report/report_mrp_templates.xml b/addons/mrp_account/report/report_mrp_templates.xml index 7da587d94b6..406ef3d236a 100644 --- a/addons/mrp_account/report/report_mrp_templates.xml +++ b/addons/mrp_account/report/report_mrp_templates.xml @@ -9,10 +9,11 @@

- WIP Report for + WIP Report for Acme Corp.

+
@@ -29,29 +30,29 @@ From 809abdf7a1af73a8f8c343526634158507e1eb57 Mon Sep 17 00:00:00 2001 From: Aditya Dubey Date: Thu, 17 Aug 2023 14:42:58 +0530 Subject: [PATCH 06/11] [IMP] point_of_sale: adapt to report layout task-3447407 Part-of: odoo/odoo#135739 Co-authored-by: Prakash Prajapati , Dheeraj Pandey --- .../views/report_saledetails.xml | 286 +++++++++--------- .../point_of_sale/views/report_userlabel.xml | 14 +- 2 files changed, 155 insertions(+), 145 deletions(-) diff --git a/addons/point_of_sale/views/report_saledetails.xml b/addons/point_of_sale/views/report_saledetails.xml index bf32dc27c37..fae91dd4cc1 100644 --- a/addons/point_of_sale/views/report_saledetails.xml +++ b/addons/point_of_sale/views/report_saledetails.xml @@ -3,16 +3,18 @@ From e95ea1ab3d02a5b10db6524d79cd136183198c33 Mon Sep 17 00:00:00 2001 From: Aditya Dubey Date: Fri, 18 Aug 2023 10:36:43 +0530 Subject: [PATCH 08/11] [IMP] purchase_requisition: adapt to report layout task-3447407 Part-of: odoo/odoo#135739 Co-authored-by: Prakash Prajapati , Dheeraj Pandey --- .../report/report_purchaserequisition.xml | 49 +++++++++---------- 1 file changed, 24 insertions(+), 25 deletions(-) diff --git a/addons/purchase_requisition/report/report_purchaserequisition.xml b/addons/purchase_requisition/report/report_purchaserequisition.xml index 81444b083b0..3c637afcd4e 100644 --- a/addons/purchase_requisition/report/report_purchaserequisition.xml +++ b/addons/purchase_requisition/report/report_purchaserequisition.xml @@ -5,36 +5,37 @@ -
-

:

+ VAT123 +

: VAT_DEMO

-

+

VAT Type Demo

- Reference:
- + Reference:
+ Reference Demo
Scheduled Ordering Date:
- + 2023-08-20
Agreement Deadline:
- + 2023-09-15
Source:
- + Origin Demo

Products

+
- + 2023-08-15 - + REF123 - + Laptop - + 5 - + Units - + $1000
Total - + $5000
@@ -51,27 +52,25 @@ + - - - @@ -91,13 +90,13 @@ From a50ffd4fa67a6bf37c73fbef41d12c974284cf4b Mon Sep 17 00:00:00 2001 From: Aditya Dubey Date: Fri, 18 Aug 2023 11:14:40 +0530 Subject: [PATCH 09/11] [IMP] repair: adapt to report layout task-3447407 Part-of: odoo/odoo#135739 Co-authored-by: Prakash Prajapati , Dheeraj Pandey --- .../report/repair_templates_repair_order.xml | 40 ++++++++++--------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/addons/repair/report/repair_templates_repair_order.xml b/addons/repair/report/repair_templates_repair_order.xml index abda8ab2680..53551b6f52b 100644 --- a/addons/repair/report/repair_templates_repair_order.xml +++ b/addons/repair/report/repair_templates_repair_order.xml @@ -6,36 +6,39 @@
+

Repair Order #: - + RO123456

+

Customer: - + John Doe

Product: - + Laptop

Lot/Serial: - + L12345

Status: - + Pending

Responsible: - + Jane Smith

+

Parts

- - [ ] - - + + [ Code ] + + Product - + Description Demo - + 5 + + Unit - - - + Price - + 2023-08-11
- + Vendor Name - + 2023-08-15 - + Reference Demo
@@ -45,24 +48,23 @@ - - - - - - + + + +
-

(Add)

-

(Remove)

-
- - -
+

(Add) Product A

+

(Remove) Product B

+
+ 5 + Units +
+

Repair Notes

-

+ This is a repair note.

From 95880f43c59c061f2a971ba8f41f9912139b798a Mon Sep 17 00:00:00 2001 From: Aditya Dubey Date: Fri, 18 Aug 2023 15:01:40 +0530 Subject: [PATCH 10/11] [IMP] stock, _*: adapt to report layout _* = product_expiry, stock_picking_batch task-3447407 Part-of: odoo/odoo#135739 Co-authored-by: Prakash Prajapati , Dheeraj Pandey --- .../report/report_lot_barcode.xml | 2 +- .../stock/report/report_location_barcode.xml | 8 ++-- addons/stock/report/report_lot_barcode.xml | 15 ++++--- .../stock/report/report_package_barcode.xml | 27 +++++++----- addons/stock/report/report_return_slip.xml | 13 +++--- .../stock/report/report_stock_reception.xml | 37 ++++++++-------- addons/stock/report/report_stockinventory.xml | 19 ++++---- .../report/report_picking_batch.xml | 44 ++++++++++--------- 8 files changed, 90 insertions(+), 75 deletions(-) diff --git a/addons/product_expiry/report/report_lot_barcode.xml b/addons/product_expiry/report/report_lot_barcode.xml index 6da061479b1..7ac43200d6c 100644 --- a/addons/product_expiry/report/report_lot_barcode.xml +++ b/addons/product_expiry/report/report_lot_barcode.xml @@ -1,7 +1,7 @@ diff --git a/addons/stock/report/report_package_barcode.xml b/addons/stock/report/report_package_barcode.xml index f967dd1b9df..3807dca0769 100644 --- a/addons/stock/report/report_package_barcode.xml +++ b/addons/stock/report/report_package_barcode.xml @@ -29,18 +29,18 @@ (package barcode)
-

Package Reference

+ Package Reference
Pack Date: -

2021-9-01

+ 2021-9-01
Package Type: -

Pallet

+ Pallet
@@ -59,7 +59,7 @@ - Customizable Desk + Customizable Desk 3.00 @@ -114,26 +114,29 @@
-
+
+ Barcode Demo +
-
SSCC:
-
Pack Date:
-
Package Type:
+
SSCC: SSCC Demo
+
Pack Date: Pack Date Demo
+
Package Type: Package Type Demo
-
-
+ Name Demo + Name Demo
-
Pack Date:
+
Pack Date: 2023-01-01
-
Package Type:
+
Package Type: Package Type Demo
+
diff --git a/addons/stock/report/report_return_slip.xml b/addons/stock/report/report_return_slip.xml index a37f7801077..5b2d31aa8af 100644 --- a/addons/stock/report/report_return_slip.xml +++ b/addons/stock/report/report_return_slip.xml @@ -9,26 +9,27 @@

- RETURN OF + RETURN OF Default Return Name

Please put this document inside your return parcel.
Your parcel must be sent to this address:

-
+ Demo Address and Name
-
- + Default Barcode Name + Default Name
-
+ Default O-BTN.return Barcode O-BTN.return
+
diff --git a/addons/stock/report/report_stock_reception.xml b/addons/stock/report/report_stock_reception.xml index 0bc63526637..2d773bac1a3 100644 --- a/addons/stock/report/report_stock_reception.xml +++ b/addons/stock/report/report_stock_reception.xml @@ -13,8 +13,8 @@
-
-
+ Product Display Name
+ Source Name
- + Demo Display Name - - + Display Name + Andrwep
- + Reason
@@ -65,21 +65,22 @@ - + Display Name - + + DEMO_SOURCE_DISPLAY_NAME + - () + ( + DEMO_ORIGIN_DISPLAY_NAME) : - + + DEMO_PARTNER_NAME + - Expected Delivery: + Expected Delivery: DEMO_DATE @@ -88,11 +89,11 @@ - + DEMO_PRODUCT_DISPLAY_NAME - - + DEMO_QUANTITY + DEMO_UOM diff --git a/addons/stock/report/report_stockinventory.xml b/addons/stock/report/report_stockinventory.xml index 0cb3f3a6bcd..77039aac6e0 100644 --- a/addons/stock/report/report_stockinventory.xml +++ b/addons/stock/report/report_stockinventory.xml @@ -3,11 +3,13 @@