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,4 +1,4 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright 2026 Nexa Systems Inc.
|
||||
# License OPL-1 (Odoo Proprietary License v1.0)
|
||||
# Part of the Fusion Plating product family. Data-only module — no Python imports.
|
||||
# Part of the Fusion Plating product family. Data-only module - no Python imports.
|
||||
|
||||
@@ -4,27 +4,27 @@
|
||||
# Part of the Fusion Plating product family.
|
||||
|
||||
{
|
||||
'name': 'Fusion Plating — Chrome Plating Process Pack',
|
||||
'name': 'Fusion Plating - Chrome Plating Process Pack',
|
||||
'version': '19.0.1.0.0',
|
||||
'category': 'Manufacturing/Plating',
|
||||
'summary': 'Chrome plating process types — hard and decorative, hexavalent and trivalent — with bath parameter schemas and carcinogen hazard awareness.',
|
||||
'summary': 'Chrome plating process types - hard and decorative, hexavalent and trivalent - with bath parameter schemas and carcinogen hazard awareness.',
|
||||
'description': """
|
||||
Fusion Plating — Chrome Plating Process Pack
|
||||
Fusion Plating - Chrome Plating Process Pack
|
||||
==============================================
|
||||
|
||||
Part of the Fusion Plating product family by Nexa Systems Inc.
|
||||
|
||||
This data-only module plugs into the ``fusion_plating`` core and seeds the
|
||||
process taxonomy and bath chemistry schemas specific to chrome (chromium)
|
||||
plating. No new models, no new views — just records loaded with
|
||||
plating. No new models, no new views - just records loaded with
|
||||
``noupdate="1"`` so downstream customizations survive upgrades.
|
||||
|
||||
Process types shipped
|
||||
---------------------
|
||||
* Hard Chrome — Hexavalent (Cr(VI))
|
||||
* Decorative Chrome — Hexavalent (Cr(VI))
|
||||
* Hard Chrome — Trivalent (Cr(III))
|
||||
* Decorative Chrome — Trivalent (Cr(III))
|
||||
* Hard Chrome - Hexavalent (Cr(VI))
|
||||
* Decorative Chrome - Hexavalent (Cr(VI))
|
||||
* Hard Chrome - Trivalent (Cr(III))
|
||||
* Decorative Chrome - Trivalent (Cr(III))
|
||||
* Chrome Strike
|
||||
|
||||
Bath parameters shipped
|
||||
@@ -42,14 +42,14 @@ hex-chrome process type carries ``hazard_notes`` that flag:
|
||||
|
||||
* Ontario Reg. 833 ceiling exposure limit 0.05 mg/m³ as Cr(VI).
|
||||
* Mandatory mist suppression and medical surveillance.
|
||||
* Toronto Ch. 681 sewer limits — Cr(VI) 2 mg/L, total Cr 4 mg/L.
|
||||
* Toronto Ch. 681 sewer limits - Cr(VI) 2 mg/L, total Cr 4 mg/L.
|
||||
* NPRI Part 1B reporting, CEPA Schedule 1 listing.
|
||||
* Mandatory rinse-water segregation — no storm sewer discharge
|
||||
* Mandatory rinse-water segregation - no storm sewer discharge
|
||||
(storm limit 0.0008 mg/L Cr(VI)).
|
||||
* Industry transition to trivalent chrome where part specs allow.
|
||||
|
||||
Trivalent (Cr(III)) variants are flagged as the preferred choice for new
|
||||
installations, with reduced toxicity and lower fume generation — but
|
||||
installations, with reduced toxicity and lower fume generation - but
|
||||
still subject to Toronto total-chromium discharge limits.
|
||||
|
||||
Install this module after ``fusion_plating``. It depends only on the core
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
<field name="target_max">280.0</field>
|
||||
<field name="warning_tolerance">5.0</field>
|
||||
<field name="decimals">1</field>
|
||||
<field name="description">Main bath constituent for hex chrome processes. HUMAN CARCINOGEN — critical monitoring.</field>
|
||||
<field name="description">Main bath constituent for hex chrome processes. HUMAN CARCINOGEN - critical monitoring.</field>
|
||||
</record>
|
||||
|
||||
<record id="param_cr_criii" model="fusion.plating.bath.parameter">
|
||||
@@ -125,7 +125,7 @@
|
||||
<field name="target_max">100.0</field>
|
||||
<field name="warning_tolerance">10.0</field>
|
||||
<field name="decimals">1</field>
|
||||
<field name="description">Fume suppressant. MANDATORY for hex chrome — inhalation carcinogen control.</field>
|
||||
<field name="description">Fume suppressant. MANDATORY for hex chrome - inhalation carcinogen control.</field>
|
||||
</record>
|
||||
|
||||
<record id="param_cr_volt" model="fusion.plating.bath.parameter">
|
||||
@@ -138,7 +138,7 @@
|
||||
<field name="target_max">12.0</field>
|
||||
<field name="warning_tolerance">10.0</field>
|
||||
<field name="decimals">1</field>
|
||||
<field name="description">Rectifier voltage — depends on tank geometry and CD.</field>
|
||||
<field name="description">Rectifier voltage - depends on tank geometry and CD.</field>
|
||||
</record>
|
||||
|
||||
|
||||
|
||||
@@ -9,14 +9,14 @@
|
||||
(pcat_plating) from the fusion_plating core module.
|
||||
|
||||
Color coding:
|
||||
* Red (1) = Hexavalent chrome (Cr(VI)) — confirmed human carcinogen
|
||||
* Green (4) = Trivalent chrome (Cr(III)) — significantly safer
|
||||
* Red (1) = Hexavalent chrome (Cr(VI)) - confirmed human carcinogen
|
||||
* Green (4) = Trivalent chrome (Cr(III)) - significantly safer
|
||||
* Grey (9) = Chrome strike
|
||||
-->
|
||||
<odoo noupdate="1">
|
||||
|
||||
<record id="ptype_cr_hard_hex" model="fusion.plating.process.type">
|
||||
<field name="name">Hard Chrome — Hexavalent (Cr(VI))</field>
|
||||
<field name="name">Hard Chrome - Hexavalent (Cr(VI))</field>
|
||||
<field name="code">CR_HARD_HEX</field>
|
||||
<field name="category_id" ref="fusion_plating.pcat_plating"/>
|
||||
<field name="sequence">10</field>
|
||||
@@ -41,12 +41,12 @@ Mandatory air monitoring and medical surveillance program.
|
||||
Toronto Ch. 681 sewer limits: Cr(VI) 2 mg/L, total Cr 4 mg/L.
|
||||
NPRI Part 1B reportable.
|
||||
CEPA Schedule 1 toxic substance.
|
||||
Rinse water segregation required — no storm sewer discharge (storm limit 0.0008 mg/L Cr(VI)).
|
||||
Rinse water segregation required - no storm sewer discharge (storm limit 0.0008 mg/L Cr(VI)).
|
||||
Industry transitioning to trivalent chrome where possible.</field>
|
||||
</record>
|
||||
|
||||
<record id="ptype_cr_dec_hex" model="fusion.plating.process.type">
|
||||
<field name="name">Decorative Chrome — Hexavalent (Cr(VI))</field>
|
||||
<field name="name">Decorative Chrome - Hexavalent (Cr(VI))</field>
|
||||
<field name="code">CR_DEC_HEX</field>
|
||||
<field name="category_id" ref="fusion_plating.pcat_plating"/>
|
||||
<field name="sequence">20</field>
|
||||
@@ -71,12 +71,12 @@ Mandatory air monitoring and medical surveillance program.
|
||||
Toronto Ch. 681 sewer limits: Cr(VI) 2 mg/L, total Cr 4 mg/L.
|
||||
NPRI Part 1B reportable.
|
||||
CEPA Schedule 1 toxic substance.
|
||||
Rinse water segregation required — no storm sewer discharge (storm limit 0.0008 mg/L Cr(VI)).
|
||||
Rinse water segregation required - no storm sewer discharge (storm limit 0.0008 mg/L Cr(VI)).
|
||||
Industry transitioning to trivalent chrome where possible.</field>
|
||||
</record>
|
||||
|
||||
<record id="ptype_cr_hard_tri" model="fusion.plating.process.type">
|
||||
<field name="name">Hard Chrome — Trivalent (Cr(III))</field>
|
||||
<field name="name">Hard Chrome - Trivalent (Cr(III))</field>
|
||||
<field name="code">CR_HARD_TRI</field>
|
||||
<field name="category_id" ref="fusion_plating.pcat_plating"/>
|
||||
<field name="sequence">30</field>
|
||||
@@ -89,13 +89,13 @@ Industry transitioning to trivalent chrome where possible.</field>
|
||||
ref('param_cr_volt'),
|
||||
])]"/>
|
||||
<field name="hazard_notes">Trivalent chromium (Cr(III)) is significantly less toxic than hexavalent chromium but still requires acid handling PPE.
|
||||
Lower fume generation — mist suppression still recommended.
|
||||
Lower fume generation - mist suppression still recommended.
|
||||
Toronto Ch. 681 total Cr limit still applies: 4 mg/L to sanitary, 0.04 mg/L to storm.
|
||||
Generally preferred over hex chrome for new installations where part specs allow.</field>
|
||||
</record>
|
||||
|
||||
<record id="ptype_cr_dec_tri" model="fusion.plating.process.type">
|
||||
<field name="name">Decorative Chrome — Trivalent (Cr(III))</field>
|
||||
<field name="name">Decorative Chrome - Trivalent (Cr(III))</field>
|
||||
<field name="code">CR_DEC_TRI</field>
|
||||
<field name="category_id" ref="fusion_plating.pcat_plating"/>
|
||||
<field name="sequence">40</field>
|
||||
@@ -108,7 +108,7 @@ Generally preferred over hex chrome for new installations where part specs allow
|
||||
ref('param_cr_volt'),
|
||||
])]"/>
|
||||
<field name="hazard_notes">Trivalent chromium (Cr(III)) is significantly less toxic than hexavalent chromium but still requires acid handling PPE.
|
||||
Lower fume generation — mist suppression still recommended.
|
||||
Lower fume generation - mist suppression still recommended.
|
||||
Toronto Ch. 681 total Cr limit still applies: 4 mg/L to sanitary, 0.04 mg/L to storm.
|
||||
Generally preferred over hex chrome for new installations where part specs allow.</field>
|
||||
</record>
|
||||
@@ -134,7 +134,7 @@ Mandatory air monitoring and medical surveillance program.
|
||||
Toronto Ch. 681 sewer limits: Cr(VI) 2 mg/L, total Cr 4 mg/L.
|
||||
NPRI Part 1B reportable.
|
||||
CEPA Schedule 1 toxic substance.
|
||||
Rinse water segregation required — no storm sewer discharge (storm limit 0.0008 mg/L Cr(VI)).
|
||||
Rinse water segregation required - no storm sewer discharge (storm limit 0.0008 mg/L Cr(VI)).
|
||||
Industry transitioning to trivalent chrome where possible.</field>
|
||||
</record>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user