From 3180ca5f741dd1869acb13847ade7081568ec8a0 Mon Sep 17 00:00:00 2001 From: "Harry (Open ERP)" Date: Tue, 22 Sep 2009 10:34:49 +0530 Subject: [PATCH] [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 --- addons/document/document.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/document/document.py b/addons/document/document.py index 082ea0144da..1d7ca841576 100644 --- a/addons/document/document.py +++ b/addons/document/document.py @@ -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)