summaryrefslogtreecommitdiff
path: root/addons/web/static/tests/fields/basic_fields_tests.js
diff options
context:
space:
mode:
authorRaphael Collet <rco@odoo.com>2019-10-15 14:07:39 +0000
committerfw-bot <otis@odoo.com>2019-10-21 09:08:10 +0000
commit883fd9e045350512c437fe8e518f08e3b880b511 (patch)
tree954f592b9eba3303e8561735605d4f34b1dde5e6 /addons/web/static/tests/fields/basic_fields_tests.js
parentdb90ae1cd6b7417d17f0af076d9ec1987d94b509 (diff)
[FIX] fields: ensure Binary are never recomputed with "bin_size"
The compute methods are always expecting the real value and not the bin_size. The solution is to always compute with `bin_size=False`, and then manually compute the `bin_size` and set it on the cache of `bin_size=True`. PR: #38292 Co-authored-by Sébastien Theys <seb@odoo.com> X-original-commit: 7744886d6141ca7971d91807d0444c707e10fdf8
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions