mirror of
https://github.com/NaN-tic/trytond-stock_lot_attribute.git
synced 2023-12-14 04:03:02 +01:00
112 lines
5.1 KiB
XML
112 lines
5.1 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>
|
|
<record model="ir.ui.view" id="attribute_set_view_list">
|
|
<field name="model">stock.lot.attribute.set</field>
|
|
<field name="type">tree</field>
|
|
<field name="name">attribute_set_list</field>
|
|
</record>
|
|
<record model="ir.ui.view" id="attribute_set_view_form">
|
|
<field name="model">stock.lot.attribute.set</field>
|
|
<field name="type">form</field>
|
|
<field name="name">attribute_set_form</field>
|
|
</record>
|
|
|
|
<record model="ir.action.act_window" id="act_attribute_set_form">
|
|
<field name="name">Lot Attribute Sets</field>
|
|
<field name="res_model">stock.lot.attribute.set</field>
|
|
</record>
|
|
<record model="ir.action.act_window.view"
|
|
id="act_attribute_set_list_view">
|
|
<field name="sequence" eval="10"/>
|
|
<field name="view" ref="attribute_set_view_list"/>
|
|
<field name="act_window" ref="act_attribute_set_form"/>
|
|
</record>
|
|
<record model="ir.action.act_window.view"
|
|
id="act_attribute_set_form_view">
|
|
<field name="sequence" eval="20"/>
|
|
<field name="view" ref="attribute_set_view_form"/>
|
|
<field name="act_window" ref="act_attribute_set_form"/>
|
|
</record>
|
|
<menuitem name="Attribute Sets" parent="stock.menu_configuration"
|
|
sequence="30" id="menu_attribute_set"
|
|
action="act_attribute_set_form"/>
|
|
|
|
<record model="ir.model.access" id="access_attribute_set">
|
|
<field name="model"
|
|
search="[('model', '=', 'stock.lot.attribute.set')]"/>
|
|
<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_attribute_set_admin">
|
|
<field name="model" search="[('model', '=', 'stock.lot.attribute.set')]"/>
|
|
<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.ui.view" id="attribute_view_list">
|
|
<field name="model">stock.lot.attribute</field>
|
|
<field name="type">tree</field>
|
|
<field name="name">attribute_list</field>
|
|
</record>
|
|
<record model="ir.ui.view" id="attribute_view_form">
|
|
<field name="model">stock.lot.attribute</field>
|
|
<field name="type">form</field>
|
|
<field name="name">attribute_form</field>
|
|
</record>
|
|
|
|
<record model="ir.action.act_window" id="act_attribute_form">
|
|
<field name="name">Lot Attributes</field>
|
|
<field name="res_model">stock.lot.attribute</field>
|
|
</record>
|
|
<record model="ir.action.act_window.view" id="act_attribute_list_view">
|
|
<field name="sequence" eval="10"/>
|
|
<field name="view" ref="attribute_view_list"/>
|
|
<field name="act_window" ref="act_attribute_form"/>
|
|
</record>
|
|
<record model="ir.action.act_window.view" id="act_attribute_form_view">
|
|
<field name="sequence" eval="20"/>
|
|
<field name="view" ref="attribute_view_form"/>
|
|
<field name="act_window" ref="act_attribute_form"/>
|
|
</record>
|
|
<menuitem name="Attributes" parent="menu_attribute_set"
|
|
sequence="10" id="menu_attribute"
|
|
action="act_attribute_form"/>
|
|
|
|
<record model="ir.model.access" id="access_attribute">
|
|
<field name="model" search="[('model', '=', 'stock.lot.attribute')]"/>
|
|
<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_attribute_admin">
|
|
<field name="model" search="[('model', '=', 'stock.lot.attribute')]"/>
|
|
<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.ui.view" id="template_view_form">
|
|
<field name="model">product.template</field>
|
|
<field name="inherit" ref="product.template_view_form"/>
|
|
<field name="name">template_form</field>
|
|
</record>
|
|
|
|
<record model="ir.ui.view" id="stock_lot_view_form">
|
|
<field name="model">stock.lot</field>
|
|
<field name="inherit" ref="stock_lot.lot_view_form"/>
|
|
<field name="name">lot_form</field>
|
|
</record>
|
|
</data>
|
|
</tryton>
|