digest/models/res_config_settings.py

11 lines
425 B
Python
Raw Normal View History

2024-05-03 15:04:23 +03:00
# -*- coding: utf-8 -*-
2024-05-21 15:09:16 +03:00
# Part of Talisman . See LICENSE file for full copyright and licensing details.
2024-05-03 15:04:23 +03:00
from odoo import fields, models
class ResConfigSettings(models.TransientModel):
_inherit = 'res.config.settings'
digest_emails = fields.Boolean(string="Digest Emails", config_parameter=False)
2024-05-03 15:04:23 +03:00
digest_id = fields.Many2one('digest.digest', string='Digest Email', config_parameter='digest.default_digest_id')