trytonpsk-laboratory/configuration.xml

57 lines
2.8 KiB
XML
Executable File

<?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>
<menuitem name="Configuration" parent="laboratory.menu_laboratory"
sequence="1" id="menu_laboratory_configuration" icon="tryton-settings"/>
<record model="ir.ui.view" id="laboratory_configuration_view_form">
<field name="model">laboratory.configuration</field>
<field name="type">form</field>
<field name="name">configuration_form</field>
</record>
<record model="ir.ui.view" id="laboratory_configuration_view_tree">
<field name="model">laboratory.configuration</field>
<field name="type">tree</field>
<field name="name">configuration_tree</field>
</record>
<record model="ir.action.act_window" id="act_laboratory_configuration_form">
<field name="name">Laboratory Configuration</field>
<field name="res_model">laboratory.configuration</field>
</record>
<record model="ir.action.act_window.view" id="act_laboratory_configuration_view1">
<field name="sequence" eval="10"/>
<field name="view" ref="laboratory_configuration_view_form"/>
<field name="act_window" ref="act_laboratory_configuration_form"/>
</record>
<record model="ir.action.act_window.view" id="act_laboratory_configuration_view2">
<field name="sequence" eval="1"/>
<field name="view" ref="laboratory_configuration_view_tree"/>
<field name="act_window" ref="act_laboratory_configuration_form"/>
</record>
<menuitem name="Configuration" parent="laboratory.menu_laboratory_configuration"
action="act_laboratory_configuration_form" sequence="1"
id="menu_laboratory_configuration_form" icon="tryton-list"/>
<record model="ir.sequence.type" id="sequence_type_laboratory">
<field name="name">Laboratory</field>
</record>
<record model="ir.sequence.type-res.group"
id="sequence_type_laboratory_group_admin">
<field name="sequence_type" ref="sequence_type_laboratory"/>
<field name="group" ref="res.group_admin"/>
</record>
<record model="ir.sequence.type-res.group"
id="sequence_type_laboratory_group_laboratory_admin">
<field name="sequence_type" ref="sequence_type_laboratory"/>
<field name="group" ref="laboratory.group_laboratory_admin"/>
</record>
<record model="ir.sequence" id="sequence_laboratory_service_order">
<field name="name">Service Order</field>
<field name="sequence_type" ref="sequence_type_laboratory"/>
</record>
</data>
</tryton>