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:
@@ -32,7 +32,7 @@ def migrate(cr, version):
|
||||
""")
|
||||
if not cr.fetchone():
|
||||
_logger.warning(
|
||||
'fp_default_coc_contact_rel missing — skipping CoC contact '
|
||||
'fp_default_coc_contact_rel missing - skipping CoC contact '
|
||||
'migration (rel table not created yet).')
|
||||
return
|
||||
# Copy the single value into the M2m (skip rows already present so a
|
||||
|
||||
@@ -30,7 +30,7 @@ def migrate(cr, version):
|
||||
""")
|
||||
if not cr.fetchone():
|
||||
_logger.warning(
|
||||
'fp_certificate_contact_partner_rel missing — skipping cert '
|
||||
'fp_certificate_contact_partner_rel missing - skipping cert '
|
||||
'customer-contact migration (rel table not created yet).')
|
||||
return
|
||||
cr.execute("""
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Phase 6 (Sub 11) — drop legacy MRP columns from certificate tables.
|
||||
# Phase 6 (Sub 11) - drop legacy MRP columns from certificate tables.
|
||||
|
||||
import logging
|
||||
_logger = logging.getLogger(__name__)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright 2026 Nexa Systems Inc.
|
||||
# License OPL-1
|
||||
"""Post-migrate for 19.0.9.0.0 — Aerospace/Defence cert partner toggles.
|
||||
"""Post-migrate for 19.0.9.0.0 - Aerospace/Defence cert partner toggles.
|
||||
|
||||
Backfills NULL -> FALSE on the three new Boolean columns added to
|
||||
res.partner (x_fc_send_nadcap_cert, x_fc_send_mill_test,
|
||||
@@ -11,7 +11,7 @@ flipped on by the admin).
|
||||
|
||||
Without this backfill, existing partner rows would read NULL on
|
||||
the new columns and the resolver's `if p.x_fc_send_nadcap_cert`
|
||||
check would short-circuit cleanly anyway — but explicit FALSE makes
|
||||
check would short-circuit cleanly anyway - but explicit FALSE makes
|
||||
SQL queries / reports cleaner and matches the existing partner-flag
|
||||
storage convention.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user