diff options
| author | Mathieu Duckerts-Antoine <dam@odoo.com> | 2018-04-04 15:31:02 +0200 |
|---|---|---|
| committer | Géry Debongnie <ged@odoo.com> | 2018-04-05 10:33:24 +0200 |
| commit | e5b109b422550582b2b23d6df3384d5e659a8fb5 (patch) | |
| tree | 90c6098deb7dec467493c63ec43f11718cda3a46 /doc/reference | |
| parent | 19946294fad8edcb046cc79d5c2b94c405db6840 (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 'doc/reference')
0 files changed, 0 insertions, 0 deletions
