summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2019-09-04 09:21:18 +0000
committerThibault Delavallée <tde@odoo.com>2019-09-04 11:41:59 +0000
commita08845d2a32827ce3ac7cabfd198e454b6f07e59 (patch)
tree5f1d0ddf406a6359fee89008703ea863395ccbfd /addons/web/static/src/js/views/basic/basic_controller.js
parentc0769308638d00cb983f84d9fa8736400463fef5 (diff)
[IMP] website_{rating, slides}: allow to manage attachments when updating reviews
PURPOSE Allow to manage attachments when updating a frontend review. SPECIFICATIONS Currently when posting a review in eLearning or eCommerce one can attach files to its review thanks for portal composer. Rating popup composer allow to update its comment and rating. However this edit mode has two limitations. It does not display attachments previously added and does not allow to add attachments. This commit fixes that by * giving attachment values to the composer, allowing its display by the composer display at startup; * allowing to give new attachments and properly handle them in slides route; Uploaded and validated attachments cannot be removed by users. Indeed message with attachments has probably already be sent to people and removing attachments would lead to information loss. LINKS Task 2066600 (manage attachments) Task 2058595 (eLearning v13 testing)
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions