[FIX] importation of time lib was missing for eval()
bzr revid: jvo@tinyerp.com-20100512103229-lusl8l48x3fwuzf2
This commit is contained in:
parent
a6d5a61714
commit
4f5be5aa54
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue