Files
odoo_source/addons/website_forum/__init__.py
T
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

6 lines
95 B
Python

# -*- coding: utf-8 -*-
from . import controllers
from . import models
from . import populate