2021-03-23 19:12:57 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
|
|
<!-- Copyright 2017-2018 ACSONE SA/NV
|
|
|
|
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
|
|
|
|
<flectra>
|
|
|
|
<record model="ir.model.access" id="mis_budget_by_account_access_base_user">
|
|
|
|
<field name="name">mis.budget.by.account access base user</field>
|
|
|
|
<field name="model_id" ref="model_mis_budget_by_account" />
|
|
|
|
<field name="group_id" ref="base.group_user" />
|
|
|
|
<field name="perm_read" eval="1" />
|
|
|
|
<field name="perm_create" eval="0" />
|
|
|
|
<field name="perm_write" eval="0" />
|
|
|
|
<field name="perm_unlink" eval="0" />
|
|
|
|
</record>
|
|
|
|
<record model="ir.model.access" id="mis_budget_by_account_access_adviser">
|
|
|
|
<field name="name">mis.budget.by.account access adviser</field>
|
|
|
|
<field name="model_id" ref="model_mis_budget_by_account" />
|
|
|
|
<field name="group_id" ref="account.group_account_manager" />
|
|
|
|
<field name="perm_read" eval="1" />
|
|
|
|
<field name="perm_create" eval="1" />
|
|
|
|
<field name="perm_write" eval="1" />
|
|
|
|
<field name="perm_unlink" eval="1" />
|
|
|
|
</record>
|
|
|
|
<record id="mis_budget_by_account_multi_company_rule" model="ir.rule">
|
|
|
|
<field name="name">mis.budget.by.account multi company</field>
|
|
|
|
<field name="model_id" ref="model_mis_budget_by_account" />
|
|
|
|
<field name="domain_force">
|
2021-04-28 14:59:57 +00:00
|
|
|
['|',('company_id','=',False),('company_id', 'in', company_ids)]
|
2021-03-23 19:12:57 +00:00
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
</flectra>
|