-
- Downloads
[MERGE] website_{rating, slides}: Manage attachments in review update
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 merge 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)
closes odoo/odoo#36409
Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
No related branches found
No related tags found
Showing
- addons/portal/controllers/mail.py 10 additions, 7 deletionsaddons/portal/controllers/mail.py
- addons/portal/static/src/js/portal_chatter.js 2 additions, 152 deletionsaddons/portal/static/src/js/portal_chatter.js
- addons/portal/static/src/js/portal_composer.js 172 additions, 0 deletionsaddons/portal/static/src/js/portal_composer.js
- addons/portal/static/src/scss/portal.scss 60 additions, 48 deletionsaddons/portal/static/src/scss/portal.scss
- addons/portal/static/src/xml/portal_chatter.xml 1 addition, 1 deletionaddons/portal/static/src/xml/portal_chatter.xml
- addons/portal/views/assets.xml 1 addition, 0 deletionsaddons/portal/views/assets.xml
- addons/website_rating/static/src/js/portal_composer.js 2 additions, 2 deletionsaddons/website_rating/static/src/js/portal_composer.js
- addons/website_rating/static/src/js/portal_rating_composer.js 4 additions, 3 deletions...ns/website_rating/static/src/js/portal_rating_composer.js
- addons/website_rating/views/rating_templates.xml 1 addition, 0 deletionsaddons/website_rating/views/rating_templates.xml
- addons/website_slides/controllers/__init__.py 1 addition, 2 deletionsaddons/website_slides/controllers/__init__.py
- addons/website_slides/controllers/mail.py 36 additions, 15 deletionsaddons/website_slides/controllers/mail.py
- addons/website_slides/controllers/main.py 21 additions, 12 deletionsaddons/website_slides/controllers/main.py
- addons/website_slides/controllers/portal.py 0 additions, 20 deletionsaddons/website_slides/controllers/portal.py
- addons/website_slides/views/website_slides_templates_course.xml 2 additions, 1 deletion.../website_slides/views/website_slides_templates_course.xml
Loading
Please register or sign in to comment