diff options
| author | Amit Mendapara <ame@tinyerp.com> | 2008-09-17 19:53:44 +0530 |
|---|---|---|
| committer | Amit Mendapara <ame@tinyerp.com> | 2008-09-17 19:53:44 +0530 |
| commit | c0b8a50ba1b425d0574efcff7d749be2a1818e03 (patch) | |
| tree | eea08a5d13481905bfd42a5f2db99af4fcf82a26 /addons/process/process.py | |
| parent | 24e03ae890325d67794d844b1c5c2eb8d7389bff (diff) | |
Fixed process (active node).
bzr revid: ame@tinyerp.com-20080917142344-s3opqj63azmm5jqg
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 0a8be26995b..74b0d6fc036 100644 --- a/addons/process/process.py +++ b/addons/process/process.py @@ -65,7 +65,7 @@ class process_process(osv.osv): if node.kind == "state" and node.model_id and node.model_id.model == res_model: states = node.model_states states = (states or []) and states.split(',') - data['active'] = (states and current_object.state in states) or not states + data['active'] = not states or current_object.state in states elif node.kind == "router": #TODO: |
