48 lines
2.4 KiB
XML
48 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>
|
|
|
|
<!-- ================================================================== -->
|
|
<!-- The Culture module reuses the core Fusion Plating groups: -->
|
|
<!-- group_fusion_plating_operator — read values and rotations -->
|
|
<!-- group_fusion_plating_supervisor — create recognitions -->
|
|
<!-- group_fusion_plating_manager — full CRUD on sets and values -->
|
|
<!-- No new groups are introduced here. ACLs live in -->
|
|
<!-- security/ir.model.access.csv. Record rules for multi-company -->
|
|
<!-- isolation live below. -->
|
|
<!-- ================================================================== -->
|
|
|
|
<record id="fp_value_set_company_rule" model="ir.rule">
|
|
<field name="name">Fusion Plating: Value Set — multi-company</field>
|
|
<field name="model_id" ref="model_fusion_plating_value_set"/>
|
|
<field name="global" eval="True"/>
|
|
<field name="domain_force">['|', ('company_id', '=', False), ('company_id', 'in', company_ids)]</field>
|
|
</record>
|
|
|
|
<record id="fp_value_company_rule" model="ir.rule">
|
|
<field name="name">Fusion Plating: Value — multi-company</field>
|
|
<field name="model_id" ref="model_fusion_plating_value"/>
|
|
<field name="global" eval="True"/>
|
|
<field name="domain_force">['|', ('company_id', '=', False), ('company_id', 'in', company_ids)]</field>
|
|
</record>
|
|
|
|
<record id="fp_value_rotation_company_rule" model="ir.rule">
|
|
<field name="name">Fusion Plating: Value Rotation — multi-company</field>
|
|
<field name="model_id" ref="model_fusion_plating_value_rotation"/>
|
|
<field name="global" eval="True"/>
|
|
<field name="domain_force">['|', ('company_id', '=', False), ('company_id', 'in', company_ids)]</field>
|
|
</record>
|
|
|
|
<record id="fp_value_recognition_company_rule" model="ir.rule">
|
|
<field name="name">Fusion Plating: Recognition — multi-company</field>
|
|
<field name="model_id" ref="model_fusion_plating_value_recognition"/>
|
|
<field name="global" eval="True"/>
|
|
<field name="domain_force">['|', ('company_id', '=', False), ('company_id', 'in', company_ids)]</field>
|
|
</record>
|
|
|
|
</odoo>
|