openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #20943
[Bug 1081534] Re: osv_memory read function does not return unicode
Hello,
I've written "On server 6.0, revno 3642", not trunk ?
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1081534
Title:
osv_memory read function does not return unicode
Status in OpenERP Server:
Incomplete
Bug description:
On server 6.0, revno 3642:
read calls on osv and osv_memory does not return the same thing:
osv returns a nice unicode but osv_memory returns an str
Example:
write 'ééééééééééé' both on an osv (res.users signature field for example) and an osv_memory text field.
and then read those 2 fields, that's what you will get:
osv_read: u'\xe9\xe9\xe9\xe9\xe9\xe9\xe9\xe9\xe9\xe9\xe9'
osv_memory_read: '\xc3\xa9\xc3\xa9\xc3\xa9\xc3\xa9\xc3\xa9\xc3\xa9\xc3\xa9\xc3\xa9\xc3\xa9\xc3\xa9\xc3\xa9'
To test it, you can install the module provided in attachment that
does just that.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1081534/+subscriptions
References