2015-02-12 11:51:18 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-08-05 20:33:56 +02:00
|
|
|
<odoo>
|
|
|
|
<data noupdate="1">
|
2015-02-12 11:51:18 +01:00
|
|
|
|
2018-08-05 20:33:56 +02:00
|
|
|
<record id="account_asset_profile_multi_company_rule" model="ir.rule">
|
|
|
|
<field name="name">Account Asset Profile multi-company</field>
|
|
|
|
<field ref="model_account_asset_profile" 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>
|
2015-02-12 11:51:18 +01:00
|
|
|
|
2018-08-05 20:33:56 +02:00
|
|
|
<record id="account_asset_multi_company_rule" model="ir.rule">
|
|
|
|
<field name="name">Account Asset multi-company</field>
|
|
|
|
<field ref="model_account_asset" 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>
|
2015-02-12 11:51:18 +01:00
|
|
|
|
2018-08-05 20:33:56 +02:00
|
|
|
</data>
|
|
|
|
</odoo>
|