Commit Graph
2 Commits
Author SHA1 Message Date
Lopes Marc (loma) 893a6e4f8e [IMP] website_forum,*: populate with forums, posts and comments
* website_slides_forum

Populate a database with different quantities of forums, posts
and comments.The number of replies per question and comments per post
(question or reply) are defined by weights.

We use SQL queries in the '_populate' method to update certain fields
automatically managed by the ORM, as well as the 'last_activity_date' of
posts (questions).
The aim is to give posts, replies and comments varied and consistent
create_dates, as well as a wide variety of authors (create_uid).

Task-3349374
Task-3463533

closes odoo/odoo#132042

Signed-off-by: Florian Charlier (flch) <flch@odoo.com>
2023-10-19 14:47:14 +00:00
David Beguin a4a0436ddd [ADD] website_slides_forum : Allow to create forum on a course
Adds the mega power to make Super Saiyan fusion between website_slides and website_forum
A slide.channel can now be linked to a forum to allow users to discuss about their courses.

Overrides the slides profile routes to include the potiential linked forum.
The profile page will display now all the information of a specific channel with, also, all the
information of the linked forum. If no channel is specified, the profile page shows
everything (information about all channel and information about all forum).

Task ID : 1922159
PR #30988
2019-02-14 09:24:10 +00:00