odoo/odoo — pull request #3658 by bwrsandman (2014-11-14 18:51:14+00:00)
Title: Raise error on read of a browse object with bad id

Check if id is valid by searching objects for id yields no fields
If no id is in the table raise BrowseRecordError with proper message to user
Maintain lazy sql properties of object by only checking when things go wrong

Signed-off-by: Sandy Carter