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>
22 lines
769 B
Python
22 lines
769 B
Python
# -*- coding: utf-8 -*-
|
|
# Copyright 2026 Nexa Systems Inc.
|
|
"""Drop the 'inspected' value from sale_order.x_fc_receiving_status.
|
|
|
|
Sub 8 (2026-04-22) moved part inspection out of receiving and into the
|
|
recipe's racking step. The SO-level receiving status no longer needs
|
|
'inspected' as a terminal value - 'received' (boxes counted/staged/
|
|
closed) is now the final state.
|
|
|
|
This migration flips any existing rows with the obsolete value to the
|
|
new terminal value. On a freshly-installed instance there are zero rows;
|
|
the migration is defensive for instances that had pre-Sub-8 records.
|
|
"""
|
|
|
|
|
|
def migrate(cr, version):
|
|
cr.execute("""
|
|
UPDATE sale_order
|
|
SET x_fc_receiving_status = 'received'
|
|
WHERE x_fc_receiving_status = 'inspected'
|
|
""")
|