[IMP] Search for error on all modules

bzr revid: jco@openerp.com-20130527194750-vwmfk4aqeinv2n0s
This commit is contained in:
Josse Colpaert
2013-05-27 21:47:50 +02:00
parent 01a543658e
commit 775ebcd594
+2
View File
@@ -122,6 +122,8 @@ class product_product (osv.osv):
break
if tuples == [] and move_in_ids != []:
raise osv.except_osv(_('Error'), 'Not possible that there are no tuples when move ins')
else:
raise osv.except_osv(_('Warning'), str(move_in_ids) + str(tuples) + str(qty) + " " + str(qty_to_go))
return tuples
class stock_move(osv.osv):