[FIX] models: simplify partial setup of fields, let it crash silently
authorRaphael Collet <rco@openerp.com>
Tue, 14 Oct 2014 15:34:30 +0000 (17:34 +0200)
committerRaphael Collet <rco@openerp.com>
Wed, 15 Oct 2014 09:39:12 +0000 (11:39 +0200)
commit89031f5de6767637b01d71e31fc3f3e01a71f80b
tree9ce101e65288c85408888b18779fdd675c5076f0
parent1da0a0b3a58a7bc22b580427285462fc8e8e9bef
[FIX] models: simplify partial setup of fields, let it crash silently

The setup of relational fields may be problematic, as they may refer to unknown
models via custom relational fields.  In a partial setup, do not try to skip
the field setup, but let it go and silently catch any exception if it crashes.
openerp/fields.py
openerp/models.py