summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/models/thread_cache/thread_cache.js
diff options
context:
space:
mode:
authorLuis González <lgonzalez@vauxoo.com>2020-08-06 21:58:16 +0000
committerLuis González <lgonzalez@vauxoo.com>2020-08-26 15:13:18 +0000
commitc0295f4b0211bb29133428b8a803c1ed2b1d22c6 (patch)
treebc4ca5d016a83a89cd31cd11900b26fac0967671 /addons/mail/static/src/models/thread_cache/thread_cache.js
parentbde23b82029507e525cf55d11b050af5f820a06b (diff)
[FIX] tests: Handle attrs containing numbers instead of bool
The Form class already handles cases for attrs that contain boolean values, e.g.: `attrs="{'readonly': True}"` But it doesnt for integers, e.g.: `attrs="{'readonly': 1}"` This commit changes the expected non-domain value from boolean to integer, because both are valid cases and the former is a subset of the latter. [1] https://github.com/odoo/odoo/blob/b3d4938ba6b1/addons/repair/views/repair_views.xml#L54 closes odoo/odoo#56609 X-original-commit: 782534a429f10e7b114c838687d38aa4080a920c Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com> Signed-off-by: Luis González [Vauxoo] <luisg123v@users.noreply.github.com>
Diffstat (limited to 'addons/mail/static/src/models/thread_cache/thread_cache.js')
0 files changed, 0 insertions, 0 deletions