2010-02-03 11:41:05 +01:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
|
|
|
|
this repository contains the full copyright notices and license terms. -->
|
|
|
|
|
<tryton>
|
|
|
|
|
<data>
|
2020-02-23 13:56:58 +01:00
|
|
|
<!-- set active for 1.4 migration -->
|
2021-02-27 18:16:28 +01:00
|
|
|
<menuitem
|
|
|
|
|
name="Configuration"
|
|
|
|
|
parent="menu_purchase"
|
|
|
|
|
sequence="0"
|
|
|
|
|
id="menu_configuration"
|
|
|
|
|
icon="tryton-settings"
|
|
|
|
|
active="1"/>
|
2020-02-23 13:56:58 +01:00
|
|
|
<record model="ir.ui.menu-res.group" id="menu_configuration_group_purchase_admin">
|
|
|
|
|
<field name="menu" ref="menu_configuration"/>
|
|
|
|
|
<field name="group" ref="group_purchase_admin"/>
|
|
|
|
|
</record>
|
|
|
|
|
|
2010-02-03 11:41:05 +01:00
|
|
|
<record model="ir.ui.view" id="purchase_configuration_view_form">
|
|
|
|
|
<field name="model">purchase.configuration</field>
|
|
|
|
|
<field name="type">form</field>
|
2013-03-11 16:29:18 +01:00
|
|
|
<field name="name">configuration_form</field>
|
2010-02-03 11:41:05 +01:00
|
|
|
</record>
|
|
|
|
|
<record model="ir.action.act_window" id="act_purchase_configuration_form">
|
2021-02-09 00:32:17 +01:00
|
|
|
<field name="name">Configuration</field>
|
2010-02-03 11:41:05 +01:00
|
|
|
<field name="res_model">purchase.configuration</field>
|
|
|
|
|
</record>
|
|
|
|
|
<record model="ir.action.act_window.view"
|
|
|
|
|
id="act_purchase_configuration_view1">
|
|
|
|
|
<field name="sequence" eval="1"/>
|
|
|
|
|
<field name="view" ref="purchase_configuration_view_form"/>
|
|
|
|
|
<field name="act_window" ref="act_purchase_configuration_form"/>
|
|
|
|
|
</record>
|
2021-02-27 18:16:28 +01:00
|
|
|
<menuitem
|
|
|
|
|
parent="menu_configuration"
|
2010-02-03 11:41:05 +01:00
|
|
|
action="act_purchase_configuration_form"
|
2021-02-27 18:16:28 +01:00
|
|
|
sequence="10"
|
|
|
|
|
id="menu_purchase_configuration"
|
|
|
|
|
icon="tryton-list"/>
|
2020-02-23 13:56:58 +01:00
|
|
|
|
|
|
|
|
<record model="ir.model.access" id="access_purchase_configuration">
|
2024-04-06 14:10:01 +02:00
|
|
|
<field name="model">purchase.configuration</field>
|
2020-02-23 13:56:58 +01:00
|
|
|
<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_purchase_configuration_purchase_admin">
|
2024-04-06 14:10:01 +02:00
|
|
|
<field name="model">purchase.configuration</field>
|
2020-02-23 13:56:58 +01:00
|
|
|
<field name="group" ref="group_purchase_admin"/>
|
|
|
|
|
<field name="perm_read" eval="True"/>
|
|
|
|
|
<field name="perm_write" eval="True"/>
|
2022-03-26 13:03:39 +01:00
|
|
|
<field name="perm_create" eval="False"/>
|
|
|
|
|
<field name="perm_delete" eval="False"/>
|
2020-02-23 13:56:58 +01:00
|
|
|
</record>
|
2016-10-25 23:23:12 +02:00
|
|
|
</data>
|
2010-02-03 11:41:05 +01:00
|
|
|
</tryton>
|