flectra/addons/iap/security/ir_rule.xml

13 lines
448 B
XML
Raw Normal View History

2018-01-16 11:34:37 +01:00
<flectra>
<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>