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)
|
||||
# Part of the Fusion Plating product family.
|
||||
#
|
||||
# /fp/wo/<id> — scan-redirect endpoint.
|
||||
# /fp/wo/<id> - scan-redirect endpoint.
|
||||
#
|
||||
# The WO box sticker embeds a QR code that encodes this URL. When
|
||||
# warehouse staff scan the sticker with their phone / tablet /
|
||||
@@ -34,7 +34,7 @@ class FpWoScanController(http.Controller):
|
||||
"""
|
||||
env = request.env
|
||||
|
||||
# 1) New native model — preferred when migration has run.
|
||||
# 1) New native model - preferred when migration has run.
|
||||
if 'fp.job' in env and 'legacy_mrp_production_id' in env['fp.job']._fields:
|
||||
job = env['fp.job'].sudo().search(
|
||||
[('legacy_mrp_production_id', '=', wo_id)], limit=1)
|
||||
|
||||
Reference in New Issue
Block a user