From a68bf2eae7fae945b24e6977b6be98f4f6c9bbc0 Mon Sep 17 00:00:00 2001 From: gsinghpal Date: Fri, 15 May 2026 08:20:04 -0400 Subject: [PATCH] =?UTF-8?q?fix(recipes):=20noupdate=3D1=20on=205=20seeded?= =?UTF-8?q?=20recipes=20=E2=80=94=20STOP=20wiping=20user=20edits?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CRITICAL BUG: 5 of 6 seeded recipe files had which caused EVERY module upgrade to re-import the recipe and overwrite any user customisations to the base recipe (renamed steps, added child nodes, custom prompts on seeded steps). Files fixed (now noupdate="1"): - fp_recipe_enp_alum_basic.xml - fp_recipe_enp_steel_basic.xml - fp_recipe_enp_sp.xml - fp_recipe_anodize.xml - fp_recipe_chem_conversion.xml (fp_recipe_general_processing.xml was already correctly noupdate=1.) Companion entech-side action (not in this commit, executed via SQL during the fix session): 200 ir.model.data rows for the affected process_node + process_node_input records were updated to noupdate=true so the next module upgrade will skip them entirely and respect the user's current state. Recovery for users whose base recipe edits were already lost: the variants (part-cloned recipes that share the recipe name) were untouched because they have no XML xmlid match. The customisations are preserved in the variants and can be lifted back to the base recipe via the simple/tree editor. Co-Authored-By: Claude Opus 4.7 (1M context) --- fusion_plating/fusion_plating/__manifest__.py | 2 +- fusion_plating/fusion_plating/data/fp_recipe_anodize.xml | 2 +- .../fusion_plating/data/fp_recipe_chem_conversion.xml | 2 +- fusion_plating/fusion_plating/data/fp_recipe_enp_alum_basic.xml | 2 +- fusion_plating/fusion_plating/data/fp_recipe_enp_sp.xml | 2 +- .../fusion_plating/data/fp_recipe_enp_steel_basic.xml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/fusion_plating/fusion_plating/__manifest__.py b/fusion_plating/fusion_plating/__manifest__.py index f97d56e0..ad130ac5 100644 --- a/fusion_plating/fusion_plating/__manifest__.py +++ b/fusion_plating/fusion_plating/__manifest__.py @@ -5,7 +5,7 @@ { 'name': 'Fusion Plating', - 'version': '19.0.19.2.0', + 'version': '19.0.19.3.0', 'category': 'Manufacturing/Plating', 'summary': 'Core plating / metal finishing ERP: facilities, processes, tanks, baths, jobs, operators.', 'description': """ diff --git a/fusion_plating/fusion_plating/data/fp_recipe_anodize.xml b/fusion_plating/fusion_plating/data/fp_recipe_anodize.xml index 20c38da9..e30bf4fb 100644 --- a/fusion_plating/fusion_plating/data/fp_recipe_anodize.xml +++ b/fusion_plating/fusion_plating/data/fp_recipe_anodize.xml @@ -51,7 +51,7 @@ De-Masking (operation, customer-visible) --> - + diff --git a/fusion_plating/fusion_plating/data/fp_recipe_chem_conversion.xml b/fusion_plating/fusion_plating/data/fp_recipe_chem_conversion.xml index 1bd59309..a8114f0e 100644 --- a/fusion_plating/fusion_plating/data/fp_recipe_chem_conversion.xml +++ b/fusion_plating/fusion_plating/data/fp_recipe_chem_conversion.xml @@ -38,7 +38,7 @@ Post Stripping Inspection (customer-visible) --> - + diff --git a/fusion_plating/fusion_plating/data/fp_recipe_enp_alum_basic.xml b/fusion_plating/fusion_plating/data/fp_recipe_enp_alum_basic.xml index ecf5dfba..831a4565 100644 --- a/fusion_plating/fusion_plating/data/fp_recipe_enp_alum_basic.xml +++ b/fusion_plating/fusion_plating/data/fp_recipe_enp_alum_basic.xml @@ -6,7 +6,7 @@ Source: Client's Steelhead export --> - + diff --git a/fusion_plating/fusion_plating/data/fp_recipe_enp_sp.xml b/fusion_plating/fusion_plating/data/fp_recipe_enp_sp.xml index 0369a466..b7fb4412 100644 --- a/fusion_plating/fusion_plating/data/fp_recipe_enp_sp.xml +++ b/fusion_plating/fusion_plating/data/fp_recipe_enp_sp.xml @@ -70,7 +70,7 @@ └── Lab Testing Results --> - + diff --git a/fusion_plating/fusion_plating/data/fp_recipe_enp_steel_basic.xml b/fusion_plating/fusion_plating/data/fp_recipe_enp_steel_basic.xml index ff3e75b5..9c86768a 100644 --- a/fusion_plating/fusion_plating/data/fp_recipe_enp_steel_basic.xml +++ b/fusion_plating/fusion_plating/data/fp_recipe_enp_steel_basic.xml @@ -52,7 +52,7 @@ └── Post Plate Inspection (customer-visible) --> - +