projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec89c9c
)
[FIX] ensure Field strings are decoded before comparing them to one another
author
Xavier Morel
<xmo@openerp.com>
Wed, 16 Jul 2014 12:07:43 +0000
(14:07 +0200)
committer
Xavier Morel
<xmo@openerp.com>
Wed, 16 Jul 2014 12:07:43 +0000
(14:07 +0200)
fixes #773
addons/web/controllers/main.py
patch
|
blob
|
history
diff --git
a/addons/web/controllers/main.py
b/addons/web/controllers/main.py
index
b74efc9
..
16c245f
100644
(file)
--- a/
addons/web/controllers/main.py
+++ b/
addons/web/controllers/main.py
@@
-1330,7
+1330,7
@@
class Export(http.Controller):
fields['.id'] = fields.pop('id', {'string': 'ID'})
fields_sequence = sorted(fields.iteritems(),
- key=lambda field: field[1].get('string', ''))
+ key=lambda field: openerp.tools.ustr(field[1].get('string', '')))
records = []
for field_name, field in fields_sequence: