diff options
| author | Fabien Pinckaers <fp@tinyerp.com> | 2012-11-12 11:45:24 +0100 |
|---|---|---|
| committer | Fabien Pinckaers <fp@tinyerp.com> | 2012-11-12 11:45:24 +0100 |
| commit | f033fddba04e192f7607bf3adb0652b9520b8332 (patch) | |
| tree | 8f8ac352e1135b1d9b8e1206c28e53f022b8c07b /addons/document_webdav/document_webdav.py | |
| parent | be03940d64800e5adc0789e419e606252c3f5cf5 (diff) | |
| parent | 761b2805d938bb0a899c57439eae74633ff7d55c (diff) | |
[MERGE] 30 merge props
bzr revid: fp@tinyerp.com-20121112104524-ytd1d0c4tz0fbd01
Diffstat (limited to 'addons/document_webdav/document_webdav.py')
| -rw-r--r-- | addons/document_webdav/document_webdav.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/document_webdav/document_webdav.py b/addons/document_webdav/document_webdav.py index 3b604d6cffb..ad44a58ac26 100644 --- a/addons/document_webdav/document_webdav.py +++ b/addons/document_webdav/document_webdav.py @@ -51,9 +51,10 @@ class document_davdir(osv.osv): # that might be not worth preparing. nctx.extra_ctx['webdav_path'] = '/'+config.get_misc('webdav','vdir','webdav') usr_obj = self.pool.get('res.users') - res = usr_obj.read(cr, uid, uid, ['login']) + res = usr_obj.read(cr, uid, uid, ['login','context_lang']) if res: nctx.extra_ctx['username'] = res['login'] + nctx.extra_ctx['lang'] = res['context_lang'] # TODO group return |
