mirror of
https://github.com/NaN-tic/trytond-project_sequence.git
synced 2023-12-14 02:23:01 +01:00
Add default work_configuration model access
This commit is contained in:
parent
8202509744
commit
4ff17aad4c
|
@ -23,5 +23,20 @@ this repository contains the full copyright notices and license terms. -->
|
|||
id="menu_work_configuration"
|
||||
sequence="0" icon="tryton-list"/>
|
||||
|
||||
<record model="ir.model.access" id="access_work_configuration">
|
||||
<field name="model" search="[('model', '=', 'work.configuration')]"/>
|
||||
<field name="perm_read" eval="True"/>
|
||||
<field name="perm_write" eval="False"/>
|
||||
<field name="perm_create" eval="False"/>
|
||||
<field name="perm_delete" eval="False"/>
|
||||
</record>
|
||||
<record model="ir.model.access" id="access_work_configuration_work_admin">
|
||||
<field name="model" search="[('model', '=', 'work.configuration')]"/>
|
||||
<field name="group" ref="project.group_project_admin"/>
|
||||
<field name="perm_read" eval="True"/>
|
||||
<field name="perm_write" eval="True"/>
|
||||
<field name="perm_create" eval="False"/>
|
||||
<field name="perm_delete" eval="False"/>
|
||||
</record>
|
||||
</data>
|
||||
</tryton>
|
||||
|
|
Loading…
Reference in a new issue