odoo_account_ebics/account_ebics/security/ebics_security.xml

41 lines
1.5 KiB
XML
Raw Normal View History

2022-05-10 19:40:54 +00:00
<?xml version="1.0" encoding="utf-8" ?>
2018-08-14 15:04:39 +00:00
<odoo>
<record model="res.groups" id="group_ebics_manager">
<field name="name">EBICS Manager</field>
<field name="category_id" ref="base.module_category_hidden" />
</record>
2018-08-14 15:04:39 +00:00
<data noupdate="1">
2018-08-14 15:04:39 +00:00
<record id="ebics_config_comp_rule" model="ir.rule">
<field name="name">EBICS Configuration model company rule</field>
<field name="model_id" ref="model_ebics_config" />
<field eval="True" name="global" />
<field
2022-05-10 19:40:54 +00:00
name="domain_force"
>['|', ('company_ids', '=', False), ('company_ids', 'in', user.company_ids.ids)]</field>
</record>
<record id="ebics_userid_comp_rule" model="ir.rule">
<field name="name">EBICS UserID model company rule</field>
<field name="model_id" ref="model_ebics_userid" />
<field eval="True" name="global" />
<field
2022-05-10 19:40:54 +00:00
name="domain_force"
>['|', ('company_ids', '=', False), ('company_ids', 'in', user.company_ids.ids)]</field>
</record>
2018-08-14 15:04:39 +00:00
<record id="ebics_file_comp_rule" model="ir.rule">
<field name="name">EBICS File model company rule</field>
<field name="model_id" ref="model_ebics_file" />
<field eval="True" name="global" />
<field
2022-05-10 19:40:54 +00:00
name="domain_force"
>['|', ('company_ids', '=', False), ('company_ids', 'in', user.company_ids.ids)]</field>
</record>
2018-08-14 15:04:39 +00:00
</data>
2018-08-14 15:04:39 +00:00
</odoo>