[FIX] fields: in computed fields, handle AccessError and MissingError
authorRaphael Collet <rco@openerp.com>
Thu, 11 Sep 2014 08:31:10 +0000 (10:31 +0200)
committerRaphael Collet <rco@openerp.com>
Thu, 11 Sep 2014 09:57:18 +0000 (11:57 +0200)
commit7c0387c952bbe55ae5999a68f1e2ca498254d833
tree76c95cabb437bea5b07752ffe06b3836e1ba9e33
parent378d41551afba23e6ee84cee1d2114c6691a5bed
[FIX] fields: in computed fields, handle AccessError and MissingError

When computing a field on a recordset, a subset of the records may be missing
or forbidden by access rules.  In that case, evaluate the compute method record
by record, and mark failed records as such in cache.
openerp/fields.py