1 <?xml version="1.0" encoding="utf-8"?>
5 <!-- Make Procurement -->
7 <record id="view_make_procurment_wizard" model="ir.ui.view">
8 <field name="name">Procurement Request</field>
9 <field name="model">make.procurement</field>
10 <field name="arch" type="xml">
11 <form string="Procurement Request" version="7.0">
13 Fill is this for to launch a procurement request for this
14 product. According to the product configuration, this may
15 trigger a draft purchase order, a manufacturing order or
19 <field name="warehouse_id" groups="stock.group_locations"/>
20 <field name="product_id" on_change="onchange_product_id(product_id)"/>
23 <field name="qty" class="oe_inline"/>
24 <field name="uom_id" groups="product.group_uom"/>
26 <field name="date_planned"/>
29 <button name="make_procurement" string="Ask New Products" type="object" class="oe_highlight" />
31 <button string="Cancel" class="oe_link" special="cancel" />
37 <record model="ir.actions.act_window" id="act_make_procurement">
38 <field name="name">Procurement Request</field>
39 <field name="res_model">make.procurement</field>
40 <field name="src_model">product.product</field>
41 <field name="view_mode">form</field>
42 <field name="target">new</field>