chore(plating): de-dash shipped code + intake-neutral customer emails

Replace em-dashes and en-dashes with hyphens across 789 shipped source
files (py/xml/js/scss) so the delivered module reads as human-written;
em-dashes had become a recognizable AI-generated tell. Internal .md dev
notes are excluded. The WO-sticker mojibake strippers keep their dash
search targets (now written — / –). No logic changes: comments
and display strings only; validated with py_compile + lxml parse.

Rewrite the 7 customer notification emails to be intake-neutral
(ship-in / drop-off / pickup) and repair-aware, and fix the Shipped
email documents line (packing slip vs bill of lading; certificate only
when issued). Subjects use a hyphen separator.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
gsinghpal
2026-06-05 00:16:19 -04:00
parent c9eb61ee0c
commit 8c76a16366
789 changed files with 4692 additions and 4692 deletions

View File

@@ -1,22 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2026 Nexa Systems Inc. DEMO DATA (temporary)
Copyright 2026 Nexa Systems Inc. - DEMO DATA (temporary)
Remove this file and its manifest entry before production release.
-->
<odoo noupdate="1">
<!-- ========== NUCLEAR QUALITY PROGRAM ========== -->
<record id="demo_nuclear_program" model="fusion.plating.nuclear.program">
<field name="name">Fusion Plating Main CSA N299 Level 1 Program</field>
<field name="name">Fusion Plating Main - CSA N299 Level 1 Program</field>
<field name="facility_id" ref="fusion_plating.demo_facility_main"/>
<field name="n299_level_id" ref="fusion_plating_nuclear.n299_l1"/>
<field name="nqa1_applicable" eval="True"/>
<field name="cnsc_licensed_supplier" eval="True"/>
<field name="program_manual_rev">Rev D 2025-09-15</field>
<field name="program_manual_rev">Rev D - 2025-09-15</field>
<field name="last_audit_date" eval="(DateTime.today() - timedelta(days=120)).strftime('%Y-%m-%d')"/>
<field name="next_audit_date" eval="(DateTime.today() + timedelta(days=245)).strftime('%Y-%m-%d')"/>
<field name="state">active</field>
<field name="notes" type="html"><p>Primary nuclear quality program covering OPG and Bruce Power plating work. NQA-1 awareness maintained for potential US utility contracts. Last customer audit by OPG zero findings.</p></field>
<field name="notes" type="html"><p>Primary nuclear quality program covering OPG and Bruce Power plating work. NQA-1 awareness maintained for potential US utility contracts. Last customer audit by OPG - zero findings.</p></field>
</record>
<!-- ========== NUCLEAR ITPs ========== -->
@@ -28,7 +28,7 @@
<field name="n299_level_id" ref="fusion_plating_nuclear.n299_l1"/>
<field name="state">approved</field>
<field name="customer_approval_date" eval="(DateTime.today() - timedelta(days=45)).strftime('%Y-%m-%d')"/>
<field name="hold_points" type="html"><p><strong>HP-1:</strong> Pre-plate dimensional verification customer witness required.<br/><strong>HP-2:</strong> Post-plate thickness measurement customer hold point, work stops until released.<br/><strong>WP-1:</strong> Bath chemistry verification customer may witness.</p></field>
<field name="hold_points" type="html"><p><strong>HP-1:</strong> Pre-plate dimensional verification - customer witness required.<br/><strong>HP-2:</strong> Post-plate thickness measurement - customer hold point, work stops until released.<br/><strong>WP-1:</strong> Bath chemistry verification - customer may witness.</p></field>
<field name="test_methods" type="html"><p>Thickness: XRF per ASTM B568. Adhesion: bend test per ASTM B571. Porosity: ferroxyl test per ASTM B733. Hardness: microhardness per ASTM E384.</p></field>
<field name="acceptance_criteria" type="html"><p>EN deposit 0.0010" +/- 0.0002". Hardness 48-52 HRC after heat treat. Zero porosity on ferroxyl. 100% adhesion on bend test.</p></field>
</record>
@@ -56,7 +56,7 @@
<field name="chemistry_cert_refs">CHEM-2026-0091, CHEM-2026-0092</field>
<field name="ship_date" eval="(DateTime.today() - timedelta(days=10)).strftime('%Y-%m-%d')"/>
<field name="locked" eval="True"/>
<field name="test_results" type="html"><p>Thickness: 0.0011" (spec 0.0010" +/- 0.0002") PASS.<br/>Hardness: 50 HRC (spec 48-52 HRC) PASS.<br/>Adhesion: No separation on bend test PASS.<br/>Porosity: No indication on ferroxyl PASS.</p></field>
<field name="test_results" type="html"><p>Thickness: 0.0011" (spec 0.0010" +/- 0.0002") - PASS.<br/>Hardness: 50 HRC (spec 48-52 HRC) - PASS.<br/>Adhesion: No separation on bend test - PASS.<br/>Porosity: No indication on ferroxyl - PASS.</p></field>
</record>
</odoo>

View File

@@ -7,15 +7,15 @@
Seed data for the four CSA N299 quality levels. Retention values
reflect typical Canadian nuclear practice:
Level 1 40 years (safety-critical, often life-of-plant)
Level 2 25 years (safety-related)
Level 3 15 years (important to safety)
Level 4 7 years (commercial grade)
Level 1 - 40 years (safety-critical, often life-of-plant)
Level 2 - 25 years (safety-related)
Level 3 - 15 years (important to safety)
Level 4 - 7 years (commercial grade)
-->
<odoo noupdate="1">
<record id="n299_l1" model="fusion.plating.n299.level">
<field name="name">CSA N299 Level 1 Safety-critical</field>
<field name="name">CSA N299 Level 1 - Safety-critical</field>
<field name="code">N299_L1</field>
<field name="level_number">1</field>
<field name="retention_years">40</field>
@@ -24,7 +24,7 @@
</record>
<record id="n299_l2" model="fusion.plating.n299.level">
<field name="name">CSA N299 Level 2 Safety-related</field>
<field name="name">CSA N299 Level 2 - Safety-related</field>
<field name="code">N299_L2</field>
<field name="level_number">2</field>
<field name="retention_years">25</field>
@@ -33,7 +33,7 @@
</record>
<record id="n299_l3" model="fusion.plating.n299.level">
<field name="name">CSA N299 Level 3 Important to safety</field>
<field name="name">CSA N299 Level 3 - Important to safety</field>
<field name="code">N299_L3</field>
<field name="level_number">3</field>
<field name="retention_years">15</field>
@@ -42,7 +42,7 @@
</record>
<record id="n299_l4" model="fusion.plating.n299.level">
<field name="name">CSA N299 Level 4 Commercial grade</field>
<field name="name">CSA N299 Level 4 - Commercial grade</field>
<field name="code">N299_L4</field>
<field name="level_number">4</field>
<field name="retention_years">7</field>