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:
@@ -14,13 +14,13 @@ class FpThicknessReading(models.Model):
|
||||
Data is manually entered for now; future: CSV import from equipment.
|
||||
"""
|
||||
_name = 'fp.thickness.reading'
|
||||
_description = 'Fusion Plating — Thickness Reading'
|
||||
_description = 'Fusion Plating - Thickness Reading'
|
||||
_order = 'reading_number'
|
||||
|
||||
certificate_id = fields.Many2one(
|
||||
'fp.certificate', string='Certificate', ondelete='cascade',
|
||||
)
|
||||
# Phase 6 (Sub 11) — production_id retired (MRP module gone).
|
||||
# Phase 6 (Sub 11) - production_id retired (MRP module gone).
|
||||
# Thickness readings link via certificate_id and quality_check_id.
|
||||
reading_number = fields.Integer(
|
||||
string='Reading #', default=1, help='Sequence number (n=1, n=2, n=3).',
|
||||
@@ -73,5 +73,5 @@ class FpThicknessReading(models.Model):
|
||||
if rec.nip_mils:
|
||||
label = '%s (%.4f mils)' % (label, rec.nip_mils)
|
||||
if ctx:
|
||||
label = '%s — %s' % (label, ctx)
|
||||
label = '%s - %s' % (label, ctx)
|
||||
rec.display_name = label
|
||||
|
||||
Reference in New Issue
Block a user