[IMP] Test company_id and float

bzr revid: jco@openerp.com-20130527213152-t8mkhhiq0b0o3255
This commit is contained in:
Josse Colpaert
2013-05-27 23:31:52 +02:00
parent 522167d707
commit fbc2978d02
+1 -1
View File
@@ -94,7 +94,7 @@ class product_product (osv.osv):
else:
order = 'date desc, id'
move_in_ids = move_obj.search(cr, uid, [('company_id','=', company_id),
('qty_remaining', '>', 0),
('qty_remaining', '>', 0.0),
('state', '=', 'done'),
('location_id.usage', '!=', 'internal'),
('location_dest_id.usage', '=', 'internal'),