[FIX] test company_id

bzr revid: jco@openerp.com-20130527213330-a43mqmarykiyfbqy
This commit is contained in:
Josse Colpaert
2013-05-27 23:33:30 +02:00
parent fbc2978d02
commit 32c8a20f26
+1 -2
View File
@@ -93,8 +93,7 @@ class product_product (osv.osv):
order = 'date, id'
else:
order = 'date desc, id'
move_in_ids = move_obj.search(cr, uid, [('company_id','=', company_id),
('qty_remaining', '>', 0.0),
move_in_ids = move_obj.search(cr, uid, [('qty_remaining', '>', 0.0),
('state', '=', 'done'),
('location_id.usage', '!=', 'internal'),
('location_dest_id.usage', '=', 'internal'),