[FIX] Bad code reverted for domain under act_window tag

bzr revid: jvo@tinyerp.com-20100514132934-0tsikhuwts7y0t0k
This commit is contained in:
Jay (Open ERP) 2010-05-14 18:59:34 +05:30
parent 1bfd4b60d0
commit 0a0103521c
1 changed files with 3 additions and 4 deletions

View File

@ -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,