[FIX] stock: shipment.yml fixed. The fields location_id and location_dest_id are...
authorQuentin (OpenERP) <qdp-launchpad@openerp.com>
Tue, 11 Mar 2014 17:14:43 +0000 (18:14 +0100)
committerQuentin (OpenERP) <qdp-launchpad@openerp.com>
Tue, 11 Mar 2014 17:14:43 +0000 (18:14 +0100)
bzr revid: qdp-launchpad@openerp.com-20140311171443-sbxsa2p8biyzo7t9

addons/stock/test/shipment.yml

index 5379cd8..585c246 100644 (file)
@@ -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)
 -