51 lines
2.5 KiB
XML
51 lines
2.5 KiB
XML
<?xml version="1.0"?>
|
|
<!-- The COPYRIGHT file at the top level of
|
|
this repository contains the full copyright notices and license terms. -->
|
|
<tryton>
|
|
<data>
|
|
<!-- Combined location -->
|
|
<record model="ir.ui.view" id="location_combined_view_tree">
|
|
<field name="model">stock.location.combined</field>
|
|
<field name="type">tree</field>
|
|
<field name="name">location_combined_list</field>
|
|
</record>
|
|
<record model="ir.ui.view" id="location_combined_view_form">
|
|
<field name="model">stock.location.combined</field>
|
|
<field name="type">form</field>
|
|
<field name="name">location_combined_form</field>
|
|
</record>
|
|
<record model="ir.action.act_window" id="act_location_combined">
|
|
<field name="name">Combined location</field>
|
|
<field name="res_model">stock.location.combined</field>
|
|
</record>
|
|
<record model="ir.action.act_window.view" id="act_location_combined_tree_view">
|
|
<field name="sequence" eval="10"/>
|
|
<field name="view" ref="location_combined_view_tree"/>
|
|
<field name="act_window" ref="act_location_combined"/>
|
|
</record>
|
|
<record model="ir.action.act_window.view" id="act_location_combined_form_view">
|
|
<field name="sequence" eval="20"/>
|
|
<field name="view" ref="location_combined_view_form"/>
|
|
<field name="act_window" ref="act_location_combined"/>
|
|
</record>
|
|
<record model="ir.model.access" id="access_location_combined_group_stock">
|
|
<field name="model" search="[('model', '=', 'stock.location.combined')]"/>
|
|
<field name="group" ref="stock.group_stock_admin"/>
|
|
<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_location_combined">
|
|
<field name="model" search="[('model', '=', 'stock.location.combined')]"/>
|
|
<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>
|
|
|
|
<menuitem id="menu_location_combined" name="Combined"
|
|
parent="stock.menu_location_tree"
|
|
action="act_location_combined"/>
|
|
</data>
|
|
</tryton> |