2
0
account-financial-tools/account_move_template/security/account_move_template_security.xml

11 lines
411 B
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<odoo noupdate="1">
<record id="account_move_template_comp_rule" model="ir.rule">
<field name="name">Move Template multi-company rule</field>
<field name="model_id" ref="model_account_move_template"/>
<field name="domain_force">['|', ('company_id', '=', False), ('company_id', 'child_of', [user.company_id.id])]</field>
</record>
</odoo>