2010-03-26 09:25:02 +00:00
<?xml version="1.0" encoding="utf-8"?>
<openerp >
2010-06-13 22:35:25 +00:00
<data >
<record id= "action_partial_picking" model= "ir.actions.act_window" >
2010-10-10 17:32:39 +00:00
<field name= "name" > Process Picking</field>
2010-06-13 22:35:25 +00:00
<field name= "res_model" > stock.partial.picking</field>
<field name= "view_type" > form</field>
<field name= "view_mode" > form</field>
2010-03-26 09:25:02 +00:00
<field name= "target" > new</field>
2010-06-13 22:35:25 +00:00
</record>
2010-03-26 09:25:02 +00:00
2012-05-07 11:12:22 +00:00
<!-- this view of stock.partial.picking wizard is dedicated to internal picking. The fields_view_get is ovveridden in order to change the label of the process button and the separator. -->
2011-09-26 00:36:12 +00:00
<record id= "stock_partial_picking_form" model= "ir.ui.view" >
<field name= "name" > stock.partial.picking.form</field>
<field name= "model" > stock.partial.picking</field>
<field name= "arch" type= "xml" >
2012-08-06 13:23:01 +00:00
<form string= "Stock partial Picking" version= "7.0" >
2012-06-29 10:12:08 +00:00
<field name= "hide_tracking" invisible= "1" />
<separator string= "Transfer Products" name= "product_separator" />
2012-06-09 21:56:28 +00:00
<field name= "move_ids" context= "{'hide_tracking': hide_tracking}" >
2011-12-29 13:57:12 +00:00
<tree editable= "bottom" string= "Product Moves" >
2012-08-29 11:07:40 +00:00
<field name= "product_id" on_change= "onchange_product_id(product_id)" />
2011-12-29 13:57:12 +00:00
<field name= "quantity" />
2012-05-17 05:44:51 +00:00
<field name= "product_uom" groups= "product.group_uom" />
2011-12-29 13:57:12 +00:00
<field name= "tracking" invisible= "1" />
2012-12-13 13:02:36 +00:00
<field name= "prodlot_id" domain= "[('product_id', '=', product_id)]" invisible= "context.get('hide_tracking',False)" attrs= "{'required':[('tracking','=',True), ('quantity', '!=', 0)]}" groups= "stock.group_production_lot" context= "{'default_product_id':product_id}" />
2011-12-30 11:06:04 +00:00
<!-- Removed as this feature is not logic: price must be updated upon reception of invoice -->
2011-12-29 13:57:12 +00:00
<field name= "update_cost" invisible= "1" />
2014-09-17 16:04:41 +00:00
<field name= "cost" groups= "base.group_multi_currency" />
<field name= "currency" readonly= "1" groups= "base.group_multi_currency" />
2011-12-29 13:57:12 +00:00
</tree>
</field>
2014-09-17 16:04:41 +00:00
<field name= "help_text" groups= "base.group_multi_currency" class= "oe_grey" />
2012-07-10 16:40:11 +00:00
<footer >
<button name= "do_partial" string= "_Transfer" type= "object" class= "oe_highlight" />
or
<button string= "Cancel" class= "oe_link" special= "cancel" />
</footer>
2011-09-26 00:36:12 +00:00
</form>
</field>
</record>
<record id= "stock_partial_picking_line_list" model= "ir.ui.view" >
<field name= "name" > stock.partial.picking.line.list</field>
<field name= "model" > stock.partial.picking.line</field>
<field name= "arch" type= "xml" >
<tree editable= "bottom" string= "Product Moves" >
<field name= "product_id" />
<field name= "quantity" />
<field name= "product_uom" />
2011-11-10 06:16:39 +00:00
<field name= "tracking" invisible= "1" />
2012-04-25 13:56:29 +00:00
<field name= "prodlot_id" domain= "[('product_id', '=', product_id)]" attrs= "{'required':[('tracking','=',True)]}" />
2011-12-30 11:06:04 +00:00
<!-- Removed as this feature is not logic: price must be updated upon reception of invoice -->
2011-09-26 00:36:12 +00:00
<field name= "update_cost" invisible= "1" />
2011-12-30 11:06:04 +00:00
<field name= "cost" invisible= "1" />
<field name= "currency" invisible= "1" />
2011-09-26 00:36:12 +00:00
</tree>
</field>
</record>
<record id= "stock_partial_picking_line_form" model= "ir.ui.view" >
<field name= "name" > stock.partial.picking.line.form</field>
<field name= "model" > stock.partial.picking.line</field>
<field name= "arch" type= "xml" >
2012-08-06 13:23:01 +00:00
<form string= "Stock Picking Line" version= "7.0" >
2012-06-09 21:56:28 +00:00
<group col= "4" >
<field name= "product_id" />
<field name= "quantity" />
<field name= "product_uom" />
<field name= "location_id" />
<field name= "location_dest_id" />
<field name= "tracking" invisible= "1" />
<field name= "prodlot_id" domain= "[('product_id', '=', product_id)]" attrs= "{'required':[('tracking','=',True)]}" />
<field name= "update_cost" invisible= "1" />
<field name= "cost" attrs= "{'invisible': [('update_cost','=', False)]}" />
2012-08-27 12:03:53 +00:00
<field name= "currency" attrs= "{'invisible': [('update_cost','=', False)]}" groups= "base.group_multi_currency" />
2012-06-09 21:56:28 +00:00
</group>
2011-09-26 00:36:12 +00:00
</form>
</field>
</record>
2010-03-26 09:25:02 +00:00
</data>
</openerp>