123
123
assert not a_qty, 'Quantity for product A is not empty - %s'%a_qty
124
124
assert not b_qty, 'Quantity for product B is not empty - %s'%b_qty
126
a_qty = [3.0, 7.0, 0.0, 0.0]
127
b_qty = [4.0, 1.0, 0.0, 0.0]
128
128
out_ids = self.search(cr, uid, [('sale_id', '=', ref("so_C"))], context=context)
129
129
# only one OUT for the sale order
131
131
for obj in self.browse(cr, uid, out_ids, context=context):
132
132
for move in obj.move_lines:
133
133
if move.product_id.id == ref("product_A"):