diff options
| author | Amit Mendapara <ame@tinyerp.com> | 2008-09-29 12:54:49 +0530 |
|---|---|---|
| committer | Amit Mendapara <ame@tinyerp.com> | 2008-09-29 12:54:49 +0530 |
| commit | 732db1293808dc857571454dc6468cc08adbc9d0 (patch) | |
| tree | db730952a0e6d9b63f533d4e7924abc2b1105d09 /addons/process/process.py | |
| parent | ca03d14d114a7c364f2c7929405fb4a4532d47da (diff) | |
* Fixed attribute error.
bzr revid: ame@tinyerp.com-20080929072449-ozko10ut1zgg83jt
Diffstat (limited to 'addons/process/process.py')
| -rw-r--r-- | addons/process/process.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/process/process.py b/addons/process/process.py index ccfa9c45fb6..183f3acf93c 100644 --- a/addons/process/process.py +++ b/addons/process/process.py @@ -118,7 +118,7 @@ class process_process(osv.osv): data['url'] = node.help_url # chech whether directory_id from inherited from document2 is available - if hasattr(node, 'directory_id') and node.directory_id: + if 'directory_id' in node and node.directory_id: data['directory'] = "ftp://localhost:8021" #TODO: implement document_directory.get_url # get assosiated workflow |
