From ac824c2cfb7076142be220ef2de03c4e4a23d8df Mon Sep 17 00:00:00 2001 From: gsinghpal Date: Tue, 21 Apr 2026 23:05:58 -0400 Subject: [PATCH] feat(reports): packing slip PDF uses customer_line_header macro (Sub 2 Task 20) Rewired portrait + landscape variants of report_fp_packing_slip to use the shared customer_line_header QWeb macro. The packing slip iterates stock.move records (doc.move_ids_without_package); the adapter `` bridges the macro's `line.x_fc_part_catalog_id` lookup to the sale line when the move is tied to a sale (preferred path), falling back to rendering the stock.move's product_id for stray moves with no sale line. SKU + PRODUCT columns collapsed into a single PART column (width adjusted to absorb the removed SKU column). Both variants render successfully on entech with a real picking whose move has a sale_line_id. Co-Authored-By: Claude Opus 4.7 (1M context) --- .../report/report_fp_packing_slip.xml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/fusion_plating/fusion_plating_reports/report/report_fp_packing_slip.xml b/fusion_plating/fusion_plating_reports/report/report_fp_packing_slip.xml index b2586602..ff2878ff 100644 --- a/fusion_plating/fusion_plating_reports/report/report_fp_packing_slip.xml +++ b/fusion_plating/fusion_plating_reports/report/report_fp_packing_slip.xml @@ -77,8 +77,7 @@ - - + @@ -87,8 +86,10 @@ - - + @@ -212,8 +213,7 @@
SKUPRODUCTPART QTY UOM LOT / SERIAL
+ + +
- - + @@ -224,8 +224,10 @@ - - +
SKUPRODUCTPART ORDERED DONE UOM
+ + +