[IMP] Do not rereserve, such that quants are not unnecessarily split, remove assert warehouse po

bzr revid: jco@openerp.com-20130904130717-hmwruiy0imxdqpo7
This commit is contained in:
Josse Colpaert 2013-09-04 15:07:17 +02:00
parent cc71e22490
commit 9d5801f4cd
2 changed files with 0 additions and 2 deletions

View File

@ -27,7 +27,6 @@
assert total_new_qty == total_qty,"product quantities are not correspond"
assert order.partner_id == order3.partner_id ,"partner is not correspond"
assert order.warehouse_id == order3.warehouse_id or order7.warehouse_id,"Warehouse is not correspond"
assert order.state == 'draft',"New created order state should be in draft"
assert order.pricelist_id == order3.pricelist_id,"Price list is not correspond"
assert order.date_order == order3.date_order ,"Date of order is not correspond"

View File

@ -123,7 +123,6 @@
Process this picking
-
!python {model: stock.picking}: |
self.rereserve(cr, uid, [ref('delivery_order1')], context=context)
self.do_partial(cr, uid, [ref('delivery_order1')], context=context)
-
Check the quants that you have 120 pieces pallet 1 in customers, 100 pieces pallet 2 in stock and 20 with customers and 50 in stock, 10 in customers from pallet 3