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:
@@ -4,7 +4,7 @@
|
||||
# Part of the Fusion Plating product family.
|
||||
|
||||
{
|
||||
'name': 'Fusion Plating — Batch Processing',
|
||||
'name': 'Fusion Plating - Batch Processing',
|
||||
'version': '19.0.2.0.1',
|
||||
'category': 'Manufacturing/Plating',
|
||||
'summary': 'Group parts into rack or barrel loads for tank processing.',
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Phase 6 (Sub 11) — drop legacy MRP columns from fusion_plating_batch.
|
||||
# Phase 6 (Sub 11) - drop legacy MRP columns from fusion_plating_batch.
|
||||
|
||||
import logging
|
||||
_logger = logging.getLogger(__name__)
|
||||
|
||||
@@ -73,7 +73,7 @@ class FpBatch(models.Model):
|
||||
domain="[('state', '!=', 'retired')]",
|
||||
tracking=True,
|
||||
)
|
||||
# Phase 6 (Sub 11) — workorder_id / production_id retired (MRP gone).
|
||||
# Phase 6 (Sub 11) - workorder_id / production_id retired (MRP gone).
|
||||
# Native equivalents: x_fc_step_id (fp.job.step) + x_fc_job_id (fp.job)
|
||||
# are added by fusion_plating_jobs and carry the same traceability.
|
||||
part_count = fields.Integer(string='Part Count')
|
||||
|
||||
@@ -7,10 +7,10 @@
|
||||
<odoo>
|
||||
|
||||
<!-- ================================================================== -->
|
||||
<!-- RECORD RULE — Multi-company isolation on batches -->
|
||||
<!-- RECORD RULE - Multi-company isolation on batches -->
|
||||
<!-- ================================================================== -->
|
||||
<record id="fp_batch_company_rule" model="ir.rule">
|
||||
<field name="name">Fusion Plating: Batch — multi-company</field>
|
||||
<field name="name">Fusion Plating: Batch - multi-company</field>
|
||||
<field name="model_id" ref="model_fusion_plating_batch"/>
|
||||
<field name="global" eval="True"/>
|
||||
<field name="domain_force">['|', ('company_id', '=', False), ('company_id', 'in', company_ids)]</field>
|
||||
|
||||
Reference in New Issue
Block a user