flectra/addons/digest/models/res_config_settings.py

11 lines
456 B
Python
Raw Normal View History

2018-08-20 11:29:49 +02:00
# -*- 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')