Odoo18-Base/addons/website_slides_survey/models/slide_channel.py
2025-03-10 11:12:23 +07:00

11 lines
312 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import fields, models
class Channel(models.Model):
_inherit = 'slide.channel'
nbr_certification = fields.Integer("Number of Certifications", compute='_compute_slides_statistics', store=True)