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>
60 lines
2.4 KiB
XML
60 lines
2.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright 2026 Nexa Systems Inc.
|
|
License OPL-1 (Odoo Proprietary License v1.0)
|
|
Part of the Fusion Plating product family.
|
|
-->
|
|
<odoo>
|
|
|
|
<!-- ===== Window actions (defined BEFORE menus) ===== -->
|
|
<record id="action_fp_receiving_pending" model="ir.actions.act_window">
|
|
<field name="name">Pending Inspection</field>
|
|
<field name="res_model">fp.receiving</field>
|
|
<field name="view_mode">list,form</field>
|
|
<field name="domain">[('state', '=', 'draft')]</field>
|
|
</record>
|
|
|
|
<record id="action_fp_receiving_discrepancy" model="ir.actions.act_window">
|
|
<field name="name">Discrepancies</field>
|
|
<field name="res_model">fp.receiving</field>
|
|
<field name="view_mode">list,form</field>
|
|
<field name="domain">[('state', '=', 'discrepancy')]</field>
|
|
</record>
|
|
|
|
<!-- ===== SHIPPING & RECEIVING - combined menu (v) ===== -->
|
|
<!-- Renamed from "Receiving & Inspection" so the same dock workflow -->
|
|
<!-- - parts coming in AND parts going out - lives in one place. -->
|
|
<!-- Logistics module reparents its 5 menu items under this root. -->
|
|
<!-- 2026-06-02: opened to Technician (was Shop Manager+) so technicians
|
|
can browse + edit receiving in the backend, not just the tablet card.
|
|
All higher roles imply Technician, so they keep access; sales-only
|
|
roles (no Technician) stay excluded. Children inherit this gate. -->
|
|
<menuitem id="menu_fp_receiving_root"
|
|
name="Shipping & Receiving"
|
|
parent="fusion_plating.menu_fp_root"
|
|
sequence="15"
|
|
groups="fusion_plating.group_fp_technician"/>
|
|
|
|
<!-- Inbound (sequences 10-30) -->
|
|
<menuitem id="menu_fp_receiving_all"
|
|
name="All Receiving"
|
|
parent="menu_fp_receiving_root"
|
|
action="action_fp_receiving"
|
|
sequence="10"/>
|
|
|
|
<menuitem id="menu_fp_receiving_pending"
|
|
name="Pending Inspection"
|
|
parent="menu_fp_receiving_root"
|
|
action="action_fp_receiving_pending"
|
|
sequence="20"/>
|
|
|
|
<menuitem id="menu_fp_receiving_discrepancy"
|
|
name="Discrepancies"
|
|
parent="menu_fp_receiving_root"
|
|
action="action_fp_receiving_discrepancy"
|
|
sequence="30"/>
|
|
<!-- Outbound items (40-80) added by fusion_plating_logistics -->
|
|
|
|
|
|
</odoo>
|