odoo/openerp/addons/test_new_api/tests
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
..
__init__.py [FIX] remove deprecated checks/fast_suite test attributes from standard modules 2015-01-15 14:31:40 +01:00
test_attributes.py [MERGE] new v8 api by rco 2014-07-06 17:05:41 +02:00
test_field_conversions.py [MERGE] new v8 api by rco 2014-07-06 17:05:41 +02:00
test_new_fields.py [IMP] test_new_api: move test on delegate=True to module test_inherit 2015-02-18 16:43:20 +01:00
test_onchange.py [FIX] models: in onchange, false changes where detected in many2many fields 2015-02-21 11:29:13 +01:00
test_related.py [FIX] test_new_api: it works by accident but company_id <> partner_id 2015-01-19 20:26:31 +01:00