summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields
diff options
context:
space:
mode:
authorMathieu Duckerts-Antoine <dam@odoo.com>2018-04-04 15:31:02 +0200
committerGéry Debongnie <ged@odoo.com>2018-04-05 10:33:24 +0200
commite5b109b422550582b2b23d6df3384d5e659a8fb5 (patch)
tree90c6098deb7dec467493c63ec43f11718cda3a46 /addons/web/static/src/js/fields
parent19946294fad8edcb046cc79d5c2b94c405db6840 (diff)
[IMP] web: update mock server to better match server semantics
The read_group method (from the server) is implemented in the mock server, to allow easy unit testing in javascript. However, the behaviour was not exactly the same: a read_group call on a domain with no records returns null for aggregates. But the mock implementation returned a value of 0. We fix this in this commit, to allow more precise testing of Odoo javascript.
Diffstat (limited to 'addons/web/static/src/js/fields')
0 files changed, 0 insertions, 0 deletions