[FIX] stock: shipment.yml fixed. The fields location_id and location_dest_id are now required on pack.operations
bzr revid: qdp-launchpad@openerp.com-20140311171443-sbxsa2p8biyzo7t9
This commit is contained in:
parent
7d0760b59a
commit
ff09748ec9
|
@ -19,6 +19,8 @@
|
|||
'product_id': ref('product_icecream'),
|
||||
'product_uom_id': ref('product.product_uom_kgm'),
|
||||
'product_qty': 40
|
||||
'location_id': ref('stock.stock_location_suppliers'),
|
||||
'location_dest_id': ref('stock.stock_location_14')
|
||||
})
|
||||
context.update({'active_model': 'stock.picking', 'active_id': ref('incomming_shipment'), 'active_ids': [ref('incomming_shipment')]})
|
||||
pick.do_transfer(context=context)
|
||||
|
@ -47,6 +49,8 @@
|
|||
'product_id': ref('product_icecream'),
|
||||
'product_uom_id': ref('product.product_uom_kgm'),
|
||||
'product_qty': 10
|
||||
'location_id': ref('stock.stock_location_suppliers'),
|
||||
'location_dest_id': ref('stock.stock_location_14')
|
||||
})
|
||||
backorder.do_transfer(context=context)
|
||||
-
|
||||
|
|
Loading…
Reference in New Issue