flectra/addons/iap/security/ir_rule.xml
flectra-admin 769eafb483 [INIT] Inception of Flectra from Odoo
Flectra is Forked from Odoo v11 commit : (6135e82d73)
2018-01-16 11:45:59 +05:30

13 lines
442 B
XML

<odoo>
<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>
</odoo>