diff options
| author | Harry (Open ERP) <hmo@tinyerp.com> | 2010-01-27 13:05:03 +0530 |
|---|---|---|
| committer | Harry (Open ERP) <hmo@tinyerp.com> | 2010-01-27 13:05:03 +0530 |
| commit | 7650fdaed1ffd1ae321521a41428447d04745efb (patch) | |
| tree | 65fec316717612b24526a06a55eb4ec45282326c /addons/document/document_directory.py | |
| parent | 14a50c5a61c7621aca4ffcfd0195f28dace010dd (diff) | |
[FIX] document: root dir is not display
bzr revid: hmo@tinyerp.com-20100127073503-c7lslmbx1b8kv6tn
Diffstat (limited to 'addons/document/document_directory.py')
| -rw-r--r-- | addons/document/document_directory.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/document/document_directory.py b/addons/document/document_directory.py index ad13ad925e1..bcb86d589d2 100644 --- a/addons/document/document_directory.py +++ b/addons/document/document_directory.py @@ -65,6 +65,7 @@ class document_directory(osv.osv): objid=self.pool.get('ir.model.data') try: mid = objid._get_id(cr, uid, 'document', 'dir_root') + return None # TODO: check why not display root dir if not mid: return None except Exception, e: |
