[FIX][CRITICAL]document: crash list of directory after rev:hmo@tinyerp.com-20090916110722-4kl5t5q71im6c76i

lp bug: https://launchpad.net/bugs/433979 fixed

bzr revid: hmo@tinyerp.com-20090922050449-b8are4lnap54x6dt
This commit is contained in:
Harry (Open ERP) 2009-09-22 10:34:49 +05:30
parent 9dee415bef
commit 3180ca5f74
1 changed files with 2 additions and 1 deletions

View File

@ -338,7 +338,8 @@ class document_directory(osv.osv):
object2: the other object linked (if object.directory.content)
"""
def get_object(self, cr, uid, uri, context={}):
#TODO : set user's context_lang in context
#TODO : set user's context_lang in context
context.update({'lang':False})
if not uri:
return node_class(cr, uid, '', False, context=context, type='database')
turi = tuple(uri)