2010-03-09 06:39:45 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
2010-04-09 07:14:08 +00:00
|
|
|
|
2010-03-09 06:39:45 +00:00
|
|
|
<!-- Make Procurement -->
|
2010-04-09 07:14:08 +00:00
|
|
|
|
|
|
|
<record id="view_make_procurment_wizard" model="ir.ui.view">
|
|
|
|
<field name="name">Procurement Request</field>
|
2010-03-09 06:39:45 +00:00
|
|
|
<field name="model">make.procurement</field>
|
|
|
|
<field name="arch" type="xml">
|
2014-06-12 07:09:59 +00:00
|
|
|
<form string="Procurement Request">
|
2012-08-31 14:57:07 +00:00
|
|
|
<p class="oe_gray">
|
2013-06-10 11:25:17 +00:00
|
|
|
Use this assistant to generate a procurement request for this
|
2012-08-31 14:57:07 +00:00
|
|
|
product. According to the product configuration, this may
|
|
|
|
trigger a draft purchase order, a manufacturing order or
|
|
|
|
a new task.
|
|
|
|
</p>
|
|
|
|
<group>
|
|
|
|
<field name="warehouse_id" groups="stock.group_locations"/>
|
2012-06-08 18:35:18 +00:00
|
|
|
<field name="product_id" on_change="onchange_product_id(product_id)"/>
|
2012-08-31 14:57:07 +00:00
|
|
|
<label for="qty"/>
|
|
|
|
<div>
|
|
|
|
<field name="qty" class="oe_inline"/>
|
|
|
|
<field name="uom_id" groups="product.group_uom"/>
|
|
|
|
</div>
|
2012-06-08 18:35:18 +00:00
|
|
|
<field name="date_planned"/>
|
2010-04-09 07:14:08 +00:00
|
|
|
</group>
|
2012-07-10 16:40:11 +00:00
|
|
|
<footer>
|
|
|
|
<button name="make_procurement" string="Ask New Products" type="object" class="oe_highlight" />
|
|
|
|
or
|
|
|
|
<button string="Cancel" class="oe_link" special="cancel" />
|
|
|
|
</footer>
|
2010-03-09 06:39:45 +00:00
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2012-09-02 13:14:13 +00:00
|
|
|
<record model="ir.actions.act_window" id="act_make_procurement">
|
|
|
|
<field name="name">Procurement Request</field>
|
|
|
|
<field name="res_model">make.procurement</field>
|
|
|
|
<field name="src_model">product.product</field>
|
|
|
|
<field name="view_mode">form</field>
|
|
|
|
<field name="target">new</field>
|
|
|
|
</record>
|
2010-04-09 07:14:08 +00:00
|
|
|
|
|
|
|
</data>
|
|
|
|
</openerp>
|