diff options
| author | Tiffany Chang (tic) <tic@odoo.com> | 2020-01-08 13:31:05 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2020-01-29 14:32:24 +0000 |
| commit | f54feba5b62d5a3f2e003beb95f071ff31176cd0 (patch) | |
| tree | 4729298704ea24e3af12d73fbfb0e40f72975852 /doc/reference/javascript_reference.rst | |
| parent | 3028e9a8649ae5d9b23a1bdb989b903645ede5fe (diff) | |
[FIX] survey: allow 0 as numerical_box user answer even if required
Because 0 evaluates as False in "if" statements, generalized answer_type
constraint check logic would not allow user to submit a survey with 0
as a numerical value. This commit fixes this issue by explicitly allowing
this case.
Triggered by task ID 2061937 (improve scoring in surveys)
PR #44205
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
