# -*- coding: utf-8 -*- ############################################################################### # # Cybrosys Technologies Pvt. Ltd. # # Copyright (C) 2024-TODAY Cybrosys Technologies() # Author: Manasa T P (odoo@cybrosys.com) # # You can modify it under the terms of the GNU AFFERO # GENERAL PUBLIC LICENSE (AGPL v3), Version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. # # You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE # (AGPL v3) along with this program. # If not, see . # ############################################################################### from odoo import fields, models class ResConfigSettings(models.TransientModel): """Class for the inherited transient model res.config.settings.""" _inherit = 'res.config.settings' reminder_sales = fields.Boolean( string='Reminder for Sales', help='Enable this field to get reminder of due in Sale Order.', config_parameter='sale_invoice_due_date_reminder.reminder_sale') set_date_sales = fields.Integer( string='Set Days', help='Reminder will send according to this number of days set in this ' 'field.', config_parameter='sale_invoice_due_date_reminder.set_date_sales') reminder_invoicing = fields.Boolean( string='Reminder for Invoicing', help='Enable this field to get reminder of due in Invoicing.', config_parameter='sale_invoice_due_date_reminder.reminder_invoicing') set_date_invoicing = fields.Integer( string='Set Days', help='Reminder will send according to this number of days set in this ' 'field.', config_parameter='sale_invoice_due_date_reminder.set_date_invoicing')