2018-10-22 12:27:50 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<odoo>
|
|
|
|
<data noupdate="1">
|
|
|
|
|
|
|
|
<record id="account_spread_multi_company_rule" model="ir.rule">
|
|
|
|
<field name="name">Account Spread multi-company</field>
|
|
|
|
<field ref="model_account_spread" name="model_id"/>
|
|
|
|
<field eval="True" name="global"/>
|
|
|
|
<field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
|
|
|
|
</record>
|
|
|
|
|
2020-05-17 16:37:40 +02:00
|
|
|
<record id="account_spread_template_multi_company_rule" model="ir.rule">
|
|
|
|
<field name="name">Account Spread Template multi-company</field>
|
|
|
|
<field ref="model_account_spread_template" name="model_id"/>
|
|
|
|
<field eval="True" name="global"/>
|
|
|
|
<field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="account_spread_template_auto_multi_company_rule" model="ir.rule">
|
|
|
|
<field name="name">Account Spread Tempalte Auto multi-company</field>
|
|
|
|
<field ref="model_account_spread_template_auto" name="model_id"/>
|
|
|
|
<field eval="True" name="global"/>
|
|
|
|
<field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
|
|
|
|
</record>
|
|
|
|
|
2018-10-22 12:27:50 +02:00
|
|
|
</data>
|
|
|
|
</odoo>
|