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
1d41747f36
commit
4262f9c620
1 changed files with 15 additions and 0 deletions
|
@ -23,5 +23,20 @@ this repository contains the full copyright notices and license terms. -->
|
||||||
id="menu_work_configuration"
|
id="menu_work_configuration"
|
||||||
sequence="0" icon="tryton-list"/>
|
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>
|
</data>
|
||||||
</tryton>
|
</tryton>
|
||||||
|
|
Loading…
Reference in a new issue