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:
gsinghpal
2026-06-05 00:16:19 -04:00
parent c9eb61ee0c
commit 8c76a16366
789 changed files with 4692 additions and 4692 deletions

View File

@@ -3,7 +3,7 @@
# License OPL-1 (Odoo Proprietary License v1.0)
# Part of the Fusion Plating product family.
#
# Sub 12 Phase C trigger-based quality points.
# Sub 12 Phase C - trigger-based quality points.
#
# Replaces the old "customer.x_fc_requires_qc + customer.x_fc_qc_template_id"
# direct binding. Now an admin defines fp.quality.point rules with filters
@@ -39,7 +39,7 @@ STEP_KINDS = [
class FpQualityPoint(models.Model):
_name = 'fp.quality.point'
_description = 'Fusion Plating Quality Point'
_description = 'Fusion Plating - Quality Point'
_inherit = ['mail.thread']
_order = 'sequence, name'
@@ -179,7 +179,7 @@ class FpQualityPoint(models.Model):
vals = {
'template_id': self.template_id.id,
}
# Best-effort field bindings survives schema variations.
# Best-effort field bindings - survives schema variations.
if 'partner_id' in Check._fields and partner:
vals['partner_id'] = partner.id
if 'job_id' in Check._fields and job:
@@ -198,13 +198,13 @@ class FpQualityPoint(models.Model):
return Check.create(vals)
except Exception as e:
_logger.warning(
'fp.quality.point %s: spawn failed for %s %s',
'fp.quality.point %s: spawn failed for %s - %s',
self.name, source.display_name if source else '?', e,
)
return False
def action_spawn_manual(self):
"""Manual fire present from the form view button. No source ctx."""
"""Manual fire - present from the form view button. No source ctx."""
for rec in self:
rec._spawn_check_for(source=rec)
return {