summaryrefslogtreecommitdiff
path: root/odoo/tools
diff options
context:
space:
mode:
Diffstat (limited to 'odoo/tools')
-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 d44092a9378..5a0f3e2027d 100644
--- a/odoo/tools/populate.py
+++ b/odoo/tools/populate.py
@@ -146,5 +146,5 @@ def randint(a, b, seed=None):
:rtype: function (iterator, str, str) -> dict
"""
def get_rand_int(random=None, **kwargs):
- random.randint(a, b)
+ return random.randint(a, b)
return compute(get_rand_int, seed=seed)