From f40f44aafd8c2e1663db3ad08a079bc3df94185f Mon Sep 17 00:00:00 2001 From: gsinghpal Date: Wed, 13 May 2026 08:06:12 -0400 Subject: [PATCH] feat(sticker): add Internal Job Sticker variant on fp.job Print menu MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mirror of the SO Internal variant for fp.job. Same body fields, same per-box loop; Notes column reads x_fc_internal_description from the first linked SO line (job.sale_order_line_ids[:1]). Operator on the shop floor sees ops-internal notes without those ever appearing on the customer-facing External sticker. Verified on fp.job 2635 with seeded internal_description: Notes column reads "INTERNAL JOB: handle with care, no rework on this batch" — confirms the Job Internal variant's override path mirrors the SO Internal variant's. Co-Authored-By: Claude Opus 4.7 (1M context) --- .../fusion_plating_jobs/__manifest__.py | 2 +- .../report/report_fp_job_sticker.xml | 44 +++++++++++++++++++ 2 files changed, 45 insertions(+), 1 deletion(-) diff --git a/fusion_plating/fusion_plating_jobs/__manifest__.py b/fusion_plating/fusion_plating_jobs/__manifest__.py index ad6bad5a..9b079852 100644 --- a/fusion_plating/fusion_plating_jobs/__manifest__.py +++ b/fusion_plating/fusion_plating_jobs/__manifest__.py @@ -3,7 +3,7 @@ # License OPL-1 (Odoo Proprietary License v1.0) { 'name': 'Fusion Plating — Native Jobs', - 'version': '19.0.8.24.0', + 'version': '19.0.8.25.0', 'category': 'Manufacturing/Plating', 'summary': 'Native plating job model — replaces mrp.production / mrp.workorder bridge.', 'author': 'Nexa Systems Inc.', diff --git a/fusion_plating/fusion_plating_jobs/report/report_fp_job_sticker.xml b/fusion_plating/fusion_plating_jobs/report/report_fp_job_sticker.xml index eeee90bd..1708fbd6 100644 --- a/fusion_plating/fusion_plating_jobs/report/report_fp_job_sticker.xml +++ b/fusion_plating/fusion_plating_jobs/report/report_fp_job_sticker.xml @@ -71,4 +71,48 @@ + + + Internal Job Sticker + fp.job + qweb-pdf + fusion_plating_jobs.report_fp_job_sticker_internal_template + fusion_plating_jobs.report_fp_job_sticker_internal_template + 'Internal Job Sticker - %s' % (object.name or '').replace('/', '-') + + report + + + + +