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:
ea41874
)
[FIX] import_data: backport of 6.1 fix for allowing non-ascii characters in import...
author
Olivier Dony
<odo@openerp.com>
Wed, 3 Oct 2012 13:00:55 +0000
(15:00 +0200)
committer
Olivier Dony
<odo@openerp.com>
Wed, 3 Oct 2012 13:00:55 +0000
(15:00 +0200)
bzr revid: odo@openerp.com-
20121003130055
-7utq4fzd7i8eaayc
bin/osv/orm.py
patch
|
blob
|
history
diff --git
a/bin/osv/orm.py
b/bin/osv/orm.py
index
77bdb50
..
64d24c4
100644
(file)
--- a/
bin/osv/orm.py
+++ b/
bin/osv/orm.py
@@
-879,7
+879,7
@@
class orm_template(object):
current_module, res, mode=mode, xml_id=xml_id,
noupdate=noupdate, res_id=res_id, context=context)
except Exception, e:
- return (-1, res, 'Line ' + str(position) +' : ' + str(e), '')
+ return (-1, res, 'Line ' + str(position) +' : ' + tools.ustr(e), '')
if config.get('import_partial', False) and filename and (not (position%100)):
data = pickle.load(file(config.get('import_partial')))