[trunk] Stock Level Forecast encode char regression
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Committed
|
Wishlist
|
OpenERP R&D Addons Team 2 |
Bug Description
Please check below trace which I got when tried to print Stock Level Forecast report from a product, which product name have our native language chars.
rev: 8118
openerp.
Traceback (most recent call last):
File "/home/
(result, format) = obj.create(cr, uid, ids, datas, context)
File "/home/
gt.draw()
File "/home/
ar.
File "/usr/lib/
self.
File "/usr/lib/
l.draw(ar, can, this_x, this_x + max_sample_
File "/usr/lib/
can.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib64/
return codecs.
UnicodeEncodeError: 'charmap' codec can't encode character u'\u0117' in position 5: character maps to <undefined>
Related branches
- qdp (OpenERP): Pending requested
-
Diff: 65 lines (+7/-7)1 file modifiedstock/report/product_stock.py (+7/-7)
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
status: | In Progress → Confirmed |
Changed in openobject-addons: | |
importance: | Medium → Wishlist |
Changed in openobject-addons: | |
status: | Confirmed → Fix Committed |
Hello,
I have faced the same issue when I am creating a product name with '中文产品' and try to print 'Stock level forecast' report.
@Assigned Team : Would you please checked lp:1007854 and lp:956798.
Thank you!