mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-23 00:32:03 +02:00
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")
|