odoo/openerp/addons
Xavier Morel 2ffcff8fa9 [ADD] qweb: handling of t-att=mapping
Changed render_att_att to return an iterable of pairs instead of a pair, and
dispatched t-att on whether its result is a Mapping.

Also changed qweb test runner so it uses ordereddict for JSON mapping in
params, otherwise iteration order (and thus order of attributes in output) is
unpredictable and results don't/can't match expectations (as both are
strings).

Note that this relies on JS implementation details wrt iteration order of
mappings. Tests would probably be somewhat less brittle if rendering output
was parsed to XML... if that's possible (?)
2014-10-06 19:13:44 +02:00
..
base [ADD] qweb: handling of t-att=mapping 2014-10-06 19:13:44 +02:00
test_access_rights [ADD] demonstrate broken handling of rules access denial in new API 2014-07-11 13:54:01 +02:00
test_convert move tests 2014-02-09 01:37:45 +01:00
test_converter [MERGE] forward port of branch saas-5 up to 7eab880 2014-09-15 14:00:02 +02:00
test_documentation_examples [ADD] doc: model inheritance stuff 2014-09-09 09:19:32 +02:00
test_exceptions [MERGE] new v8 api by rco 2014-07-06 17:05:41 +02:00
test_impex [MERGE] new v8 api by rco 2014-07-06 17:05:41 +02:00
test_inherit [FIX] models: make field inheritance work when source field is defined in old api 2014-09-16 16:03:16 +02:00
test_limits move tests 2014-02-09 01:37:45 +01:00
test_new_api Merge branch 'acsone-8.0-onchange-one2many-test': add test for onchange on one2many field 2014-09-16 10:56:43 +02:00
test_uninstall [REM] Unnecessary `size` parameters on char fields 2014-06-25 17:13:43 +02:00
test_workflow [MERGE] new v8 api by rco 2014-07-06 17:05:41 +02:00
__init__.py move tests 2014-02-09 01:37:45 +01:00