[MERGE] OPW 18010: mail_gateway: handle attachment sent with mimetype EXT/octet-strea...
[odoo/odoo.git] / addons / mrp_subproduct / mrp_subproduct_view.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <openerp>
3     <data>
4         <record id="mrp_subproduct_view" model="ir.ui.view">
5             <field name="name">mrp.bom.sub.product</field>
6             <field name="model">mrp.bom</field>
7             <field name="inherit_id" ref="mrp.mrp_bom_form_view"/>
8             <field name="type">form</field>
9             <field name="arch" type="xml">
10              <notebook>
11                  <page string="Sub Products" position="inside">
12                      <field colspan="4" name="sub_products" nolabel="1" widget="one2many_list">
13                          <tree string="sub products"  editable="top">
14                              <field name="product_id" on_change="onchange_product_id(product_id)"/>
15                              <field name="product_uom"/>
16                              <field name="product_qty"/>
17                              <field name="subproduct_type"/>
18                          </tree>
19                          <form string="Sub Products">
20                              <field name="product_id" on_change="onchange_product_id(product_id)"/>
21                              <field name="product_uom"/>
22                              <field name="product_qty"/>
23                              <field name="subproduct_type"/>
24                          </form>
25                     </field>
26                 </page>
27             </notebook>
28             </field>
29         </record>
30   </data>
31 </openerp>