~vauxoo/addons-vauxoo/6.0-trunk

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version='1.0' encoding='utf-8'?>
<openerp>
    <data>
<!--
    View of wizard on mrp production
-->
        <record id="mrp_production_wizard_form" model="ir.ui.view">
            <field name="name">mrp.production.wizard.form</field>
            <field name="model">mrp.production.wizard</field>
            <field name="arch" type="xml">
                <form string="Produce without BoM" version="7.0">
                    <header>
                        <button string="Cancel" icon="gtk-cancel" type="object" special="cancel" class="oe_highlight"/>
                        <button string="Create production order" icon="gtk-ok" name="pass_products_to_parent" type="object"/>
                    </header>
                    <sheet>
                        <field name="product_id" placeholder="Product"/>
                        <newline/>
                        <field colspan="2" name="wiz_data" nolabel="1" widget="one2many_list" mode="tree" height="275">
                            <tree string="Products to consume" editable="bottom">
                                <field name="product_id_consume" on_change="onchange_production_wizard_product_name(product_id_consume)"/>
                                <field name="product_qty" string="Qty"/>
                                <field name="name"/>
                                <field name="product_uom" string="UOM"/>
                            </tree>
                        </field>
                    </sheet>
                </form>
            </field>
        </record>
    

          
    <act_window id="mrp_production_wizard_act" name="Special Order" src_model="mrp.production" res_model="mrp.production.wizard" view_mode="form" target="new" key2="client_action_multi"/>
    
    <menuitem action="mrp_production_wizard_act" id="mrp_production_wizard_action" parent="mrp.menu_mrp_manufacturing" sequence="50"/>
        
    </data>
</openerp>