Comment 1 for bug 1175984

Revision history for this message
Ravi Gohil (OpenERP) (rgo-openerp) wrote :

Hi Karel Marissens,

For V7, this issue has been fixed in the,
Branch: lp:~openerp-dev/openobject-addons/7.0-opw-592256-rgo
Rev Id: <email address hidden>
Rev #: 9099

>Note that the error was very cryptic:
> TypeError: 'int' object has no attribute '__getitem__'
>
>Maybe some better error handling could be added to the relational field class in fields.py (in the method '_fnct_read'). The 'path' of the related field is followed, but there's no check if the path is actually browsable.

This should be considered as an improvement suggestion and should be targeted for trunk version, so, I will open it for trunk.

Thanks.