110 lines
5.6 KiB
XML
110 lines
5.6 KiB
XML
<?xml version="1.0"?>
|
|
<!-- This file is part of the stock_move_extra_products_supply module for Tryton.
|
|
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="bom_input_view_form">
|
|
<field name="model">production.bom.input</field>
|
|
<field name="type" eval="None"/>
|
|
<field name="inherit" ref="production.bom_input_view_form"/>
|
|
<field name="name">bom_input_form</field>
|
|
</record>
|
|
<record model="ir.ui.view" id="bom_output_view_form">
|
|
<field name="model">production.bom.output</field>
|
|
<field name="type" eval="None"/>
|
|
<field name="inherit" ref="production.bom_output_view_form"/>
|
|
<field name="name">bom_output_form</field>
|
|
</record>
|
|
|
|
<record model="ir.ui.view" id="bom_input_extra_product_view_form">
|
|
<field name="model">production.bom.input.extra_product</field>
|
|
<field name="type">form</field>
|
|
<field name="name">bom_input_extra_product_form</field>
|
|
</record>
|
|
<record model="ir.ui.view" id="bom_input_extra_product_view_list">
|
|
<field name="model">production.bom.input.extra_product</field>
|
|
<field name="type">tree</field>
|
|
<field name="name">bom_input_extra_product_list</field>
|
|
</record>
|
|
|
|
<record model="ir.ui.view" id="bom_output_extra_product_view_form">
|
|
<field name="model">production.bom.output.extra_product</field>
|
|
<field name="type">form</field>
|
|
<field name="name">bom_output_extra_product_form</field>
|
|
</record>
|
|
<record model="ir.ui.view" id="bom_output_extra_product_view_list">
|
|
<field name="model">production.bom.output.extra_product</field>
|
|
<field name="type">tree</field>
|
|
<field name="name">bom_output_extra_product_list</field>
|
|
</record>
|
|
|
|
<record model="ir.action.act_window" id="act_extra_product_production_bom_input">
|
|
<field name="name">Input Extra products</field>
|
|
<field name="res_model">production.bom.input.extra_product</field>
|
|
<field name="domain"></field>
|
|
<field name="domain"
|
|
eval="[('bom_input.bom', '=', Eval('active_id'))]"
|
|
pyson="1"/>
|
|
</record>
|
|
<record model="ir.action.keyword" id="act_open_extra_product_production_bom_input_keyword1">
|
|
<field name="keyword">form_relate</field>
|
|
<field name="model">production.bom,-1</field>
|
|
<field name="action" ref="act_extra_product_production_bom_input"/>
|
|
</record>
|
|
<record model="ir.action-res.group" id="act_extra_product_production_input_bom-group_stock">
|
|
<field name="action" ref="act_extra_product_production_bom_input"/>
|
|
<field name="group" ref="stock.group_stock"/>
|
|
</record>
|
|
|
|
<record model="ir.action.act_window" id="act_extra_product_production_bom_output">
|
|
<field name="name">Output Extra products</field>
|
|
<field name="res_model">production.bom.output.extra_product</field>
|
|
<field name="domain"
|
|
eval="[('bom_output.bom', '=', Eval('active_id'))]"
|
|
pyson="1"/>
|
|
</record>
|
|
<record model="ir.action.keyword" id="act_open_extra_product_production_bom_output_keyword1">
|
|
<field name="keyword">form_relate</field>
|
|
<field name="model">production.bom,-1</field>
|
|
<field name="action" ref="act_extra_product_production_bom_output"/>
|
|
</record>
|
|
<record model="ir.action-res.group" id="act_extra_product_production_bom_output-group_stock">
|
|
<field name="action" ref="act_extra_product_production_bom_output"/>
|
|
<field name="group" ref="stock.group_stock"/>
|
|
</record>
|
|
|
|
<record model="ir.model.access" id="access_production_bom_output_extra_product_admin">
|
|
<field name="model" search="[('model', '=', 'production.bom.output.extra_product')]"/>
|
|
<field name="group" ref="production.group_production_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_production_bom_output_extra_product_user">
|
|
<field name="model" search="[('model', '=', 'production.bom.output.extra_product')]"/>
|
|
<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_production_bom_input_extra_product_admin">
|
|
<field name="model" search="[('model', '=', 'production.bom.input.extra_product')]"/>
|
|
<field name="group" ref="production.group_production_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_production_bom_input_extra_product_user">
|
|
<field name="model" search="[('model', '=', 'production.bom.input.extra_product')]"/>
|
|
<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>
|
|
</data>
|
|
</tryton>
|