Remove default action_function

This commit is contained in:
Raimon Esteve 2020-05-06 16:58:09 +02:00
parent d7310990a6
commit 712a5264de
1 changed files with 0 additions and 8 deletions

View File

@ -37,11 +37,3 @@ class Trigger(metaclass=PoolMeta):
[('model', '=', 'electronic.mail.template')], limit=1)
if models:
return models[0].id
@staticmethod
def default_action_function():
"""If invoked from the email_template fill
action function as 'mail_from_trigger'
"""
email_trigger = Transaction().context.get('email_template', False)
return email_trigger and 'mail_from_trigger' or None