oca-technical/odoo-bringout-oca-crm-crm_phonecall/crm_phonecall/models/calendar.py
2025-08-29 15:43:03 +02:00

13 lines
412 B
Python

# Copyright 2004-2016 Odoo SA (<http://www.odoo.com>)
# Copyright 2017 Tecnativa - Vicent Cubells
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from odoo import fields, models
class CalendarEvent(models.Model):
"""Enhance the calendar event to add phonecall data."""
_inherit = "calendar.event"
phonecall_id = fields.Many2one(comodel_name="crm.phonecall", string="Phonecall")