Hi, Fix merged in stable 7.0 addons with following revision:
revno: 9708 [merge] revision-id: [email protected] Regards, ** Changed in: openobject-addons/7.0 Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of OpenERP Indian Team, which is subscribed to OpenERP Addons. https://bugs.launchpad.net/bugs/1175984 Title: Module 'document' contains invalid relational field 'user' Status in OpenERP Addons (modules): Confirmed Status in OpenERP Addons 7.0 series: Fix Released Status in OpenERP Addons trunk series: Confirmed Bug description: OpenERP version: 7.0-20130429-232454 Relevant code of 'report.document.user': 'user_id':fields.integer('Owner', readonly=True), 'user': fields.related('user_id', 'name', type='char', size=64, readonly=True), 'user_id' is an integer, so it's impossible to follow the related field 'user'. This problem was discovered by running the 'general_read_test.yml' from the smile_test module (https://github.com/Smile- SA/smile_openerp_test), which is how it's reproducable. 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. To manage notifications about this bug go to: https://bugs.launchpad.net/openobject-addons/+bug/1175984/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~openerp-india Post to : [email protected] Unsubscribe : https://launchpad.net/~openerp-india More help : https://help.launchpad.net/ListHelp

