diff --git a/addons/stock/test/stock_chain_location.yml b/addons/stock/test/stock_chain_location.yml index 9b05684bb11..927fa2ec39f 100644 --- a/addons/stock/test/stock_chain_location.yml +++ b/addons/stock/test/stock_chain_location.yml @@ -29,7 +29,7 @@ if i.location_id.name == 'Cold Storage': assert i.location_dest_id.name == 'Customers',"Destination location must be 'Customers' because the source location is 'Cold Storage'" - - I trace the stock production lot for product 'Sprouting Foods' + I trace the stock production lot for product 'Sprouting Foods'. - !python {model: stock.production.lot }: | self.action_traceability(cr,uid,[ref('stock_production_lot2')], {'active_model': 'ir.ui.menu', 'field': '', 'type': ''}) diff --git a/addons/stock/test/stock_demo_backorder.yml b/addons/stock/test/stock_demo_backorder.yml index e610874850d..5df0f922c59 100644 --- a/addons/stock/test/stock_demo_backorder.yml +++ b/addons/stock/test/stock_demo_backorder.yml @@ -76,3 +76,4 @@ assert move.state == 'done',"Stock move of %s picking should be in 'Done' state"%(move.picking_id) for move in stock.browse(cr, uid, assign_move): assert move.state == 'assigned' or 'draft',"Stock move of %s picking should be in 'Available' state"%(move.picking_id) + diff --git a/addons/stock/test/stock_new_pack.yml b/addons/stock/test/stock_new_pack.yml index 245c06e7b51..fd91238859b 100644 --- a/addons/stock/test/stock_new_pack.yml +++ b/addons/stock/test/stock_new_pack.yml @@ -1,5 +1,5 @@ - - In order to test the new packing facility in OpenERP, I create one pack record. + In order to test the new packing from the existing one, First I create a pack. - !record {model: stock.tracking, id: stock_tracking_0}: name: 0000007 @@ -10,7 +10,7 @@ !record {model: stock.move, id: stock_move_3}: tracking_id: stock_tracking_0 - - I split the picking in two quantities. + I split the picking in to two quantities. - !python {model: stock.move }: | move_ids=self.browse(cr,uid,ref('stock_move_3')) diff --git a/addons/stock/test/stock_physical_inventory.yml b/addons/stock/test/stock_physical_inventory.yml index f4ddd012d5c..30e91c76522 100644 --- a/addons/stock/test/stock_physical_inventory.yml +++ b/addons/stock/test/stock_physical_inventory.yml @@ -1,3 +1,5 @@ +- + In order to test the stock module, I start it from physical inventory. - I create a record for physical inventory and change the product quantity zero by making a physical inventory. - diff --git a/addons/stock/test/stock_update.yml b/addons/stock/test/stock_update.yml index 19f88dc9f9d..70301d41f8a 100644 --- a/addons/stock/test/stock_update.yml +++ b/addons/stock/test/stock_update.yml @@ -1,5 +1,5 @@ - - In order to test the stock module, I update the current stock of the product '[CPU2]High speed processor config'. + I update the current stock of the product '[CPU2]High speed processor config'. - I assignd the created location in to warehouse. - @@ -27,7 +27,7 @@ !python {model: stock.production.lot }: | self.action_traceability(cr,uid,[ref('stock_production_lot0')], {'lang': 'en_US', 'tz': False, 'active_model': 'ir.ui.menu', 'field': '', 'type': ''}) - - I check physical inventory created. + I check that physical inventory created. - !python {model: stock.inventory.line}: | ids = self.search(cr, uid, [('product_id','=',ref('product.product_product_cpu2'))]) @@ -37,7 +37,7 @@ assert inventory.location_id.id == ref('stock_location_stock'), 'Location is not correspond' assert inventory.state == 'done', 'State should be in Done state' - - I check stock moves created. + I check that stock moves created. - !python {model: stock.move}: | ids = self.search(cr, uid, [('product_id','=',ref('product.product_product_cpu2'))])