2022-08-09 13:08:41 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<!-- This file is part of the cashbook-module from m-ds for Tryton.
|
|
|
|
The COPYRIGHT file at the top level of this repository contains the
|
|
|
|
full copyright notices and license terms. -->
|
|
|
|
<tryton>
|
|
|
|
<data>
|
|
|
|
|
|
|
|
<record model="ir.ui.view" id="configuration_view_form">
|
|
|
|
<field name="model">cashbook.configuration</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="name">configuration_form</field>
|
|
|
|
</record>
|
|
|
|
<record model="ir.action.act_window" id="act_configuration_form">
|
|
|
|
<field name="name">Configuration</field>
|
|
|
|
<field name="res_model">cashbook.configuration</field>
|
|
|
|
</record>
|
|
|
|
<record model="ir.action.act_window.view" id="act_configuration_view1">
|
|
|
|
<field name="sequence" eval="1"/>
|
|
|
|
<field name="view" ref="configuration_view_form"/>
|
|
|
|
<field name="act_window" ref="act_configuration_form"/>
|
|
|
|
</record>
|
|
|
|
|
2022-08-10 09:57:35 +00:00
|
|
|
<!-- permission -->
|
|
|
|
<!-- anon: deny all -->
|
|
|
|
<record model="ir.model.access" id="access_config-anon">
|
|
|
|
<field name="model" search="[('model', '=', 'cashbook.configuration')]"/>
|
|
|
|
<field name="perm_read" eval="False"/>
|
|
|
|
<field name="perm_write" eval="False"/>
|
|
|
|
<field name="perm_create" eval="False"/>
|
|
|
|
<field name="perm_delete" eval="False"/>
|
|
|
|
</record>
|
2022-08-17 15:16:23 +00:00
|
|
|
<!-- group_cashbook_admin: read/write -->
|
|
|
|
<record model="ir.model.access" id="access_config-group_cashbook_admin">
|
2022-08-10 09:57:35 +00:00
|
|
|
<field name="model" search="[('model', '=', 'cashbook.configuration')]"/>
|
2022-08-17 15:16:23 +00:00
|
|
|
<field name="group" ref="group_cashbook_admin"/>
|
2022-08-10 09:57:35 +00:00
|
|
|
<field name="perm_read" eval="True"/>
|
|
|
|
<field name="perm_write" eval="True"/>
|
|
|
|
<field name="perm_create" eval="True"/>
|
|
|
|
<field name="perm_delete" eval="True"/>
|
|
|
|
</record>
|
2022-08-17 15:16:23 +00:00
|
|
|
<!-- user: read/write -->
|
2022-08-10 09:57:35 +00:00
|
|
|
<record model="ir.model.access" id="access_config-group_cashbook">
|
|
|
|
<field name="model" search="[('model', '=', 'cashbook.configuration')]"/>
|
|
|
|
<field name="group" ref="group_cashbook"/>
|
|
|
|
<field name="perm_read" eval="True"/>
|
|
|
|
<field name="perm_write" eval="True"/>
|
|
|
|
<field name="perm_create" eval="True"/>
|
|
|
|
<field name="perm_delete" eval="True"/>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<!-- anon: deny all -->
|
|
|
|
<record model="ir.model.access" id="access_config_user-anon">
|
|
|
|
<field name="model" search="[('model', '=', 'cashbook.configuration_user')]"/>
|
|
|
|
<field name="perm_read" eval="False"/>
|
|
|
|
<field name="perm_write" eval="False"/>
|
|
|
|
<field name="perm_create" eval="False"/>
|
|
|
|
<field name="perm_delete" eval="False"/>
|
|
|
|
</record>
|
2022-08-17 15:16:23 +00:00
|
|
|
<!-- group_cashbook_admin: read/write -->
|
|
|
|
<record model="ir.model.access" id="access_config_user-group_cashbook_admin">
|
2022-08-10 09:57:35 +00:00
|
|
|
<field name="model" search="[('model', '=', 'cashbook.configuration_user')]"/>
|
2022-08-17 15:16:23 +00:00
|
|
|
<field name="group" ref="group_cashbook_admin"/>
|
2022-08-10 09:57:35 +00:00
|
|
|
<field name="perm_read" eval="True"/>
|
|
|
|
<field name="perm_write" eval="True"/>
|
|
|
|
<field name="perm_create" eval="True"/>
|
|
|
|
<field name="perm_delete" eval="True"/>
|
|
|
|
</record>
|
|
|
|
<record model="ir.model.access" id="access_config_user-group_cashbook">
|
|
|
|
<field name="model" search="[('model', '=', 'cashbook.configuration_user')]"/>
|
|
|
|
<field name="group" ref="group_cashbook"/>
|
|
|
|
<field name="perm_read" eval="True"/>
|
|
|
|
<field name="perm_write" eval="True"/>
|
|
|
|
<field name="perm_create" eval="True"/>
|
|
|
|
<field name="perm_delete" eval="True"/>
|
|
|
|
</record>
|
|
|
|
|
2022-08-09 13:08:41 +00:00
|
|
|
</data>
|
|
|
|
</tryton>
|