summaryrefslogtreecommitdiff
path: root/addons/website_livechat/controllers/main.py
AgeCommit message (Collapse)Author
2018-12-05[IMP] website_livechat : show ratings per operators in channel stat webpageDavid Beguin
This commit adds more precision about ratings per operators for a specific channel. Only the operators that have been rated on the last 100 feedbacks have their statistics displayed. The other operators that did not worked (or have not been rated) on the last 100 feedbacks are still displayed but are flaged as 'Not rated yet', so we still can see who is working on this channel. Task ID : 1895998 Closes PR #28283
2018-06-07[FIX] website_livechat: use only consumed ratingsNicolas Martinelli
The percentage computation of statistics only uses the consumed ratings >= 1 (through `rating_get_repartition`), while the initial search of the first 100 ratings doesn't have this restriction. It leads to an inconsistency between the ratings displayed and the percentages computed. Moreover, if there are less than 100 ratings, the percentage might not be a natural number => use of float and round. opw-1854863
2016-08-10[IMP] various: use odoo for imports instead of openerp and update class namesThibault Delavallée
2016-08-04[REF] website_*: remove `render` method on websiteJérome Maes
Since saas-3, website controllers use `request.website.render` to render the template of a web page. This was kept for retro compatibility. It's time to stop using deprecated stuff. Same for `_render` method on website. 'json' route don't use `request.render` since `JsonRequest` has no `render` method.
2015-09-01[IMP] im_livechat : refactoring + improving performance by removing rpc callJérome Maes
2015-09-01[REF] im_livechat : refactoring, make it compatbile with the nw mail module, ↵Jérome Maes
change reporting sql view (split them in 2), adapt view, ...
2015-04-28[MIG] bus, im_chat, im_livechat, website_livechat : migration to new API.Jérome Maes
Migrate the models and controller to new API. Renaming xml id according to convention, renaming openerp tag into odoo tag. Add comment strings and documentations.
2015-02-12[IMP] website_livechat : use the correct publish button. To do so, a better ↵Jérome Maes
security (with public and website_publish) was required. The inherit of ir_ui_view allow to display the default website channel by passing the fact that it can be website unpublished
2015-01-08[IMP] website_livechat : make it depend on rating_livechat. It now propose ↵Jérome Maes
to display livechat channel on website pages, with its ratings and description.