projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24e03ae
)
Fixed process (active node).
author
Amit Mendapara
<ame@tinyerp.com>
Wed, 17 Sep 2008 14:23:44 +0000
(19:53 +0530)
committer
Amit Mendapara
<ame@tinyerp.com>
Wed, 17 Sep 2008 14:23:44 +0000
(19:53 +0530)
bzr revid: ame@tinyerp.com-
20080917142344
-s3opqj63azmm5jqg
addons/process/process.py
patch
|
blob
|
history
diff --git
a/addons/process/process.py
b/addons/process/process.py
index
0a8be26
..
74b0d6f
100644
(file)
--- 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: