Commit Graph
4 Commits
Author SHA1 Message Date
william 5e8b7659be [IMP] base: add tooling for generating datetime
Add a new function to generate random datetime within a range
around a base date.
This allows the base date to change in the future or to be set to
today's date easily.
2021-01-22 08:50:34 +00:00
Rémy Voet (ryv) d451820082 [IMP] product: add supplier info populate 2020-11-30 12:50:09 +00:00
Victor Feyens 1828d6db0d [FIX] product/populate: wrong population size model attribute.
The attribute defined isn't the right one, thus on population,
those models are populated with the default _populate_sizes defined in base.

closes odoo/odoo#50464

X-original-commit: ad7436bb9d2b965f926aa2d1f45a89ea5f6dfc9f
Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2020-04-30 12:05:06 +00:00
Christophe Monniez 748cc7e501 [IMP] base, lunch: populate res.users and lunch models
closes odoo/odoo#48636

X-original-commit: f3f2a1e4723240b6396cea943fc86291c16f4c9d
Signed-off-by: Xavier Dollé (xdo) <xdo@odoo.com>
2020-03-30 21:30:15 +00:00