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

@@ -9,14 +9,14 @@ from odoo import api, fields, models
class FpQualityHold(models.Model):
"""Quality Hold parts pulled from production for quality review.
"""Quality Hold - parts pulled from production for quality review.
Enables the Steelhead-style "Move Parts Into Quality Management"
workflow. An operator can split a partial quantity off a job and
place it on hold for inspection, rework, or scrap.
"""
_name = 'fusion.plating.quality.hold'
_description = 'Fusion Plating Quality Hold'
_description = 'Fusion Plating - Quality Hold'
_inherit = ['mail.thread', 'mail.activity.mixin', 'fp.parent.numbered.mixin']
_order = 'create_date desc'
@@ -30,7 +30,7 @@ class FpQualityHold(models.Model):
)
# ----- What's on hold -----
# Phase 1 (Sub 11) native plating-job link replaces the legacy
# Phase 1 (Sub 11) - native plating-job link replaces the legacy
# workorder_id / production_id pair that lived in bridge_mrp.
# The bridge fields stay during the migration window so existing
# records keep their FKs; Phase 5 removes bridge_mrp entirely.
@@ -56,7 +56,7 @@ class FpQualityHold(models.Model):
('contamination', 'Contamination'),
('customer_complaint', 'Customer Complaint'),
('process_deviation', 'Process Deviation'),
# v19.0.4.8.0 Distinct bucket so QA can split QC-failed
# v19.0.4.8.0 - Distinct bucket so QA can split QC-failed
# holds (auto-spawned by fusion.plating.quality.check.action_fail)
# from operator-flagged process deviations / contamination.
('qc_failure', 'QC Failure'),
@@ -70,7 +70,7 @@ class FpQualityHold(models.Model):
description = fields.Text(
string='Description',
required=True,
help='Required every hold needs an inspector narrative.',
help='Required - every hold needs an inspector narrative.',
)
attachment_ids = fields.Many2many(
'ir.attachment',