ORM: instrument sql, have debug for "access errors"
ORM: instrument sql, have debug for "access errors"

In the case of account.move.unlink(), the browse cache had followed the
volatile data of the db. The count mismatch would be interpreted as an
access error. Then, we need good per-object instrumentation, so that we
can find and patch the module code.

xrg/openerp-server,xrg/openerp-server