summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/transcoder.js
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2016-01-25 11:27:45 +0100
committerDenis Ledoux <dle@odoo.com>2016-01-25 11:32:31 +0100
commit7ad309e01506e7ff82c5ce5cce65b5858d128820 (patch)
tree891351d8609f6f56cbb21203c86ce47e9de2de19 /addons/web_editor/static/src/js/transcoder.js
parentdc48744bf7438761e1f25d411ec61755f74c60df (diff)
[FIX] survey: matrix results after row deletion
In a survey question of type `matrix`, nothing prevents to remove a row from the matrix, even if there are already answers for this line. If the case happens, the row is deleted, but not the answers. The answers are therefore orphan. The answers should probably be deleted when the row is removed from the survey, but this is a risky change, and, even, users might want to keep track of the answers given even if the line doesn't exist anymore in the survey. Therefore, we just handle the case when displaying the survey results, we ignore matrix answers for which the row no longer exists. opw-666393
Diffstat (limited to 'addons/web_editor/static/src/js/transcoder.js')
0 files changed, 0 insertions, 0 deletions