From 4f5be5aa5447d99c00cbc550954d5a6ad6163bfd Mon Sep 17 00:00:00 2001 From: "Jay (Open ERP)" Date: Wed, 12 May 2010 16:02:29 +0530 Subject: [PATCH] [FIX] importation of time lib was missing for eval() bzr revid: jvo@tinyerp.com-20100512103229-lusl8l48x3fwuzf2 --- bin/tools/convert.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/tools/convert.py b/bin/tools/convert.py index af342219adb..2d760ef167f 100644 --- a/bin/tools/convert.py +++ b/bin/tools/convert.py @@ -78,6 +78,7 @@ def _eval_xml(self,node, pool, cr, uid, idref, context=None): return f_val a_eval = node.get('eval','') if a_eval: + import time idref2 = idref.copy() idref2['time'] = time idref2['DateTime'] = datetime