mirror of
https://github.com/brain-tec/account_ebics.git
synced 2024-11-23 20:52:04 +00:00
fix acl
This commit is contained in:
parent
42931f13a4
commit
8379fb67e8
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
'name': 'EBICS banking protocol',
|
'name': 'EBICS banking protocol',
|
||||||
'version': '13.0.1.0.1',
|
'version': '13.0.1.0.0',
|
||||||
'license': 'LGPL-3',
|
'license': 'LGPL-3',
|
||||||
'author': 'Noviat',
|
'author': 'Noviat',
|
||||||
'category': 'Accounting & Finance',
|
'category': 'Accounting & Finance',
|
||||||
|
@ -12,14 +12,14 @@
|
|||||||
<field name="name">EBICS Configuration model company rule</field>
|
<field name="name">EBICS Configuration model company rule</field>
|
||||||
<field name="model_id" ref="model_ebics_config"/>
|
<field name="model_id" ref="model_ebics_config"/>
|
||||||
<field eval="True" name="global"/>
|
<field eval="True" name="global"/>
|
||||||
<field name="domain_force">['|', ('company_id', '=', False), ('company_id', 'child_of', [user.company_id.id])]</field>
|
<field name="domain_force">['|', ('company_id', '=', False), ('company_id', 'in', company_ids)]</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<record id="ebics_file_comp_rule" model="ir.rule">
|
<record id="ebics_file_comp_rule" model="ir.rule">
|
||||||
<field name="name">EBICS File model company rule</field>
|
<field name="name">EBICS File model company rule</field>
|
||||||
<field name="model_id" ref="model_ebics_file"/>
|
<field name="model_id" ref="model_ebics_file"/>
|
||||||
<field eval="True" name="global"/>
|
<field eval="True" name="global"/>
|
||||||
<field name="domain_force">['|', ('company_id', '=', False), ('company_id', 'child_of', [user.company_id.id])]</field>
|
<field name="domain_force">['|', ('company_id', '=', False), ('company_id', 'in', company_ids)]</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
</data>
|
</data>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
||||||
access_ebics_config_manager,ebics_config manager,model_ebics_config,account_ebics.group_ebics_manager,1,1,1,1
|
access_ebics_config_manager,ebics_config manager,model_ebics_config,account_ebics.group_ebics_manager,1,1,1,1
|
||||||
access_ebics_config_user,ebics_config user,model_ebics_config,account.group_account_user,1,0,0,0
|
access_ebics_config_user,ebics_config user,model_ebics_config,account.group_account_invoice,1,0,0,0
|
||||||
access_ebics_file_format_manager,ebics_file_format manager,model_ebics_file_format,account_ebics.group_ebics_manager,1,1,1,1
|
access_ebics_file_format_manager,ebics_file_format manager,model_ebics_file_format,account_ebics.group_ebics_manager,1,1,1,1
|
||||||
access_ebics_file_format_user,ebics_file_format user,model_ebics_file_format,account.group_account_user,1,0,0,0
|
access_ebics_file_format_user,ebics_file_format user,model_ebics_file_format,account.group_account_invoice,1,0,0,0
|
||||||
access_ebics_file_manager,ebics_file manager,model_ebics_file,account_ebics.group_ebics_manager,1,1,1,1
|
access_ebics_file_manager,ebics_file manager,model_ebics_file,account_ebics.group_ebics_manager,1,1,1,1
|
||||||
access_ebics_file_user,ebics_file user,model_ebics_file,account.group_account_user,1,0,0,0
|
access_ebics_file_user,ebics_file user,model_ebics_file,account.group_account_invoice,1,0,0,0
|
||||||
|
|
Loading…
Reference in New Issue
Block a user