[FIX] Model.load(): extra error checking while importing data
authorOlivier Dony <odo@openerp.com>
Fri, 1 Aug 2014 20:42:01 +0000 (22:42 +0200)
committerOlivier Dony <odo@openerp.com>
Fri, 1 Aug 2014 20:42:01 +0000 (22:42 +0200)
commit9411a2da03ebfe9d1aeacc43c8bd789a64f647e9
treee371524eeddb192edaf8e5790ae605d4e8244a75
parent19e401adf0d85f07a013c29d64690bd4c88a92e6
[FIX] Model.load(): extra error checking while importing data

If any missing or partially incorrect values cause
an exception other than a psycopg2 error, we should
still catch it, rollback that record and report
the error, rather than letting bubble and fail
without any feedback to the user.

Fixes #1485
openerp/osv/orm.py