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:
@@ -15,7 +15,7 @@ class FpCalibrationEvent(models.Model):
|
||||
which jobs may have been measured by an out-of-tolerance instrument.
|
||||
"""
|
||||
_name = 'fusion.plating.calibration.event'
|
||||
_description = 'Fusion Plating — Calibration Event'
|
||||
_description = 'Fusion Plating - Calibration Event'
|
||||
_inherit = ['mail.thread', 'mail.activity.mixin']
|
||||
_order = 'cal_date desc, id desc'
|
||||
_rec_name = 'display_name'
|
||||
@@ -88,6 +88,6 @@ class FpCalibrationEvent(models.Model):
|
||||
def _compute_display_name(self):
|
||||
for rec in self:
|
||||
if rec.equipment_id and rec.cal_date:
|
||||
rec.display_name = f'{rec.equipment_id.code} — {rec.cal_date}'
|
||||
rec.display_name = f'{rec.equipment_id.code} - {rec.cal_date}'
|
||||
else:
|
||||
rec.display_name = 'Calibration Event'
|
||||
|
||||
Reference in New Issue
Block a user