odoo/openerp/addons/test_new_api
Olivier LAURENT 017688cc29 [FIX] models: old api, prevent infinite recursion in stored function fields
The risk was introduced by b7f1b9c.
IF _store_set_values() recall another _create() or _write(),
the recomputation mechanism enter in an infinite recursion
trying to reevaluate for each call exactly the same fields
for the same records than the previous one

This revision replaces the loop of _store_set_values()
by 2 nested loops:

 - that not breaks the entire consumption
   of recompute_old queue
   (Tested thanks to revision a922d39),
 - that allows to clear the queue
   before each recomputations bundle fixing thereby the recursion

Closes #7558
2015-08-31 17:45:21 +02:00
..
tests [FIX] models: old api, prevent infinite recursion in stored function fields 2015-08-31 17:45:21 +02:00
__init__.py [MERGE] new v8 api by rco 2014-07-06 17:05:41 +02:00
__openerp__.py [FIX] models: old api, prevent infinite recursion in stored function fields 2015-08-31 17:45:21 +02:00
demo_data.xml [FIX] models: old api, prevent infinite recursion in stored function fields 2015-08-31 17:45:21 +02:00
ir.model.access.csv [FIX] models: old api, prevent infinite recursion in stored function fields 2015-08-31 17:45:21 +02:00
models.py [FIX] models: old api, prevent infinite recursion in stored function fields 2015-08-31 17:45:21 +02:00
views.xml [FIX] test_new_api: missing parent menu 2014-08-14 16:48:32 +02:00