odoo/openerp
Raphael Collet e038fec696 [IMP] models: improve performance of _setup_fields()
There was an issue in _setup_fields(): the method invokes _inherits_reload(),
which recomputes inherited fields, and invokes itself recursively on children
models.  This may be problematic if the children models have already been set
up.

This optimization avoids recursive calls of method _inherits_reload().  In
_setup_fields(), first all parent models are set up, then their fields are
inspected to determine inherited fields, and their setup is done.  This scheme
guarantees that inherited fields are computed once per model.
2014-11-13 14:54:04 +01:00
..
addons [FIX] ir_model: always setup models before calling _auto_init() 2014-11-13 14:54:04 +01:00
cli [FIX] When using "--stop-after-init", set the return code correctly. A non zero return code reflect the number of databases that fail to load/update 2014-10-24 16:24:50 +02:00
conf [MERGE] openerp.pooler is deprecated. 2013-03-27 17:40:45 +01:00
modules [IMP] models: improve performance of _setup_fields() 2014-11-13 14:54:04 +01:00
osv [IMP] models: in _init_manual_fields(), create fields instead of columns 2014-11-13 14:54:04 +01:00
report [MERGE] forward port of branch saas-3 up to c89d1a0 2014-10-23 13:08:44 +02:00
service [FIX] longpolling/gevent: automatically restart worker when killed 2014-11-05 17:09:10 +01:00
tests [IMP] doc: add testing reference and improve docstrings 2014-10-09 15:38:36 +02:00
tools [MERGE] forward port of branch saas-3 up to d36eee9 2014-11-05 20:26:36 +01:00
workflow [IMP] workflow: add sequence for ordering workflow transitions (split/join mode especially for XOR) 2014-08-05 12:26:28 +02:00
PKG-INFO [REM] netrpc: KILL EVERYBODY 2013-02-21 13:18:25 +01:00
__init__.py [MERGE] new v8 api by rco 2014-07-06 17:05:41 +02:00
api.py [FIX] models: do not prefetch fields to recompute, and recompute once only 2014-10-13 12:38:59 +02:00
exceptions.py [ADD] doc: new documentation, with training tutorials, and new scaffolding 2014-08-22 17:51:20 +02:00
fields.py [IMP] models: improve performance of _setup_fields() 2014-11-13 14:54:04 +01:00
http.py [FIX] corrected a word in a comment 2014-11-03 10:19:15 +01:00
import_xml.rng [MERGE] ir-ui-view split active and show_customize 2014-08-31 16:56:44 +02:00
loglevels.py [REF] logging: removed pseudo log-level TEST. 2013-03-26 16:58:44 +01:00
models.py [IMP] models: improve performance of _setup_fields() 2014-11-13 14:54:04 +01:00
netsvc.py [FIX] Packaging: Wndows: wrong handler used when logging to file 2014-09-19 11:17:13 +02:00
pooler.py [IMP] registry: avoid every direct access registry.db, and rename attribute as registry._db 2014-04-09 15:35:15 +02:00
release.py [REL] Odoo 8.0 2014-09-18 12:11:18 +02:00
sql_db.py [FIX] sql_db: don't log dsn with unmasked passwords 2014-10-28 14:49:57 +01:00