[FIX] Stock : Forecast report: unicode error corrected
lp bug: https://launchpad.net/bugs/481524 fixed bzr revid: jvo@tinyerp.com-20091118121011-i9ggw4sze11f1bem
This commit is contained in:
committed by
Jay (Open ERP)
parent
9c806c8d58
commit
5e0481ff69
@@ -57,6 +57,8 @@ class report_stock(report_int):
|
||||
dt_to = now
|
||||
|
||||
names = dict(pooler.get_pool(cr.dbname).get('product.product').name_get(cr, uid, product_ids))
|
||||
for name in names:
|
||||
names[name] = names[name].encode('utf8')
|
||||
products = {}
|
||||
prods = pooler.get_pool(cr.dbname).get('stock.location')._product_all_get(cr, uid, location_id, product_ids)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user