Fix sign in stock computation

bzr revid: ced-79106cf7238097c544387abbde72107cbff2bac2
This commit is contained in:
ced 2007-10-10 05:44:33 +00:00
parent 72e77f09fc
commit 1de422b209
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ class stock_location(osv.osv):
if 'out' in what:
# all moves from a location in the set to a location out of the set
cr.execute(
'select -sum(product_qty), product_id, product_uom '\
'select sum(product_qty), product_id, product_uom '\
'from stock_move '\
'where location_id in ('+location_ids_str+') '\
'and location_dest_id not in ('+location_ids_str+') '\