[FIX] stock: inventory yaml test
bzr revid: qdp-launchpad@openerp.com-20130903090746-64s7pv9fi212pvi3
This commit is contained in:
@@ -83,8 +83,8 @@
|
||||
!python {model: stock.inventory}: |
|
||||
inv = self.browse(cr, uid, ref('inventory_test1'), context=context)
|
||||
assert inv.line_ids and len(inv.line_ids) == 1, "Wrong number of inventory lines."
|
||||
assert len(inv.line_ids[0].product_qty) == 10, "Wrong quantity in inventory line."
|
||||
assert len(inv.line_ids[0].product_id.id) == ref('inventory_product'), "Wrong product in inventory line."
|
||||
assert inv.line_ids[0].product_qty == 10, "Wrong quantity in inventory line."
|
||||
assert inv.line_ids[0].product_id.id == ref('inventory_product'), "Wrong product in inventory line."
|
||||
-
|
||||
I modify the inventory line and set the quantity to 20 product on this new inventory
|
||||
-
|
||||
|
||||
Reference in New Issue
Block a user