from odoo import models, fields class ResConfigSettings(models.TransientModel): _inherit = 'res.config.settings' enable_student_notifications = fields.Boolean( string="Enable Student Creation Emails", config_parameter='education_organization.enable_student_notifications' ) Use code with caution. Copied to clipboard
Add the field to the user interface by inheriting the settings form view in an XML file. Odoo Book
res.config.settings.view.form.inherit.edu res.config.settings Use code with caution. Copied to clipboard from odoo import models