diff options
| author | Xavier Morel <xmo@odoo.com> | 2017-08-23 17:58:42 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@odoo.com> | 2017-08-23 19:00:17 +0200 |
| commit | 56704c19d6f40b0a7b647966fd972703d0b9b8d0 (patch) | |
| tree | fa5739983ff54fcbf14340ec51d8b93f67710bee /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 877e7098719195ed2934fc9c3b5c3bd8ad8bab07 (diff) | |
[FIX] account: iteration different under ordereddict mutation
Did you know that if you iterate on an OrderedDict in Python 2 and add
to the dict during iteration, the new items will be iterated? No? Me
neither.
And did you know that that does not work in Python 3 likely because
OrderedDict's implementation details changed? Why the fuck would
anyone do that and thus why would we care you ask?
WELL WE FUCKING DO IT TURNS OUT and that breaks
test_partial_reconcile_currencies on Python 3...
Fix it, try to make it more obvious that we're doing weird crap
instead of abusing OrderedDict in ways it was never meant to be used.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
