summaryrefslogtreecommitdiff
path: root/addons/web
diff options
context:
space:
mode:
authorDebauche Stéphane <std@odoo.com>2020-09-28 10:35:13 +0200
committerOlivier Dony <odo@odoo.com>2020-09-28 10:35:13 +0200
commit06a8c5264eb6e87c29ad1d23a14e12dd45aa281c (patch)
tree43885912758a0a6ae9d238e456e7e0143059f287 /addons/web
parent37d75ecbce3f77c159db12c0247e053b873c685a (diff)
[REM] *: ability to put raw modules in evaluation contexts
Co-authored-by: Xavier Morel <xmo@odoo.com>
Diffstat (limited to 'addons/web')
-rw-r--r--addons/web/controllers/main.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/addons/web/controllers/main.py b/addons/web/controllers/main.py
index 061c1c57926..6cac30fea6a 100644
--- a/addons/web/controllers/main.py
+++ b/addons/web/controllers/main.py
@@ -18,7 +18,6 @@ import os
import re
import sys
import tempfile
-import time
import werkzeug
import werkzeug.exceptions
@@ -39,7 +38,7 @@ from odoo.tools import image_process, topological_sort, html_escape, pycompat, u
from odoo.tools.mimetypes import guess_mimetype
from odoo.tools.translate import _
from odoo.tools.misc import str2bool, xlsxwriter, file_open
-from odoo.tools.safe_eval import safe_eval
+from odoo.tools.safe_eval import safe_eval, time
from odoo import http, tools
from odoo.http import content_disposition, dispatch_rpc, request, serialize_exception as _serialize_exception, Response
from odoo.exceptions import AccessError, UserError, AccessDenied