From 0600b87a295a8993940b927077fd7ee73c85bdbe Mon Sep 17 00:00:00 2001 From: gsinghpal Date: Wed, 20 May 2026 08:46:06 -0400 Subject: [PATCH] fix(certs): surface Fischerscope upload inline in Issue Certs wizard MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reported 2026-05-20: clicking "Issue Cert" on a job opened the wizard with a banner saying "Fischerscope file or readings needed — fill it in below before confirming", but the list view only showed status toggles (Needs Thickness / Is Ready). No upload affordance was visible. Operators had to know they could click a list row to expand into a hidden detail form where the upload field lived. The wizard model already had the file field, the .docx parser (_fp_parse_fischerscope_docx), and the @onchange that prefills readings — only the view was hiding it. Fix: promote the file upload into the list as its own editable binary column, alongside the existing Needs Thickness toggle. Operator now sees: Reference │ Type │ Customer │ Needs Thickness │ Fischerscope File (PDF or .docx) │ Parsed │ Ready Drop the file → onchange fires → readings + parsed summary populate in-row. Click "Confirm & Issue" to commit. The per-line expanded form is preserved (still accessible via row click) as a "details" panel for editing individual readings after upload — but the primary upload action is now in the list row where the operator's eyes are. Module: fusion_plating_jobs 19.0.10.15.0 → 19.0.10.16.0. Co-Authored-By: Claude Opus 4.7 (1M context) --- .../fusion_plating_jobs/__manifest__.py | 2 +- .../wizards/fp_cert_issue_wizard_views.xml | 45 ++++++++++++++++--- 2 files changed, 41 insertions(+), 6 deletions(-) diff --git a/fusion_plating/fusion_plating_jobs/__manifest__.py b/fusion_plating/fusion_plating_jobs/__manifest__.py index 1600b5e2..ca65b4d5 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.10.15.0', + 'version': '19.0.10.16.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/wizards/fp_cert_issue_wizard_views.xml b/fusion_plating/fusion_plating_jobs/wizards/fp_cert_issue_wizard_views.xml index 31e1f620..57167198 100644 --- a/fusion_plating/fusion_plating_jobs/wizards/fp_cert_issue_wizard_views.xml +++ b/fusion_plating/fusion_plating_jobs/wizards/fp_cert_issue_wizard_views.xml @@ -24,15 +24,43 @@ (Fischerscope file or readings). Fill it in below before confirming. + - - - + + + + widget="boolean_toggle" + string="Needs Thickness"/> + + + + @@ -61,13 +89,20 @@ - +

+ Auto-filled from the .docx upload above. + Edit/add rows manually as needed. +