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.

14 lines
533 B

  1. # -*- coding: utf-8 -*-
  2. # Copyright 2018 Lorenzo Battistini - Agile Business Group
  3. # License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl).
  4. from odoo import fields, models
  5. class BaseConfigSettings(models.TransientModel):
  6. _inherit = 'base.config.settings'
  7. force_mail_queue = fields.Boolean(
  8. related="company_id.force_mail_queue", string="Force Mail queue",
  9. help="Force outgoing emails to be queued instead of sent immediately. "
  10. "Queued emails are sent by 'Email Queue Manager' cron")