mirror of
https://github.com/NaN-tic/trytond-electronic_mail-old-ts.git
synced 2023-12-14 02:03:04 +01:00
Enable html sending when html field is filled.
This commit is contained in:
parent
79b132293d
commit
e0efcd2c6c
2 changed files with 2 additions and 1 deletions
|
@ -320,7 +320,6 @@ msgctxt "view:electronic.mail.template:"
|
|||
msgid "Advanced"
|
||||
msgstr "Fortgeschritten"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "view:electronic.mail.template:"
|
||||
msgid "General"
|
||||
msgstr "Allgemein"
|
||||
|
|
|
@ -461,6 +461,8 @@ class SendTemplate(Wizard):
|
|||
|
||||
def default_start(self, fields):
|
||||
default = self.render_fields(self.__name__)
|
||||
if default['html']:
|
||||
default['send_html'] = True
|
||||
return default
|
||||
|
||||
def render_fields(self, name):
|
||||
|
|
Loading…
Reference in a new issue