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:
@@ -3,7 +3,7 @@
|
||||
# License OPL-1 (Odoo Proprietary License v1.0)
|
||||
#
|
||||
# Post-migration audit. Verifies migration counts match expectations.
|
||||
# Read-only — does NOT modify data. Run from `odoo shell`.
|
||||
# Read-only - does NOT modify data. Run from `odoo shell`.
|
||||
|
||||
import logging
|
||||
|
||||
@@ -47,7 +47,7 @@ def run(env):
|
||||
if step_migrated < wo_total:
|
||||
print('WARNING: %d WOs not migrated' % (wo_total - step_migrated))
|
||||
|
||||
# Cross-references — for each dependent model, show counts of records
|
||||
# Cross-references - for each dependent model, show counts of records
|
||||
# with the LEGACY production_id set vs the NEW x_fc_job_id set. After
|
||||
# migration, the second column should match the first (we don't clear
|
||||
# production_id during shadow period).
|
||||
@@ -163,7 +163,7 @@ def run(env):
|
||||
|
||||
|
||||
try:
|
||||
run(env) # noqa: F821 — `env` is provided by odoo shell
|
||||
run(env) # noqa: F821 - `env` is provided by odoo shell
|
||||
except NameError:
|
||||
print(
|
||||
'This script expects to run inside `odoo shell` where `env` is defined.'
|
||||
|
||||
Reference in New Issue
Block a user