summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/models/thread_cache/thread_cache.js
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2021-01-04 10:29:27 +0000
committerAaron Bohy <aab@odoo.com>2021-01-04 12:47:18 +0000
commit6e928ef24d70e69d8063bd3aab884d4bbbb94150 (patch)
tree36b4f98b0d6d3a5c830c5fb829cac897980b79c9 /addons/mail/static/src/models/thread_cache/thread_cache.js
parentabff1ca94bcc829250b63fd9677890988b796819 (diff)
[FIX] web: SampleServer: fix randomly failing test
Commit [1] recently tweaked the way floats are generated in the SampleServer, as they are now rounded to 2 decimals. As a consequence it sometimes generates integers for float fields (e.g. 5 for 5.00). This is also what the real server does, so it's fine. However, a test was asserting that float fields were floats, so this test sometimes failed and thus needed to be adapted. [1] https://github.com/odoo/odoo/commit/81f2bc7 closes odoo/odoo#64008 Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
Diffstat (limited to 'addons/mail/static/src/models/thread_cache/thread_cache.js')
0 files changed, 0 insertions, 0 deletions