summaryrefslogtreecommitdiff
path: root/doc/reference/javascript_reference.rst
diff options
context:
space:
mode:
authorAurélien Warnon <awa@odoo.com>2020-03-30 07:45:55 +0000
committerThibault Delavallée <tde@odoo.com>2020-03-31 07:33:52 +0000
commitc5ae9b38d1816f4fc3c29907fe8e370c78ed3d4b (patch)
treeeaef1d238206cd55cabad5c7de3600c71b208604 /doc/reference/javascript_reference.rst
parent549968bdfe3ce0d31cc53c1ff6f1444bf45812a1 (diff)
[FIX] survey: fix some issues
== Fix results scored question display == This commit fixes the display for scored choice question. The text "Right answer" was displayed twice. == Add default values to avoid constraints inconsistencies == This commit adds a 0 default values to some of our validation fields on survey questions. Without a default value, the ORM would store "NULL" in the fields and then allow users to define a "min" without a "max", that would result in an error while trying to validate the answers to that question. Furthermore, when creating a question from the frontend, the web framework will always send 0 for all field values anyway. The code change adds consistency and avoids potential errors on that issue. LINKS Task 2208574 closes odoo/odoo#48371 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions