mirror of
https://github.com/bringout/oca-crm.git
synced 2026-04-23 05:32:08 +02:00
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
13 lines
412 B
Python
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")
|