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:
@@ -10,12 +10,12 @@ class FpRisk(models.Model):
|
||||
"""Risk register entry.
|
||||
|
||||
Implements the operational risk management requirement from AS9100
|
||||
Rev D §8.1.1. Each risk gets scored on a 1–5 likelihood and 1–5
|
||||
Rev D §8.1.1. Each risk gets scored on a 1-5 likelihood and 1-5
|
||||
impact scale; the multiplicative score drives the level classification
|
||||
(low / medium / high / critical) used for escalation and reporting.
|
||||
"""
|
||||
_name = 'fusion.plating.risk'
|
||||
_description = 'Fusion Plating — Risk Register Entry'
|
||||
_description = 'Fusion Plating - Risk Register Entry'
|
||||
_inherit = ['mail.thread', 'mail.activity.mixin']
|
||||
_order = 'risk_score desc, id desc'
|
||||
|
||||
@@ -53,11 +53,11 @@ class FpRisk(models.Model):
|
||||
)
|
||||
likelihood = fields.Selection(
|
||||
[
|
||||
('1', '1 — Very Low'),
|
||||
('2', '2 — Low'),
|
||||
('3', '3 — Medium'),
|
||||
('4', '4 — High'),
|
||||
('5', '5 — Very High'),
|
||||
('1', '1 - Very Low'),
|
||||
('2', '2 - Low'),
|
||||
('3', '3 - Medium'),
|
||||
('4', '4 - High'),
|
||||
('5', '5 - Very High'),
|
||||
],
|
||||
string='Likelihood',
|
||||
default='3',
|
||||
@@ -66,11 +66,11 @@ class FpRisk(models.Model):
|
||||
)
|
||||
impact = fields.Selection(
|
||||
[
|
||||
('1', '1 — Very Low'),
|
||||
('2', '2 — Low'),
|
||||
('3', '3 — Medium'),
|
||||
('4', '4 — High'),
|
||||
('5', '5 — Very High'),
|
||||
('1', '1 - Very Low'),
|
||||
('2', '2 - Low'),
|
||||
('3', '3 - Medium'),
|
||||
('4', '4 - High'),
|
||||
('5', '5 - Very High'),
|
||||
],
|
||||
string='Impact',
|
||||
default='3',
|
||||
@@ -81,7 +81,7 @@ class FpRisk(models.Model):
|
||||
string='Score',
|
||||
compute='_compute_risk_score',
|
||||
store=True,
|
||||
help='Likelihood × Impact (1–25).',
|
||||
help='Likelihood × Impact (1-25).',
|
||||
)
|
||||
risk_level = fields.Selection(
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user