* 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>
6 lines
95 B
Python
6 lines
95 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
from . import controllers
|
|
from . import models
|
|
from . import populate
|