[MERGE] stock: fix the issue of counting of Deliveries
bzr revid: stw@openerp.com-20120905131750-19qrx22nauoxc6fk
This commit is contained in:
commit
92d66cea29
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue