diff options
| author | Mod2 Team (OpenERP) <> | 2010-06-24 15:18:27 +0530 |
|---|---|---|
| committer | Harry (OpenERP) <hmo@tinyerp.com> | 2010-06-24 15:18:27 +0530 |
| commit | 02a17546b8ea3a9b3a8cbd89e1a0c954f4639845 (patch) | |
| tree | 5dcdf94baa7dae9baad7b36ce25189fad4843a45 /addons/document/document_directory.py | |
| parent | 666c9db5f76ec21788623d975dda00f4f913f7f6 (diff) | |
[IMP] Document:
* Add new configuration wizard to set resource directiory for Sale order, Product or Project
* Support pptx2txt, docx2txt in content index.
* Add new configuration wizard to browse FTP Server in document_ftp module
* Improved Configuration wizard to set url of FTP Server
bzr revid: hmo@tinyerp.com-20100624094827-9yfmtiiegoiu0asa
Diffstat (limited to 'addons/document/document_directory.py')
| -rw-r--r-- | addons/document/document_directory.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/document/document_directory.py b/addons/document/document_directory.py index 1d0bbf3ed7c..e275adcb5c6 100644 --- a/addons/document/document_directory.py +++ b/addons/document/document_directory.py @@ -112,7 +112,7 @@ class document_directory(osv.osv): while d2 and d2.parent_id: s = d2.name + (s and ('/' + s) or '') d2 = d2.parent_id - res.append((d.id, s)) + res.append((d.id, s or d.name)) return res def get_full_path(self, cr, uid, dir_id, context=None): |
