diff options
| author | Aurélien Warnon <awa@odoo.com> | 2019-02-12 11:29:43 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2019-02-13 18:20:05 +0000 |
| commit | 82ce815a8c4c978b3372282d88559282d32d4b07 (patch) | |
| tree | 8719e5b795009bbe78ec5fd4b00c30f82466815c /doc/reference/javascript_reference.rst | |
| parent | 74a98ea0be3678466e303583d3d322892d9b75e3 (diff) | |
[REF] website_slides: rework slide's public and embedded views
Purpose
=======
A slide's 'Embedded views' are reworked as 'Public views' to simplify
the model and be more compliant with the new 'is_preview' field.
The rule is now the following:
A slide is a preview or the view is done as public user (once per session)
-> increment public_views
A slide is viewed as a logged in user that has access to the content
-> increment slide_views
Technically slide_views is a compute of the slide_slide_partner count.
Tests are also added to ensure it is effectively working.
This commit is a sub-part of task ID 1940360 (eLearning integration with
survey) and task ID 1902304 (main eLearning task).
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
