[MERGE] stock: fix the issue of counting of Deliveries

bzr revid: stw@openerp.com-20120905131750-19qrx22nauoxc6fk
This commit is contained in:
Stephane Wirtel 2012-09-05 15:17:50 +02:00
commit 92d66cea29
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ class product_product(osv.osv):
], ['product_id'], ['product_id'])
for move in moves:
product_id = move['product_id'][0]
res[product_id]['reception_count'] = move['product_id_count']
res[product_id]['delivery_count'] = move['product_id_count']
return res
def get_product_accounts(self, cr, uid, product_id, context=None):