Merge lp:~openerp-dev/openobject-server/6.1-opw-576295-rgo into lp:openobject-server/6.1
Proposed by
Ravi Gohil (OpenERP)
Status: | Merged |
---|---|
Approved by: | Naresh(OpenERP) |
Approved revision: | 4224 |
Merged at revision: | 4259 |
Proposed branch: | lp:~openerp-dev/openobject-server/6.1-opw-576295-rgo |
Merge into: | lp:openobject-server/6.1 |
Diff against target: |
12 lines (+1/-1) 1 file modified
openerp/addons/base/ir/ir_attachment.py (+1/-1) |
To merge this branch: | bzr merge lp:~openerp-dev/openobject-server/6.1-opw-576295-rgo |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Olivier Dony (Odoo) | Approve | ||
Naresh(OpenERP) (community) | Approve | ||
Review via email: mp+112295@code.launchpad.net |
Description of the change
Hello,
If any file in `Attachments` is referring to a record, reading that record will throw traceback in GTK-Client.
Steps to reproduce the issue:
Go to Customer view, open record for `Agrolait` in form view, add an attachment for this record.
Reload the 'Agrolait' in form view, a traceback will be faced saying,
`TypeError: 'bool' object is not iterable`.
This fix fixes this issue. Kindly review it.
Thanks.
To post a comment you must log in.
The issue is a result of a regression generated at 4069 <email address hidden> where the count=False was changed to count=count. Where as we expect ids and not the count from super here