odoo/openerp
Denis Ledoux c9154e08aa [FIX] api: environment recomputation
In a workflow context (for instance, in the invoice workflow),
context is not passed.

Therefore, relying on the 'recompute' key being the context
in order to not recompute the fields does not work with Workflows.

It leads to huge performance issues,
as fields are recomputed recursively (instead of sequentially)
when several records are implied.
For instance, when reconciling several invoices with one payment
(100 invoices with 1 payment for instance),
records of each invoice are recomputed uselessly in each workflow call
(for each "confirm_paid" method done for each invoice).

With a significant number of invoices (100, for instance),
it even leads to a "Maximum recursion depth reached" errror.

closes #4905
2015-02-12 14:57:31 +01:00
..
addons [FIX] models: inherited fields must be copied iff their original field is copied 2015-02-11 12:23:11 +01:00
cli [IMP] let scaffold render files ending by .rst and .html 2015-01-19 14:25:36 +01:00
conf [MERGE] openerp.pooler is deprecated. 2013-03-27 17:40:45 +01:00
modules [FIX] mail: prevent sending mail during registry loading 2015-01-28 16:17:43 +01:00
osv [FIX] api: environment recomputation 2015-02-12 14:57:31 +01:00
report [MERGE] forward port of branch saas-3 up to b3f3daf 2015-01-23 13:28:17 +01:00
service [FIX] dbmanager: backup allow pg_dump custom dump to be larger than diskspace 2015-01-19 02:42:34 +01:00
tests [FIX] test phantomjs discard stderr 2015-01-09 01:21:42 +01:00
tools [FIX] tools.translate: use `request` to find `cr` and `lang` when other methods fail 2015-02-09 20:21:10 +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] api: environment recomputation 2015-02-12 14:57:31 +01:00
exceptions.py [ADD] doc: new documentation, with training tutorials, and new scaffolding 2014-08-22 17:51:20 +02:00
fields.py [IMP] fields: in selection fields, 'selection_add' only adds options not in selection yet 2015-02-11 13:31:17 +01:00
http.py [IMP] http: don't warn when using HTTPException results 2015-01-29 16:15:36 +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 [FIX] api: environment recomputation 2015-02-12 14:57:31 +01:00
netsvc.py [FIX] logging: dont use color in windows cmd 2015-01-09 01:45:41 +01: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 [MERGE] forward port of branch saas-3 up to 30674c3 2014-12-23 14:03:38 +01:00