summaryrefslogtreecommitdiff
path: root/odoo/tools/populate.py
diff options
context:
space:
mode:
Diffstat (limited to 'odoo/tools/populate.py')
-rw-r--r--odoo/tools/populate.py2
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.