2010-08-10 12:28:52 +00:00
<?xml version="1.0" encoding="utf-8"?>
<openerp >
<data >
2012-03-27 10:17:13 +00:00
<act_window name= "Return Shipment"
2012-05-08 23:09:06 +00:00
res_model="stock.return.picking"
src_model="stock.picking"
view_mode="form"
target="new"
2010-11-18 13:31:57 +00:00
key2="client_action_multi"
multi="True"
2012-05-08 23:09:06 +00:00
id="act_stock_return_picking"/>
2011-03-03 14:11:51 +00:00
2013-08-06 15:37:20 +00:00
<record id= "stock_return_line_tree_in" model= "ir.ui.view" >
<field name= "name" > stock.return.picking.line.tree</field>
<field name= "model" > stock.return.picking.line</field>
2011-03-03 14:11:51 +00:00
<field name= "arch" type= "xml" >
<tree editable= "bottom" string= "Product Moves" >
<field name= "product_id" />
2014-01-30 17:47:11 +00:00
<field name= "lot_id" groups= "stock.group_production_lot" />
2011-03-03 14:11:51 +00:00
<field name= "quantity" />
</tree>
</field>
</record>
2013-08-06 15:37:20 +00:00
<record id= "stock_return_line_form_in" model= "ir.ui.view" >
<field name= "name" > stock.return.picking.line.from</field>
<field name= "model" > stock.return.picking.line</field>
2011-03-03 14:11:51 +00:00
<field name= "arch" type= "xml" >
2014-06-12 07:09:59 +00:00
<form string= "Return Picking Memory" >
2012-06-09 21:56:28 +00:00
<group col= "4" >
<field name= "product_id" />
2014-01-30 17:47:11 +00:00
<field name= "lot_id" groups= "stock.group_production_lot" />
2012-06-09 21:56:28 +00:00
<field name= "quantity" />
</group>
2011-03-03 14:11:51 +00:00
</form>
</field>
</record>
2011-03-04 13:47:28 +00:00
<record id= "view_stock_return_picking_form" model= "ir.ui.view" >
<field name= "name" > Return lines</field>
<field name= "model" > stock.return.picking</field>
<field name= "arch" type= "xml" >
2014-06-12 07:09:59 +00:00
<form string= "Return lines" >
2014-02-05 17:24:44 +00:00
<group string= "Provide the quantities of the returned products." >
2014-01-30 14:34:28 +00:00
<field name= "move_dest_exists" invisible= "1" />
2014-02-06 12:38:52 +00:00
<div attrs= "{'invisible': [('move_dest_exists', '=', False)]}" class= "oe_grey" colspan= "4" >
<p > This picking appears to be chained with another operation. Later, if you receive the goods you are returning now, make sure to <b > reverse</b> the returned picking in order to avoid logistic rules to be applied again (which would create duplicated operations)</p>
2014-02-05 17:24:44 +00:00
</div>
2014-02-06 12:38:52 +00:00
<field name= "product_return_moves" colspan= "4" >
<tree editable= "top" >
<field name= "product_id" />
<field name= "lot_id" domain= "[('product_id', '=', product_id)]" context= "{'default_product_id': product_id}" />
<field name= "quantity" />
</tree>
</field>
2011-03-04 13:47:28 +00:00
</group>
2012-07-10 16:40:11 +00:00
<footer >
<button name= "create_returns" string= "Return" type= "object" class= "oe_highlight" />
or
<button string= "Cancel" class= "oe_link" special= "cancel" />
</footer>
2011-03-04 13:47:28 +00:00
</form>
</field>
</record>
2013-08-06 15:37:20 +00:00
2011-03-03 14:11:51 +00:00
</data>
2010-11-18 13:31:57 +00:00
</openerp>