Turkesh Patel (openERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-bug-1007854-tpa into 
lp:openobject-addons.

Requested reviews:
  Jigar Amin  (OpenERP) (jam-openerp)
  OpenERP Core Team (openerp)
Related bugs:
  Bug #1007854 in OpenERP Addons: "Stock level forecast report doesn't support 
accented character."
  https://bugs.launchpad.net/openobject-addons/+bug/1007854

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1007854-tpa/+merge/109586

[FIX] stock: 'product level forecast' report does not support accented char so 
pass after encoding.
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1007854-tpa/+merge/109586
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-1007854-tpa.
=== modified file 'stock/report/stock_graph.py'
--- stock/report/stock_graph.py	2011-01-14 00:11:01 +0000
+++ stock/report/stock_graph.py	2012-08-23 09:55:49 +0000
@@ -22,6 +22,7 @@
 import pychart.legend
 import time
 from report.misc import choice_colors
+import tools
 
 #
 # Draw a graph for stocks
@@ -41,7 +42,7 @@
             product_name=product_name.replace('/', '//')
         if product_id not in self._datas:
             self._datas[product_id] = {}
-        self._names[product_id] = product_name
+        self._names[product_id] = tools.ustr(product_name)
         for (dt,stock) in datas:
             if not dt in self._datas[product_id]:
                 self._datas[product_id][dt]=0

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to