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)
|
||||
#
|
||||
# Pre-migration audit. Reports row counts and data-quality concerns
|
||||
# before running migrate_to_fp_jobs.py. Read-only — does NOT modify data.
|
||||
# before running migrate_to_fp_jobs.py. Read-only - does NOT modify data.
|
||||
#
|
||||
# Run from `odoo shell` where `env` is in scope. See ./README.md.
|
||||
|
||||
@@ -58,7 +58,7 @@ def run(env):
|
||||
no_wc = cr.fetchone()[0]
|
||||
print('WOs without workcenter_id:', no_wc)
|
||||
|
||||
# Dependent records — check by model registry (truthful even when
|
||||
# Dependent records - check by model registry (truthful even when
|
||||
# the schema names differ from defaults).
|
||||
if 'fp.quality.hold' in env:
|
||||
cr.execute(
|
||||
@@ -111,6 +111,6 @@ def run(env):
|
||||
|
||||
# Run when the script is exec'd from odoo shell (env is in scope).
|
||||
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