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>
51 lines
2.4 KiB
XML
51 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>
|
|
|
|
<!-- ================================================================== -->
|
|
<!-- RECORD RULES - Multi-company isolation -->
|
|
<!-- Reuses the core fusion_plating groups (operator / supervisor / -->
|
|
<!-- manager / admin). No new groups are defined here. -->
|
|
<!-- ================================================================== -->
|
|
|
|
<record id="fp_vehicle_company_rule" model="ir.rule">
|
|
<field name="name">Fusion Plating: Vehicle - multi-company</field>
|
|
<field name="model_id" ref="model_fusion_plating_vehicle"/>
|
|
<field name="global" eval="True"/>
|
|
<field name="domain_force">['|', ('company_id', '=', False), ('company_id', 'in', company_ids)]</field>
|
|
</record>
|
|
|
|
<record id="fp_pickup_request_company_rule" model="ir.rule">
|
|
<field name="name">Fusion Plating: Pickup Request - multi-company</field>
|
|
<field name="model_id" ref="model_fusion_plating_pickup_request"/>
|
|
<field name="global" eval="True"/>
|
|
<field name="domain_force">['|', ('company_id', '=', False), ('company_id', 'in', company_ids)]</field>
|
|
</record>
|
|
|
|
<record id="fp_delivery_company_rule" model="ir.rule">
|
|
<field name="name">Fusion Plating: Delivery - multi-company</field>
|
|
<field name="model_id" ref="model_fusion_plating_delivery"/>
|
|
<field name="global" eval="True"/>
|
|
<field name="domain_force">['|', ('company_id', '=', False), ('company_id', 'in', company_ids)]</field>
|
|
</record>
|
|
|
|
<record id="fp_route_company_rule" model="ir.rule">
|
|
<field name="name">Fusion Plating: Route - multi-company</field>
|
|
<field name="model_id" ref="model_fusion_plating_route"/>
|
|
<field name="global" eval="True"/>
|
|
<field name="domain_force">['|', ('company_id', '=', False), ('company_id', 'in', company_ids)]</field>
|
|
</record>
|
|
|
|
<record id="fp_chain_of_custody_company_rule" model="ir.rule">
|
|
<field name="name">Fusion Plating: Chain of Custody - multi-company</field>
|
|
<field name="model_id" ref="model_fusion_plating_chain_of_custody"/>
|
|
<field name="global" eval="True"/>
|
|
<field name="domain_force">['|', ('company_id', '=', False), ('company_id', 'in', company_ids)]</field>
|
|
</record>
|
|
|
|
</odoo>
|