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:
@@ -107,7 +107,7 @@ class FpNcr(models.Model):
|
||||
|
||||
def _prepare_quality_alert_vals(self):
|
||||
"""Build the vals dict used to create/update a quality.alert from
|
||||
this NCR. Written defensively — every field is checked against
|
||||
this NCR. Written defensively - every field is checked against
|
||||
the live ``quality.alert`` model before being added, so the bridge
|
||||
keeps working even if a minor EE release renames or removes a
|
||||
field.
|
||||
@@ -193,7 +193,7 @@ class FpNcr(models.Model):
|
||||
|
||||
# --- Reason (root cause dropdown) -----------------------------------
|
||||
# quality.alert may expose ``reason_id`` pointing at quality.reason.
|
||||
# We do not create reason records — shops curate those themselves —
|
||||
# We do not create reason records - shops curate those themselves -
|
||||
# but we leave the mapping point here for future use.
|
||||
|
||||
return vals
|
||||
@@ -237,7 +237,7 @@ class FpNcr(models.Model):
|
||||
'quality.alert: %s',
|
||||
ncr.name, exc,
|
||||
)
|
||||
# Non-fatal — never break the NCR save just because the
|
||||
# Non-fatal - never break the NCR save just because the
|
||||
# mirror failed.
|
||||
|
||||
def action_sync_to_quality(self):
|
||||
|
||||
Reference in New Issue
Block a user