1. zikzakmedia
  2. trytond-electronic_mail_template

Commits

Raimon Esteve (Zikzakmedia)  committed dec89de

Translate subject field

  • Participants
  • Parent commits 1dbfeda
  • Branches default

Comments (0)

Files changed (1)

File template.py

View file
     to = fields.Char('To')
     cc = fields.Char('CC')
     bcc = fields.Char('BCC')
-    subject = fields.Char('Subject')
+    subject = fields.Char('Subject', translate=True)
     smtp_server = fields.Many2One('smtp.server', 'SMTP Server', 
         domain=[('state', '=', 'done')], required=True)
     name = fields.Char('Name', required=True)