From 0a0103521c3329e5c6429634a9c0dfd976a9fde3 Mon Sep 17 00:00:00 2001 From: "Jay (Open ERP)" Date: Fri, 14 May 2010 18:59:34 +0530 Subject: [PATCH] [FIX] Bad code reverted for domain under act_window tag bzr revid: jvo@tinyerp.com-20100514132934-0tsikhuwts7y0t0k --- bin/tools/convert.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/bin/tools/convert.py b/bin/tools/convert.py index 7921b819352..c4b3a459e04 100644 --- a/bin/tools/convert.py +++ b/bin/tools/convert.py @@ -29,7 +29,6 @@ import sys from datetime import datetime from lxml import etree -import time import ir import misc import netsvc @@ -400,12 +399,12 @@ form: module.record_id""" % (xml_id,) uid = self.uid # def ref() added because , if context has ref('id') eval wil use this ref - active_id=str("active_id") # for further reference in client/bin/tools/__init__.py + active_id = str("active_id") # for further reference in client/bin/tools/__init__.py def ref(str_id): return self.id_get(cr, None, str_id) - context=eval(context) - domain=eval(domain) + context = eval(context) +# domain = eval(domain) # XXX need to test this line -> uid, active_id, active_ids, ... res = { 'name': name,