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:
@@ -1,13 +1,13 @@
|
||||
<?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">
|
||||
|
||||
<!-- ========== Permits ========== -->
|
||||
<record id="demo_permit_eca" model="fusion.plating.permit">
|
||||
<field name="name">ECA — Main Plant Plating Operations</field>
|
||||
<field name="name">ECA - Main Plant Plating Operations</field>
|
||||
<field name="permit_type">eca</field>
|
||||
<field name="number">ECA-2024-0439</field>
|
||||
<field name="facility_id" ref="fusion_plating.demo_facility_main"/>
|
||||
@@ -19,7 +19,7 @@
|
||||
</record>
|
||||
|
||||
<record id="demo_permit_sewer" model="fusion.plating.permit">
|
||||
<field name="name">Sewer Use Permit — Main Plant</field>
|
||||
<field name="name">Sewer Use Permit - Main Plant</field>
|
||||
<field name="permit_type">sewer</field>
|
||||
<field name="number">SUP-2025-0112</field>
|
||||
<field name="facility_id" ref="fusion_plating.demo_facility_main"/>
|
||||
@@ -31,14 +31,14 @@
|
||||
</record>
|
||||
|
||||
<record id="demo_permit_waste_gen" model="fusion.plating.permit">
|
||||
<field name="name">Waste Generator Registration — East Annex</field>
|
||||
<field name="name">Waste Generator Registration - East Annex</field>
|
||||
<field name="permit_type">waste_generator</field>
|
||||
<field name="number">ONT-WGR-88412</field>
|
||||
<field name="facility_id" ref="fusion_plating.demo_facility_east"/>
|
||||
<field name="issue_date" eval="(DateTime.today() - timedelta(days=730)).strftime('%Y-%m-%d')"/>
|
||||
<field name="expiry_date" eval="(DateTime.today() - timedelta(days=30)).strftime('%Y-%m-%d')"/>
|
||||
<field name="state">expired</field>
|
||||
<field name="notes" type="html"><p>Expired — renewal application submitted, awaiting MECP approval.</p></field>
|
||||
<field name="notes" type="html"><p>Expired - renewal application submitted, awaiting MECP approval.</p></field>
|
||||
</record>
|
||||
|
||||
<!-- ========== Waste Streams ========== -->
|
||||
@@ -108,7 +108,7 @@
|
||||
<field name="substance">Chromic Acid</field>
|
||||
<field name="quantity">5.0</field>
|
||||
<field name="uom">l</field>
|
||||
<field name="location">Chrome line — tank overflow berm</field>
|
||||
<field name="location">Chrome line - tank overflow berm</field>
|
||||
<field name="containment_action">Spill contained within secondary containment berm. Absorbent pads deployed. Area neutralised with soda ash.</field>
|
||||
<field name="regulator_notified" eval="True"/>
|
||||
<field name="regulator_notification_date" eval="(DateTime.today() - timedelta(days=7)).strftime('%Y-%m-%d %H:%M:%S')"/>
|
||||
@@ -122,7 +122,7 @@
|
||||
<field name="substance">Nickel Sulphate Solution</field>
|
||||
<field name="quantity">2.0</field>
|
||||
<field name="uom">l</field>
|
||||
<field name="location">East Annex — nickel line transfer pump</field>
|
||||
<field name="location">East Annex - nickel line transfer pump</field>
|
||||
<field name="containment_action">Minor drip from pump seal. Caught by drip tray, cleaned immediately.</field>
|
||||
<field name="regulator_notified" eval="False"/>
|
||||
<field name="root_cause">Worn pump seal gasket.</field>
|
||||
|
||||
Reference in New Issue
Block a user