from odoo import fields, models class McBatch(models.Model): _inherit = "mc.batch" channel_id = fields.Many2one( "slide.channel", string="Course Channel", ondelete="set null", help="Enrolling a student in this batch enrolls them in this course channel.", )