Files
odoo_source/addons/sale_management/security/sale_management_security.xml
T
Victor Feyens a3ded9043d [IMP] *: declare ir.rule in noupdate
ir.rule are default values but can be customized based on the
company's policy and needs.
This is typically a record that is in noupdate as should be
customization-friendly.
2020-03-20 16:21:25 +01:00

17 lines
640 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="group_sale_order_template" model="res.groups">
<field name="name">Quotation Templates</field>
<field name="category_id" ref="base.module_category_hidden"/>
</record>
<data noupdate="1">
<record id="sale_order_template_rule_company" model="ir.rule">
<field name="name">Quotation Template multi-company</field>
<field name="model_id" ref="model_sale_order_template"/>
<field name="domain_force">['|', ('company_id', '=', False), ('company_id', 'in', company_ids)]</field>
</record>
</data>
</odoo>