flectra/addons/digest/models/res_config_settings.py
2018-10-25 17:20:37 +05:30

11 lines
456 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo, Flectra. See LICENSE file for full copyright and licensing details.
from flectra import fields, models
class ResConfigSettings(models.TransientModel):
_inherit = 'res.config.settings'
digest_emails = fields.Boolean(string="Digest Emails", config_parameter='digest.default_digest_emails')
digest_id = fields.Many2one('digest.digest', string='Digest Email', config_parameter='digest.default_digest_id')