lp:~openerp-dev/openobject-server/6.0-server-fix-stored-function-triggers
- Get this branch:
- bzr branch lp:~openerp-dev/openobject-server/6.0-server-fix-stored-function-triggers
Branch merges
- OpenERP Publisher's Warranty Team: Pending requested
-
Diff: 118 lines (+54/-38)1 file modifiedbin/osv/orm.py (+54/-38)
Branch information
Recent revisions
- 3367. By Olivier Dony (Odoo)
-
[FIX] orm: rewrote and fixed _store_get_values to properly respect priority
_store_get_values is in charge of gathering the list of
function fields that should be recomputed as a result
of any write() operation, due to store flag triggers.
The previous version would group fields by model and
only respect the priority of the first trigger for a
given model, creating various problems when priority
of field computation is important.
The new version tries to be more readable and respect
all priorities. - 3366. By Olivier Dony (Odoo)
-
[FIX] tools.graph: stop useless recursions to make graph_get() faster
In some cases (depending on the kind of graph being rendered),
the recursive processing could lead to timings of 1 minute per
call to ir.ui.view.graph_get( ), even for a relatively small
number of nodes (e.g. 10). By avoiding useless recursions in
head_component() it goes down to a few ms.
This patch also adds str() wrappers for __str__ and printing
of nodes labels, which are not necessarily strings (they
are often integers)
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:openobject-server