diff options
| author | Christophe Monniez <moc@odoo.com> | 2020-03-23 15:36:12 +0000 |
|---|---|---|
| committer | Xavier-Do <xdo@odoo.com> | 2020-03-30 21:30:15 +0000 |
| commit | 748cc7e501e375d3a06aedbda17eb5ee968c10df (patch) | |
| tree | 5bc17000f425cd01bd481d1275a64a18d7f7bf72 /odoo/tools | |
| parent | 9d1a92548e69ed5f49dffc1e2e1ab0c9299f79af (diff) | |
[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>
Diffstat (limited to 'odoo/tools')
| -rw-r--r-- | odoo/tools/populate.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odoo/tools/populate.py b/odoo/tools/populate.py index ddac293eabf..2b1ae521696 100644 --- a/odoo/tools/populate.py +++ b/odoo/tools/populate.py @@ -1,4 +1,5 @@ import random +from datetime import datetime, timedelta from odoo.tools import pycompat @@ -103,7 +104,6 @@ def compute(function, seed=None): yield values return generate - def randint(a, b, seed=None): """ Return a factory for an iterator of values dicts that sets the field to the random integer between a and b included in each input dict. |
