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:
@@ -13,7 +13,7 @@
|
||||
sequence="12"
|
||||
groups="fusion_plating.group_fp_technician"/>
|
||||
|
||||
<!-- Manager Desk — assign workers, swap tanks, cover no-shows -->
|
||||
<!-- Manager Desk - assign workers, swap tanks, cover no-shows -->
|
||||
<record id="action_fp_manager_dashboard" model="ir.actions.client">
|
||||
<field name="name">Manager Desk</field>
|
||||
<field name="tag">fp_manager_dashboard</field>
|
||||
@@ -27,11 +27,11 @@
|
||||
sequence="3"
|
||||
groups="fusion_plating.group_fusion_plating_manager"/>
|
||||
|
||||
<!-- Single Workstation menu — action_fp_shopfloor_tablet is the
|
||||
<!-- Single Workstation menu - action_fp_shopfloor_tablet is the
|
||||
legacy xmlid for back-compat (bookmarks/breadcrumbs); its tag
|
||||
was retargeted at the new fp_plant_kanban component in the
|
||||
2026-05-23 plant-view redesign. The previous fp_shopfloor_landing
|
||||
OWL component was retired 2026-05-25 — its inline QR scanner
|
||||
OWL component was retired 2026-05-25 - its inline QR scanner
|
||||
was ported into plant_kanban. -->
|
||||
<menuitem id="menu_fp_shopfloor_tablet"
|
||||
name="Workstation"
|
||||
@@ -45,7 +45,7 @@
|
||||
action="action_fp_bake_window"
|
||||
sequence="20"/>
|
||||
|
||||
<!-- Phase 2 — both under Shop Setup. -->
|
||||
<!-- Phase 2 - both under Shop Setup. -->
|
||||
<menuitem id="menu_fp_shopfloor_stations_cfg"
|
||||
name="Shopfloor Stations"
|
||||
parent="fusion_plating.menu_fp_config_shop_setup"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<odoo>
|
||||
|
||||
<!-- ================================================================== -->
|
||||
<!-- Client action — was "Plant Overview" (legacy fp_plant_overview). -->
|
||||
<!-- Client action - was "Plant Overview" (legacy fp_plant_overview). -->
|
||||
<!-- Retargets the tag at fp_plant_kanban so old bookmarks / -->
|
||||
<!-- breadcrumbs / QR-scan landings flow into the current view. -->
|
||||
<!-- The legacy fp_plant_overview OWL component is still registered -->
|
||||
@@ -21,7 +21,7 @@
|
||||
</record>
|
||||
|
||||
<!-- ================================================================== -->
|
||||
<!-- Client action — Process Tree -->
|
||||
<!-- Client action - Process Tree -->
|
||||
<!-- ================================================================== -->
|
||||
<record id="action_fp_process_tree" model="ir.actions.client">
|
||||
<field name="name">Process Tree</field>
|
||||
@@ -29,7 +29,7 @@
|
||||
</record>
|
||||
|
||||
<!-- ================================================================== -->
|
||||
<!-- Plant-view kanban — sole Shop Floor surface as of 2026-05-25. -->
|
||||
<!-- Plant-view kanban - sole Shop Floor surface as of 2026-05-25. -->
|
||||
<!-- One card per fp.job grouped into 9 fixed columns by area_kind. -->
|
||||
<!-- Landing resolver in fusion_plating/data/fp_landing_data.xml -->
|
||||
<!-- routes every technician / shop-manager here. -->
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
<sheet>
|
||||
<div class="oe_title">
|
||||
<label for="name"/>
|
||||
<h1><field name="name" placeholder="e.g. Tablet — EN Line"/></h1>
|
||||
<h1><field name="name" placeholder="e.g. Tablet - EN Line"/></h1>
|
||||
<div class="text-muted">
|
||||
<field name="code" placeholder="TAB-EN-01"/>
|
||||
</div>
|
||||
@@ -96,7 +96,7 @@
|
||||
</record>
|
||||
|
||||
<!-- ================================================================== -->
|
||||
<!-- Client action — was "Tablet Station" (fp_shopfloor_tablet). -->
|
||||
<!-- Client action - was "Tablet Station" (fp_shopfloor_tablet). -->
|
||||
<!-- 2026-05-23 plant-view redesign retargets the tag at the new -->
|
||||
<!-- fp_plant_kanban component so old bookmarks / breadcrumbs / QR-scan -->
|
||||
<!-- landings flow into the new view. The legacy fp_shopfloor_tablet -->
|
||||
|
||||
@@ -3,14 +3,14 @@
|
||||
Copyright 2026 Nexa Systems Inc.
|
||||
License OPL-1 (Odoo Proprietary License v1.0)
|
||||
|
||||
Phase 6 tablet PIN gate — surfaces:
|
||||
Phase 6 tablet PIN gate - surfaces:
|
||||
(a) self-service "Set/Change PIN" on the user's Preferences form
|
||||
(b) manager-only "Reset Tablet PIN" header button on res.users form
|
||||
-->
|
||||
<odoo>
|
||||
|
||||
<!-- =================================================================
|
||||
(a) Preferences form — Set/Change Tablet PIN
|
||||
(a) Preferences form - Set/Change Tablet PIN
|
||||
The actual modal is OWL-side (FpPinSetup, Phase 6.2). Here we
|
||||
just surface a status indicator + the button under a group.
|
||||
================================================================= -->
|
||||
@@ -34,7 +34,7 @@
|
||||
</record>
|
||||
|
||||
<!-- =================================================================
|
||||
(b) res.users form — Manager-only "Reset Tablet PIN" header
|
||||
(b) res.users form - Manager-only "Reset Tablet PIN" header
|
||||
================================================================= -->
|
||||
<record id="view_users_form_reset_tablet_pin" model="ir.ui.view">
|
||||
<field name="name">res.users.form.reset.tablet.pin</field>
|
||||
@@ -56,7 +56,7 @@
|
||||
</record>
|
||||
|
||||
<!-- =================================================================
|
||||
(c) res.users form — Owner-only smart button: Tablet Events (7d)
|
||||
(c) res.users form - Owner-only smart button: Tablet Events (7d)
|
||||
Counts unlock/lock/failed events for this user across the last
|
||||
7 days. Clicking opens the audit log filtered to this user
|
||||
(both user_id and attempted_user_id, so failed-tile-tap attempts
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Copyright 2026 Nexa Systems Inc. · License OPL-1
|
||||
Fusion Plating — Tank Status (NFC tap-to-view) page
|
||||
Fusion Plating - Tank Status (NFC tap-to-view) page
|
||||
|
||||
Rendered by /fp/tank/<id>. Mobile-first layout with big touch
|
||||
targets so an operator can read the tank's current state from a
|
||||
@@ -104,7 +104,7 @@
|
||||
<strong>Status:</strong>
|
||||
<span class="o_fp_state_badge"
|
||||
t-att-data-state="bath_log.status"
|
||||
t-esc="bath_log.status or '—'"/>
|
||||
t-esc="bath_log.status or '-'"/>
|
||||
</span>
|
||||
<span t-if="bath_log.log_date">
|
||||
<strong>Last sampled:</strong>
|
||||
@@ -121,7 +121,7 @@
|
||||
<div class="o_fp_tank_chem_cell"
|
||||
t-att-data-status="line.status">
|
||||
<div class="o_fp_tank_chem_label">
|
||||
<span t-esc="line.parameter_id.name or line.parameter_code or '—'"/>
|
||||
<span t-esc="line.parameter_id.name or line.parameter_code or '-'"/>
|
||||
</div>
|
||||
<div class="o_fp_tank_chem_value">
|
||||
<span t-esc="line.value"/>
|
||||
@@ -131,7 +131,7 @@
|
||||
t-if="line.target_min or line.target_max">
|
||||
target
|
||||
<t t-if="line.target_min"><span t-esc="line.target_min"/></t>
|
||||
<t t-if="line.target_min and line.target_max"> – </t>
|
||||
<t t-if="line.target_min and line.target_max"> - </t>
|
||||
<t t-if="line.target_max"><span t-esc="line.target_max"/></t>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user