feat(fusion_plating): kind.area_kind drives Shop Floor column routing

Add required area_kind Selection to fp.step.kind so each kind
self-declares which plant-view column its steps belong in. Replaces
the hardcoded _STEP_KIND_TO_AREA dict (removed in fp_job_step.py
in the follow-up commit).

- New `blast` kind for the Blasting column (sequence=35)
- 26 existing kind records seeded with area_kind in XML
- Pre-migrate 19.0.21.2.0 seeds existing rows BEFORE NOT NULL hits
  the schema; also activates derack/demask/gating that were
  deactivated in 19.0.20.6.0 but are needed for the full taxonomy
- Step Kind form + list views surface area_kind (badge + chip)
- Step Kind search adds Group By Shop Floor Column
- Simple Editor kind picker shows "Masking — Masking column"
  suffix so authors see the routing at pick time
- Add Hot Water Porosity Test (A-15) + Final Inspection / Packaging
  templates (used by 7+3 recipe nodes that previously had no
  library entry)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
gsinghpal
2026-05-24 17:02:02 -04:00
parent c75d2bde5a
commit 7b90f210b9
8 changed files with 223 additions and 10 deletions

View File

@@ -103,4 +103,30 @@
]]></field>
</record>
<!-- 2026-05-24 additions (19.0.21.2.0 — Shop Floor live-step fix) -->
<record id="fp_step_template_hwp_a15" model="fp.step.template">
<field name="name">Hot Water Porosity Test (A-15)</field>
<field name="code">HWP_A15</field>
<field name="kind_id" ref="step_kind_inspect"/>
<field name="icon">fa-tint</field>
<field name="description"><![CDATA[
<p>Hot-water porosity test for plated samples. Verify continuity
of the deposit across the test panel; record any porosity sites
and attach a photo when a defect is found.</p>
]]></field>
</record>
<record id="fp_step_template_final_pkg_std" model="fp.step.template">
<field name="name">Final Inspection / Packaging</field>
<field name="code">FINAL_PKG_STD</field>
<field name="kind_id" ref="step_kind_final_inspect"/>
<field name="icon">fa-check-circle</field>
<field name="description"><![CDATA[
<p>Combined final visual + dimensional inspection followed by
packaging into the customer's original boxes for shipment.
Verify part count, attach certs, photo the sealed load.</p>
]]></field>
</record>
</odoo>