From 9826e03b4e5326ac4cc7f87dc31348851e7fbd92 Mon Sep 17 00:00:00 2001 From: gsinghpal Date: Sat, 30 May 2026 00:04:33 -0400 Subject: [PATCH] fix(plating): show additional charge under subtotal on SO + invoice PDFs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Tooling/additional charge lines (any product line with no part catalog) no longer print in the parts table — they render in the totals block under the subtotal with their entered label + amount. Subtotal is now parts-only; tax + grand total are unchanged (the charge is still a real taxed line in the data). Applies to SO confirmation and invoice, both portrait and landscape. Also aligns the invoice S/N cell to the SO's multi-serial rendering. Co-Authored-By: Claude Opus 4.7 --- .../fusion_plating_reports/__manifest__.py | 2 +- .../report/report_fp_invoice.xml | 47 +++++++++++++++---- .../report/report_fp_sale.xml | 42 +++++++++++++++-- 3 files changed, 78 insertions(+), 13 deletions(-) diff --git a/fusion_plating/fusion_plating_reports/__manifest__.py b/fusion_plating/fusion_plating_reports/__manifest__.py index 28522b42..c7b503d8 100644 --- a/fusion_plating/fusion_plating_reports/__manifest__.py +++ b/fusion_plating/fusion_plating_reports/__manifest__.py @@ -3,7 +3,7 @@ # License OPL-1 (Odoo Proprietary License v1.0) { 'name': 'Fusion Plating — Reports', - 'version': '19.0.11.32.0', + 'version': '19.0.11.33.0', 'category': 'Manufacturing/Plating', 'summary': 'PDF reports for Fusion Plating: quote, SO, WO, packing, BoL, CoC, invoice, receipt, quality + compliance.', 'depends': [ diff --git a/fusion_plating/fusion_plating_reports/report/report_fp_invoice.xml b/fusion_plating/fusion_plating_reports/report/report_fp_invoice.xml index 8e2a6dc5..5deb9928 100644 --- a/fusion_plating/fusion_plating_reports/report/report_fp_invoice.xml +++ b/fusion_plating/fusion_plating_reports/report/report_fp_invoice.xml @@ -221,7 +221,8 @@ - + + @@ -238,8 +239,8 @@
S/N: - - + +
@@ -279,15 +280,31 @@
+ + + + + + + + + + - + +
Subtotal/Sous-total - +
+ +
Taxes/Taxes @@ -559,7 +576,8 @@
@@ -576,8 +594,8 @@
S/N: - - + +
@@ -620,15 +638,28 @@
+ + + + + + + + + + - + +
Subtotal/Sous-total - +
+ +
Taxes/Taxes diff --git a/fusion_plating/fusion_plating_reports/report/report_fp_sale.xml b/fusion_plating/fusion_plating_reports/report/report_fp_sale.xml index 598d011c..5f4be355 100644 --- a/fusion_plating/fusion_plating_reports/report/report_fp_sale.xml +++ b/fusion_plating/fusion_plating_reports/report/report_fp_sale.xml @@ -392,7 +392,10 @@
+ + + + + + + + + - + +
Subtotal/Sous-total - +
+ +
Taxes/Taxes @@ -668,7 +688,8 @@
@@ -718,13 +739,26 @@
+ + + + + + + + + +
Subtotal - +
+ +
Taxes