trytond-production_drawing/bom.xml
2017-08-25 11:45:25 +02:00

59 lines
3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- 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_drawing_line_view_form">
<field name="model">production.bom.drawing.line</field>
<field name="type">form</field>
<field name="name">bom_drawing_line_form</field>
</record>
<record model="ir.ui.view" id="bom_drawing_line_view_list">
<field name="model">production.bom.drawing.line</field>
<field name="type">tree</field>
<field name="name">bom_drawing_line_list</field>
</record>
<record model="ir.action.act_window" id="act_production_bom_drawing_line">
<field name="name">Production BOM Drawing Line</field>
<field name="res_model">production.bom.drawing.line</field>
</record>
<record model="ir.action.act_window.view" id="act_production_bom_drawing_line_view1">
<field name="sequence" eval="10"/>
<field name="view" ref="bom_drawing_line_view_list"/>
<field name="act_window" ref="act_production_bom_drawing_line"/>
</record>
<record model="ir.action.act_window.view" id="act_production_bom_drawing_line_view2">
<field name="sequence" eval="20"/>
<field name="view" ref="bom_drawing_line_view_form"/>
<field name="act_window" ref="act_production_bom_drawing_line"/>
</record>
<record model="ir.model.access" id="access_production_bom_drawing_line">
<field name="model" search="[('model', '=', 'production.bom.drawing.line')]"/>
<field name="group" ref="production.group_production"/>
<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_drawing_line_admin">
<field name="model" search="[('model', '=', 'production.bom.drawing.line')]"/>
<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.ui.view" id="bom_view_form">
<field name="model">production.bom</field>
<field name="type">form</field>
<field name="inherit" ref="production.bom_view_form"/>
<field name="name">bom_form</field>
</record>
<record model="ir.ui.view" id="bom_view_list">
<field name="model">production.bom</field>
<field name="type">tree</field>
<field name="inherit" ref="production.bom_view_list"/>
<field name="name">bom_list</field>
</record>
</data>
</tryton>