We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ab71c7 commit 620453cCopy full SHA for 620453c
openerp/workflow/wkf_expr.py
@@ -44,7 +44,7 @@ def __getitem__(self, key):
44
def _eval_expr(cr, ident, workitem, action):
45
ret=False
46
assert action, 'You used a NULL action in a workflow, use dummy node instead.'
47
- for line in action.split('\n'):
+ for line in filter(lambda action: action != "", action.split('\n')):
48
line = line.strip()
49
uid=ident[0]
50
model=ident[1]
0 commit comments