mirror of
https://github.com/brain-tec/account_ebics.git
synced 2024-11-27 22:47:25 +00:00
41 lines
1.4 KiB
XML
41 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<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>
|
|
|
|
<data noupdate="1">
|
|
|
|
<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
|
|
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
|
|
name="domain_force"
|
|
>['|', ('company_ids', '=', False), ('company_ids', 'in', user.company_ids.ids)]</field>
|
|
</record>
|
|
|
|
<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
|
|
name="domain_force"
|
|
>['|', ('company_ids', '=', False), ('company_ids', 'in', user.company_ids.ids)]</field>
|
|
</record>
|
|
|
|
</data>
|
|
|
|
</odoo>
|