Jalpesh Patel(OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-bug-1052079-pja into 
lp:openobject-addons.

Requested reviews:
  Atul Patel(OpenERP) (atp-openerp)
  Amit Patel (OpenERP) (apa-tiny)
Related bugs:
  Bug #1052079 in OpenERP Addons: "[6.1 / trunk] survey module not fully 
unicode aware"
  https://bugs.launchpad.net/openobject-addons/+bug/1052079

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1052079-pja/+merge/132691

Hello sir,

                  I have improve code as per your suggestion and resubmit it.
                 
Thanks!
pja
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1052079-pja/+merge/132691
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-1052079-pja.
=== modified file 'survey/wizard/survey_answer.py'
--- survey/wizard/survey_answer.py	2012-10-23 14:47:46 +0000
+++ survey/wizard/survey_answer.py	2012-11-02 12:15:36 +0000
@@ -520,7 +520,7 @@
                                     value[field] = ans.value
 
                         if que.comment and (field.split('_')[1] == "comment" or field.split('_')[1] == "other"):
-                            value[field] = str(que.comment)
+                            value[field] = tools.ustr(que.comment)
 
                         elif que.single_text and field.split('_')[1] == "single":
                             value[field] = str(que.single_text)

_______________________________________________
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