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:
@@ -11,11 +11,11 @@ class FpCustomerSpec(models.Model):
|
||||
|
||||
Holds the metadata about a specification (industry, customer, or
|
||||
internal) so jobs and process types can reference it. The actual
|
||||
document lives at document_url — could be a SharePoint link, a
|
||||
document lives at document_url - could be a SharePoint link, a
|
||||
Google Drive URL, or any other location the shop already uses.
|
||||
"""
|
||||
_name = 'fusion.plating.customer.spec'
|
||||
_description = 'Fusion Plating — Customer Specification'
|
||||
_description = 'Fusion Plating - Customer Specification'
|
||||
_inherit = ['mail.thread', 'mail.activity.mixin']
|
||||
_order = 'spec_type, code, revision desc'
|
||||
_rec_name = 'display_name'
|
||||
@@ -81,7 +81,7 @@ class FpCustomerSpec(models.Model):
|
||||
domain="[('node_type', '=', 'recipe'), ('parent_id', '=', False)]",
|
||||
string='Applicable Recipes',
|
||||
help='Recipes that can produce work to this specification. '
|
||||
'Many-to-many — one spec can cover multiple processes; '
|
||||
'Many-to-many - one spec can cover multiple processes; '
|
||||
'one recipe can satisfy multiple specs.',
|
||||
)
|
||||
print_on_cert = fields.Boolean(
|
||||
@@ -112,5 +112,5 @@ class FpCustomerSpec(models.Model):
|
||||
if rec.revision:
|
||||
parts.append(f'Rev {rec.revision}')
|
||||
if rec.name:
|
||||
parts.append(f'— {rec.name}')
|
||||
parts.append(f'- {rec.name}')
|
||||
rec.display_name = ' '.join(p for p in parts if p)
|
||||
|
||||
Reference in New Issue
Block a user