You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
359 B

  1. from odoo import models, fields
  2. class MailTemplate(models.Model):
  3. _inherit = "mail.template"
  4. # def init(self):
  5. # for template_id in EMAIL_TEMPLATE_IDS:
  6. # mail_template = self.env.ref(template_id)
  7. # mail_template.easy_my_coop = True
  8. easy_my_coop = fields.Boolean(string="Easy my coop mail template")