2018-01-16 11:34:37 +01:00
|
|
|
<flectra>
|
2018-01-16 06:58:15 +01:00
|
|
|
<data>
|
|
|
|
<record id="user_iap_account" model="ir.rule">
|
|
|
|
<field name="name">User IAP Account</field>
|
|
|
|
<field name="model_id" ref="model_iap_account"/>
|
|
|
|
<field name="groups" eval="[(4, ref('base.group_user'))]"/>
|
|
|
|
<!-- partners can CUD services linked to themselves -->
|
|
|
|
<field name="domain_force">[
|
|
|
|
('company_id', 'in', [user.company_id.id, False]),
|
|
|
|
]</field>
|
|
|
|
</record>
|
|
|
|
</data>
|
2018-01-16 11:34:37 +01:00
|
|
|
</flectra>
|