Missing support for the read of a single id in res.currency
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP's Framework R&D |
Bug Description
version 6.1-1
The res.currency doesn't support the reading of a single row.
This differs from the basic support in orm.py/
>>> objectsock.
... expected result
now asking for a single instance, so not wrapping the id in a list:
>>> objectsock.
Fault: <Fault string indices must be integers, not str: 'Traceback (most recent call last):
...
File "C:\\Program Files\\OpenERP 6.1-1\\
File "C:\\Program Files\\OpenERP 6.1-1\\
TypeError: string indices must be integers, not str
Related branches
- Amit Parik (community): Approve
- OpenERP Core Team: Pending requested
-
Diff: 15 lines (+4/-1)1 file modifiedopenerp/addons/base/res/res_currency.py (+4/-1)
affects: | openobject-addons → openobject-server |
Changed in openobject-server: | |
assignee: | nobody → OpenERP's Framework R&D (openerp-dev-framework) |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in openobject-server: | |
status: | Confirmed → In Progress |
Changed in openobject-server: | |
status: | In Progress → Fix Committed |
Changed in openobject-server: | |
importance: | Low → Medium |
Hello Maxcom,
This issue has been fixed following branch and rev no , rev id.
Branch : lp:~openerp-dev/openobject-server/trunk-bug-965148-jir
Revision No : 4350
Revision ID : <email address hidden>
Thanks for reporting!