fix(recipes): noupdate=1 on 5 seeded recipes — STOP wiping user edits
CRITICAL BUG: 5 of 6 seeded recipe files had <data noupdate="0"> 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) <noreply@anthropic.com>
This commit is contained in:
@@ -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': """
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
De-Masking (operation, customer-visible)
|
||||
-->
|
||||
<odoo>
|
||||
<data noupdate="0">
|
||||
<data noupdate="1">
|
||||
|
||||
<!-- ========================= ROOT ========================= -->
|
||||
<record id="recipe_anodize" model="fusion.plating.process.node">
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
Post Stripping Inspection (customer-visible)
|
||||
-->
|
||||
<odoo>
|
||||
<data noupdate="0">
|
||||
<data noupdate="1">
|
||||
|
||||
<!-- ========================= ROOT ========================= -->
|
||||
<record id="recipe_chem_conversion" model="fusion.plating.process.node">
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
Source: Client's Steelhead export
|
||||
-->
|
||||
<odoo>
|
||||
<data noupdate="0">
|
||||
<data noupdate="1">
|
||||
|
||||
<!-- ===== ROOT ===== -->
|
||||
<record id="recipe_enp_alum_basic" model="fusion.plating.process.node">
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
└── Lab Testing Results
|
||||
-->
|
||||
<odoo>
|
||||
<data noupdate="0">
|
||||
<data noupdate="1">
|
||||
|
||||
<!-- ========================= ROOT ========================= -->
|
||||
<record id="recipe_enp_sp" model="fusion.plating.process.node">
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
└── Post Plate Inspection (customer-visible)
|
||||
-->
|
||||
<odoo>
|
||||
<data noupdate="0">
|
||||
<data noupdate="1">
|
||||
|
||||
<!-- ========================= ROOT ========================= -->
|
||||
<record id="recipe_enp_steel_basic" model="fusion.plating.process.node">
|
||||
|
||||
Reference in New Issue
Block a user