oca-crm/odoo-bringout-oca-crm-crm_phonecall/crm_phonecall/models/calendar.py
Ernad Husremovic 0608132c9e Add oca-crm submodule with 26 CRM modules
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-30 17:44:33 +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")