Fix expr_eval of action['email'] if is None for issue838
This commit is contained in:
1 parent
6dddad2d65
commit
31ee74fc5c
1 file changed
+1
-1
@@ -266,7 +266,7 @@ class ViewList(ParserView):
|
||||
return False
|
||||
email = {}
|
||||
if 'email' in action:
|
||||
email = self.screen.current_model.expr_eval(action['email'])
|
||||
email = self.screen.current_model.expr_eval(action['email'] or '')
|
||||
if not email:
|
||||
email = {}
|
||||
email['subject'] = action['name'].replace('_', '')
|
||||
|
||||
Reference in new issue
Block a user