summaryrefslogtreecommitdiff
path: root/addons/website_slides/data/gamification_data.xml
AgeCommit message (Collapse)Author
2020-09-07[FIX] *: typos and english incoherencesVictor Feyens
Mainly transifex issues but also some errors found through 'grep' checks. Fix typos and obscure english strings in xml contents, fields strings/helps, some docstrings, ... ensuring correct translations base (and fallback when translations isn't available). closes odoo/odoo#57206 Related: odoo/enterprise#13032 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-06-19[IMP] website_slide: typo in challenge nameJeremy Kersten
closes odoo/odoo#53382 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2020-02-11[IMP] *: use `ref=` instead of `eval="ref('` in xml field tags.Victor Feyens
* Code cleanup * Avoid a safe evaluation of the field value when loading those records. closes odoo/odoo#44883 Related: odoo/enterprise#8283 Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2019-11-22[REF] gamification, * : rename challenge.category into ↵David Beguin
challenge.challenge_category To ease grep in the code, especially that challenge is quite heavily used. Task ID : 1961053 PR #32594
2019-08-03[IMP] *: correctly read/write website_publishedRomain Derie
The `website_published` field from the website's mixins is basically a readonly from `is_published` field. On read, this field will simply read `is_published` and check if the record's website_id is accessible (only for the multi mixin). On write, it will always write on `is_published`. This commit improves a few things: - A lot of code was writting on website_published which was just then writting on is_published. Writting directly on is_published makes more sense. - Some backend fields would still reference `website_published` instead of `is_published` which would just go through the related for no reason. Plus, using `is_published` will make the field tooltip more accurate as we are not in a website context ('Visible on current website' to 'Is Published') - Filter and search on tree view were still using the `website_published` related field, which is just a readonly when we are not in a frontend context. - Some create and write function would have security check on `website_published` value but that was wrong as the user could bypass that by simply writting on `is_published`. For the write method, check `is_published` is more accurate as it will cover both case since `website_published` will then call the write method on `is_published`
2019-08-02[IMP] *: use image.mixin when appropriateSébastien Theys
The following models are already using big images, or they might need big images in the future: - partner - hr employee - shop category - lunch product - gamification badge and karma rank PR: #34925
2019-02-15[ADD] website_slides_survey: add a new bridge between slide and surveyAurélien Warnon
Task #1940360 Subtask of #1902304 Purpose ======= Adds certification capabilities to the website_slides module. Channel/courses can now include certifications as a new type of slide. This new type of slide is available as a "Certification" button on the slide creation frontend view (next to "Video", "Presentation", ...). Users have to link the slide to an actual survey that has the 'certificate' field set to true (that will populate the slide's survey_id field). Slides of type certification are handled in frontend in a very simple way for now: - A button "Begin certification" that redirects the user to the related survey frontend. - A button "Download certification" when the user has succeeded the certification. - When the survey is done, if it's linked to a slide, a button "Go back to course" allows the user to go back to the slide frontend. (There is a special use case for when the website_publisher designing the survey lands on a certification slide: he is allowed to test the survey with a survey_input created as test_entry) Survey creation as well as limited time, limited number of attempts, ... are still completely handled in the survey module. That means that the user will have to first create a suitable survey that is a certification and only then create a slide of type "certification" and link the created survey to it. Ideally, the taking of the survey should be transparently included in the slide frontend but it requires a full refactoring of the way surveys are submitted. This will most likely come in a later commit. This commit is an advanced merge of full eLearning module (see task #1902304).
2019-02-15[IMP] gamification, website_slides: add challenges in slides and improve ranksThibault Delavallée
Purpose of this commit is to add challenges related to slide / elearning module. 5 new challenges with their badges are added. Portal user partner is now also published to have bioutifoul demo data. Commit linked to eLearning tasks [1][2] Co-Authored-By: David Beguin <dbe@odoo.com> Co-Authored-By: Thibault Delavallee <tde@odoo.com> [1] new homepage task: ID 1936153 and PR #30770 [2] new user profile / gamification task: ID 1922159 and PR #30514 and #30988