mirror of
https://gitlab.com/flectra-community/bank-payment.git
synced 2024-11-24 06:32:07 +00:00
38 lines
1.3 KiB
XML
38 lines
1.3 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<flectra>
|
||
|
<data noupdate="0">
|
||
|
|
||
|
|
||
|
<record id="group_account_payment" model="res.groups">
|
||
|
<field name="name">Accounting / Payments</field>
|
||
|
<field name="users" eval="[(4, ref('base.user_root'))]"/>
|
||
|
<field name="category_id" ref="base.module_category_extra"/>
|
||
|
</record>
|
||
|
|
||
|
|
||
|
</data>
|
||
|
<data noupdate="1">
|
||
|
|
||
|
|
||
|
<record id="account_payment_order_company_rule" model="ir.rule">
|
||
|
<field name="name">Payment order multi-company rule</field>
|
||
|
<field name="model_id" ref="model_account_payment_order"/>
|
||
|
<field name="domain_force">['|', ('company_id', '=', False), ('company_id', 'child_of', [user.company_id.id])]</field>
|
||
|
</record>
|
||
|
|
||
|
<record id="account_payment_line_company_rule" model="ir.rule">
|
||
|
<field name="name">Payment line multi-company rule</field>
|
||
|
<field name="model_id" ref="model_account_payment_line"/>
|
||
|
<field name="domain_force">['|', ('company_id', '=', False), ('company_id', 'child_of', [user.company_id.id])]</field>
|
||
|
</record>
|
||
|
|
||
|
<record id="bank_payment_line_company_rule" model="ir.rule">
|
||
|
<field name="name">Bank payment line multi-company rule</field>
|
||
|
<field name="model_id" ref="model_bank_payment_line"/>
|
||
|
<field name="domain_force">['|', ('company_id', '=', False), ('company_id', 'child_of', [user.company_id.id])]</field>
|
||
|
</record>
|
||
|
|
||
|
|
||
|
</data>
|
||
|
</flectra>
|