orm: Fix the warning of failed update of constraints.
orm: Fix the warning of failed update of constraints.

Was broken since code merge, but this code must all go anyway.

xrg/openerp-server,xrg/openerp-server