From f4292f0d03b1482ef0504a15376fb933de53882c Mon Sep 17 00:00:00 2001 From: "DBR (OpenERP)" Date: Fri, 25 Nov 2011 12:01:43 +0530 Subject: [PATCH] [IMP]sale: Define the propar state bzr revid: dbr@tinyerp.com-20111125063143-jnlkpwpgeiqfck37 --- addons/sale/test/process/cancel_order.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/sale/test/process/cancel_order.yml b/addons/sale/test/process/cancel_order.yml index b3c4a5ba62e..a9952b40f84 100644 --- a/addons/sale/test/process/cancel_order.yml +++ b/addons/sale/test/process/cancel_order.yml @@ -26,7 +26,6 @@ delivery_orders = self.search(cr, uid, [('sale_id','=',ref("order7"))]) first_picking = self.browse(cr, uid, delivery_orders[0], context=context) if first_picking.force_assign(cr, uid, first_picking): - print first_picking.move_lines first_move = first_picking.move_lines[0] values = {'move%s'%(first_move.id): {'product_qty': 5}} first_picking.do_partial(values, context=context) @@ -43,6 +42,7 @@ I run the scheduler. - !python {model: procurement.order}: | + self.run_scheduler(cr, uid) - I check order status in "Ship Exception". @@ -54,10 +54,10 @@ - !workflow {model: sale.order, action: ship_recreate, ref: order7} - - I check state of order in 'In Progress'. + I check state of order in 'To Invoice'. - !assert {model: sale.order, id: order7, string: Sale order should be In Progress state}: - - state == 'progress' + - state == 'manual' - I make invoice for order -