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,7 +11,7 @@ from odoo import api, fields, models
|
||||
class FpCgpPsa(models.Model):
|
||||
"""Personnel Security Assessment.
|
||||
|
||||
Every person — employee, contractor, or long-term visitor — who has
|
||||
Every person - employee, contractor, or long-term visitor - who has
|
||||
access to controlled goods must have a current Personnel Security
|
||||
Assessment on file. PSAs are valid for up to five years and include
|
||||
a review of citizenship, criminal record, and loyalty considerations.
|
||||
@@ -21,7 +21,7 @@ class FpCgpPsa(models.Model):
|
||||
manager cannot see personnel assessments.
|
||||
"""
|
||||
_name = 'fusion.plating.cgp.psa'
|
||||
_description = 'Fusion Plating — Personnel Security Assessment'
|
||||
_description = 'Fusion Plating - Personnel Security Assessment'
|
||||
_inherit = ['mail.thread', 'mail.activity.mixin']
|
||||
_order = 'assessment_date desc, id desc'
|
||||
|
||||
@@ -65,7 +65,7 @@ class FpCgpPsa(models.Model):
|
||||
)
|
||||
notes = fields.Html(
|
||||
string='Internal Notes',
|
||||
help='Internal notes — restricted to CGP Officer and above.',
|
||||
help='Internal notes - restricted to CGP Officer and above.',
|
||||
)
|
||||
document_ids = fields.Many2many(
|
||||
'ir.attachment',
|
||||
|
||||
Reference in New Issue
Block a user