1
0
forked from Mapan/odoo17e
odoo17e-kedaikipas58/addons/event_enterprise/models/event_registration.py
2024-12-10 09:04:09 +07:00

12 lines
333 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import fields, models
class EventRegistration(models.Model):
_inherit = 'event.registration'
# store it to be able to group_by (event_begin_date in cohort view)
event_begin_date = fields.Datetime(store=True)