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

@@ -14,7 +14,7 @@ class HrEmployee(models.Model):
of them. A small shop where the owner wears every hat just tags
themselves with every role.
Lead hands are a separate per-role list they don't have to be
Lead hands are a separate per-role list - they don't have to be
primary owners of those roles, but they're authorised to step in
when the regular owner is absent or behind. The Manager Desk
promotes lead hands above other workers in its dropdown for any
@@ -53,9 +53,9 @@ class HrEmployee(models.Model):
)
# ------------------------------------------------------------------
# Attendance helpers used by the Manager Desk to show who is
# Attendance helpers - used by the Manager Desk to show who is
# currently clocked in. Works with vanilla hr_attendance or the
# full fusion_clock module both store an open record (no
# full fusion_clock module - both store an open record (no
# check_out) for as long as the employee is on shift.
# ------------------------------------------------------------------
x_fc_is_clocked_in = fields.Boolean(
@@ -70,7 +70,7 @@ class HrEmployee(models.Model):
"""Compute attendance status from hr.attendance.
Batched so the manager dashboard doesn't issue one query per
employee important when the shop has dozens of operators.
employee - important when the shop has dozens of operators.
"""
if not self:
return
@@ -96,7 +96,7 @@ class HrEmployee(models.Model):
1. Odoo 19 normalises ``('=', True)`` into
``('in', OrderedSet([True]))`` before invoking the search
method. The previous code only handled ``=`` / ``!=`` and
fell through to ``return []`` for ``in`` / ``not in``
fell through to ``return []`` for ``in`` / ``not in`` -
which Odoo treats as "no constraint" and matches every
row.
@@ -110,7 +110,7 @@ class HrEmployee(models.Model):
on the cached open-attendance employee ids. Variable signature
future-proofs against Odoo's compute-field API shifting again.
"""
# Variable signature Odoo 19 may pass (records, op, val).
# Variable signature - Odoo 19 may pass (records, op, val).
if len(args) == 3:
_records, operator, value = args
elif len(args) == 2: