|
@ -1,19 +1,13 @@ |
|
|
<?xml version="1.0" encoding="UTF-8"?> |
|
|
<?xml version="1.0" encoding="UTF-8"?> |
|
|
<odoo> |
|
|
|
|
|
<data noupdate="1"> |
|
|
|
|
|
|
|
|
<odoo noupdate="1"> |
|
|
<record id="date_range_type_comp_rule" model="ir.rule"> |
|
|
<record id="date_range_type_comp_rule" model="ir.rule"> |
|
|
<field name="name">Date Range Type multi-company</field> |
|
|
<field name="name">Date Range Type multi-company</field> |
|
|
<field name="model_id" ref="model_date_range_type"/> |
|
|
<field name="model_id" ref="model_date_range_type"/> |
|
|
<field eval="True" name="global"/> |
|
|
|
|
|
<field name="domain_force"> ['|',('company_id','=',user.company_id.id),('company_id','=',False)]</field> |
|
|
<field name="domain_force"> ['|',('company_id','=',user.company_id.id),('company_id','=',False)]</field> |
|
|
<field eval="False" name="active"/> |
|
|
|
|
|
</record> |
|
|
</record> |
|
|
<record id="date_range_comp_rule" model="ir.rule"> |
|
|
<record id="date_range_comp_rule" model="ir.rule"> |
|
|
<field name="name">Date Range multi-company</field> |
|
|
<field name="name">Date Range multi-company</field> |
|
|
<field name="model_id" ref="model_date_range"/> |
|
|
<field name="model_id" ref="model_date_range"/> |
|
|
<field eval="True" name="global"/> |
|
|
|
|
|
<field name="domain_force"> ['|',('company_id','=',user.company_id.id),('company_id','=',False)]</field> |
|
|
<field name="domain_force"> ['|',('company_id','=',user.company_id.id),('company_id','=',False)]</field> |
|
|
<field eval="False" name="active"/> |
|
|
|
|
|
</record> |
|
|
</record> |
|
|
</data> |
|
|
|
|
|
</odoo> |
|
|
</odoo> |