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 FpCgpAccessLog(models.Model):
|
||||
control system; this model is the lightweight hand-entry fallback.
|
||||
"""
|
||||
_name = 'fusion.plating.cgp.access.log'
|
||||
_description = 'Fusion Plating — CGP Access Log Entry'
|
||||
_description = 'Fusion Plating - CGP Access Log Entry'
|
||||
_order = 'access_datetime desc, id desc'
|
||||
|
||||
employee_id = fields.Many2one(
|
||||
|
||||
@@ -16,7 +16,7 @@ class FpCgpAuthorizedIndividual(models.Model):
|
||||
before granting access.
|
||||
"""
|
||||
_name = 'fusion.plating.cgp.authorized.individual'
|
||||
_description = 'Fusion Plating — CGP Authorized Individual'
|
||||
_description = 'Fusion Plating - CGP Authorized Individual'
|
||||
_inherit = ['mail.thread', 'mail.activity.mixin']
|
||||
_order = 'appointment_date desc, id desc'
|
||||
_rec_name = 'name'
|
||||
|
||||
@@ -10,13 +10,13 @@ class FpCgpControlledGood(models.Model):
|
||||
"""Inventory of controlled goods currently handled by the shop.
|
||||
|
||||
This is intentionally a lightweight, hand-maintained register of what
|
||||
the shop actually processes — parts, assemblies, or materials that
|
||||
the shop actually processes - parts, assemblies, or materials that
|
||||
fall under the Schedule to the Defence Production Act. It is not a
|
||||
replacement for the Odoo stock module; it is the CGP-specific audit
|
||||
trail that an AI can show a PSPC inspector.
|
||||
"""
|
||||
_name = 'fusion.plating.cgp.controlled.good'
|
||||
_description = 'Fusion Plating — Controlled Good'
|
||||
_description = 'Fusion Plating - Controlled Good'
|
||||
_inherit = ['mail.thread', 'mail.activity.mixin']
|
||||
_order = 'name'
|
||||
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -14,7 +14,7 @@ class FpCgpReceiptShipment(models.Model):
|
||||
border shipments additionally require an export permit reference.
|
||||
"""
|
||||
_name = 'fusion.plating.cgp.receipt.shipment'
|
||||
_description = 'Fusion Plating — CGP Receipt / Shipment'
|
||||
_description = 'Fusion Plating - CGP Receipt / Shipment'
|
||||
_inherit = ['mail.thread', 'mail.activity.mixin']
|
||||
_order = 'date desc, id desc'
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ class FpCgpRegistration(models.Model):
|
||||
so this record lives on ``res.company``.
|
||||
"""
|
||||
_name = 'fusion.plating.cgp.registration'
|
||||
_description = 'Fusion Plating — CGP Registration'
|
||||
_description = 'Fusion Plating - CGP Registration'
|
||||
_inherit = ['mail.thread', 'mail.activity.mixin']
|
||||
_order = 'registration_date desc, id desc'
|
||||
|
||||
@@ -27,7 +27,7 @@ class FpCgpRegistration(models.Model):
|
||||
string='Reference',
|
||||
required=True,
|
||||
tracking=True,
|
||||
help='Label for this registration, e.g. "Acme Plating — CGP Reg."',
|
||||
help='Label for this registration, e.g. "Acme Plating - CGP Reg."',
|
||||
)
|
||||
company_id = fields.Many2one(
|
||||
'res.company',
|
||||
|
||||
@@ -10,13 +10,13 @@ class FpCgpSecurityIncident(models.Model):
|
||||
"""Security incident or breach under the Controlled Goods Program.
|
||||
|
||||
Any event that could have compromised the security of controlled
|
||||
goods — unauthorized access, a missing item, a visitor violation,
|
||||
a cyber intrusion — must be investigated and, depending on
|
||||
goods - unauthorized access, a missing item, a visitor violation,
|
||||
a cyber intrusion - must be investigated and, depending on
|
||||
severity, reported to PSPC. Incident records are restricted via
|
||||
``ir.rule`` to the CGP Officer and above.
|
||||
"""
|
||||
_name = 'fusion.plating.cgp.security.incident'
|
||||
_description = 'Fusion Plating — CGP Security Incident'
|
||||
_description = 'Fusion Plating - CGP Security Incident'
|
||||
_inherit = ['mail.thread', 'mail.activity.mixin']
|
||||
_order = 'incident_date desc, id desc'
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ class FpCgpVisitor(models.Model):
|
||||
controlled goods under very specific conditions.
|
||||
"""
|
||||
_name = 'fusion.plating.cgp.visitor'
|
||||
_description = 'Fusion Plating — CGP Visitor'
|
||||
_description = 'Fusion Plating - CGP Visitor'
|
||||
_inherit = ['mail.thread', 'mail.activity.mixin']
|
||||
_order = 'visit_date desc, id desc'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user