[Trunk/6.1.1] UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' in position 8: ordinal not in range(128)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP R&D Addons Team 3 |
Bug Description
Hello,
I was creating an invoice through the web client, so I was creating a new invoice line, when typing the name of the accountancy account with an accent "prestación" (not really sure if this is the correct name in english, i'm Spanish), an error appeared:
Client Traceback (most recent call last):
File "/opt/server/
response[
File "/opt/server/
return self.call_
File "/opt/server/
return self._call_kw(req, model, method, args, {})
File "/opt/server/
return getattr(
File "/opt/server/
args, kw)
File "/opt/server/
result = self.connector.
File "/opt/server/
raise fault
Server Traceback (most recent call last):
File "/opt/server/
result = openerp.
File "/usr/local/
result = ExportService.
File "/usr/local/
res = fn(db, uid, *params)
File "/usr/local/
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/usr/local/
return f(self, dbname, *args, **kwargs)
File "/usr/local/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/local/
return getattr(object, method)(cr, uid, *args, **kw)
File "/opt/server/
ids = self.search(cr, user, [('code', operator, operand1), ('name', operator, operand2)]+ args, limit=limit)
File "/opt/server/
args[pos] = ('code', '=like', str(args[
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' in position 8: ordinal not in range(128)
Related branches
- OpenERP Core Team: Pending requested
-
Diff: 20 lines (+2/-1)1 file modifiedaccount/account.py (+2/-1)
- Naresh(OpenERP): Pending requested
-
Diff: 20 lines (+2/-1)1 file modifiedaccount/account.py (+2/-1)
summary: |
- [6.1.1] UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' - in position 8: ordinal not in range(128) + [Trunk/6.1.1] UnicodeEncodeError: 'ascii' codec can't encode character + u'\xf3' in position 8: ordinal not in range(128) |
affects: | openerp-web → openobject-addons |
Changed in openobject-addons: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Hello Manu.
Thanks for the reporting!
Your issue has been fixed on lp:~openerp-dev/openobject-addons/trunk-bug-1029316-amp branch with following rev id and rev no.
Rev Id : <email address hidden>
Rev no : 7139
It will merge with trunk soon.
Thanks again!