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>
27 lines
729 B
Python
27 lines
729 B
Python
# -*- coding: utf-8 -*-
|
|
# Copyright 2026 Nexa Systems Inc.
|
|
# License OPL-1 (Odoo Proprietary License v1.0)
|
|
#
|
|
# Phase 3 - parallel job/step links on fusion.plating.batch.
|
|
# The legacy workorder_id link to mrp.workorder stays in place.
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class FusionPlatingBatch(models.Model):
|
|
_inherit = 'fusion.plating.batch'
|
|
|
|
x_fc_step_id = fields.Many2one(
|
|
'fp.job.step',
|
|
string='Plating Step',
|
|
index=True,
|
|
help='Native fp.job.step link. Coexists with the legacy '
|
|
'workorder_id link to mrp.workorder.',
|
|
)
|
|
x_fc_job_id = fields.Many2one(
|
|
'fp.job',
|
|
related='x_fc_step_id.job_id',
|
|
store=True,
|
|
string='Work Order',
|
|
)
|