odoo/openerp/addons/test_new_api
Raphael Collet 121b8e6800 [FIX] models: in onchange, false changes where detected in many2many fields
This was due to secondary fields loaded from database in 'onchange' mode.  In
that mode, the secondary fields were marked 'dirty', and therefore returned by
the method `onchange`.  The fix consists in loading those secondary fields in
cache before processing the onchanges.

This incidentally fixes a test on method `onchange`: in a one2many field, some
dirty fields were unexpectedly returned in the result.  This was due to those
fields being loaded while processing onchanges.
2015-02-21 11:29:13 +01:00
..
tests [FIX] models: in onchange, false changes where detected in many2many fields 2015-02-21 11:29:13 +01:00
__init__.py [MERGE] new v8 api by rco 2014-07-06 17:05:41 +02:00
__openerp__.py [MERGE] new v8 api by rco 2014-07-06 17:05:41 +02:00
demo_data.xml [MERGE] new v8 api by rco 2014-07-06 17:05:41 +02:00
ir.model.access.csv [IMP] test_new_api: move test on delegate=True to module test_inherit 2015-02-18 16:43:20 +01:00
models.py [IMP] test_new_api: move test on delegate=True to module test_inherit 2015-02-18 16:43:20 +01:00
views.xml [FIX] test_new_api: missing parent menu 2014-08-14 16:48:32 +02:00