mirror of
https://gitlab.com/flectra-community/server-ux.git
synced 2024-11-22 22:22:05 +00:00
14 lines
702 B
XML
14 lines
702 B
XML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<flectra noupdate="1">
|
||
|
<record id="date_range_type_comp_rule" model="ir.rule">
|
||
|
<field name="name">Date Range Type multi-company</field>
|
||
|
<field name="model_id" ref="model_date_range_type"/>
|
||
|
<field name="domain_force"> ['|',('company_id','child_of',[user.company_id.id]),('company_id','=',False)]</field>
|
||
|
</record>
|
||
|
<record id="date_range_comp_rule" model="ir.rule">
|
||
|
<field name="name">Date Range multi-company</field>
|
||
|
<field name="model_id" ref="model_date_range"/>
|
||
|
<field name="domain_force"> ['|',('company_id','child_of',[user.company_id.id]),('company_id','=',False)]</field>
|
||
|
</record>
|
||
|
</flectra>
|