Repository
OCA/connector-telephony · module folder · Try on Runboat
Module version
1.1.0
Category
Phone
Folder size
0.37 MB
License
AGPL-3
Application
No
Auto-installable
Yes
Website
https://github.com/OCA/connector-telephony
Last tracking update
2026-08-07 07:47:43
Authors
Akretion, Odoo Community Association (OCA)
Maintainers
Akretion, Odoo Community Association (OCA)
Committers
Alexis de Lattre, Weblate, OCA Transbot, OCA-git-bot, oca-travis
Odoo dependencies
Python dependencies
phonenumbers
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (10)
XML IDNameModelTypeStatus
create_crm_phonecall_view create_crm_phonecall.view wizard.create.crm.phonecall form New
crm_lead_view_form crm_phone.crm_lead.form crm.lead form Inherits crm.crm_lead_view_form
crm_phonecall_calendar crm.phonecall.calendar crm.phonecall calendar New
crm_phonecall_form crm.phonecall.form crm.phonecall form New
crm_phonecall_search crm.phonecall.search crm.phonecall search New
crm_phonecall_tree crm.phonecall.tree crm.phonecall tree New
number_not_found_form crm_phone.number.not.found.form number.not.found form Inherits base_phone.number_not_found_form
view_partner_form phonecall.res.partner.form res.partner form Inherits base.view_partner_form
view_users_form crm.phone.res.users.form res.users form Inherits base_phone.view_users_form
view_users_form_simple_modif crm.phone.preferences.option.view res.users form Inherits base_phone.view_users_form_simple_modif
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (7)

New fields (2)
  • phonecall_count Integer
    compute='_compute_phonecall_count' string='Number of Phonecalls'
  • phonecall_ids One2many → crm.phonecall
    string='Phone Calls' args: 'crm.phonecall', 'opportunity_id'
Public methods (1)
  • name_get(self)

New fields (13)
  • company_id Many2one → res.company
    default=<expr> string='Company' args: 'res.company'
  • date Datetime
    copy=False default=<expr> string='Date' tracking=True
  • description Text
    copy=False string='Description'
  • direction Selection
    default='outbound' required=True string='Type' args: [('inbound', 'Inbound'), ('outbound', 'Outbound')]
  • name Char
    required=True string='Call Summary' tracking=True
  • opportunity_id Many2one → crm.lead
    ondelete='cascade' string='Lead/Opportunity' tracking=True args: 'crm.lead'
  • partner_id Many2one → res.partner
    ondelete='cascade' string='Contact' args: 'res.partner'
  • partner_mobile Char
    string='Mobile'
  • partner_phone Char
    string='Phone'
  • priority Selection
    default='1' string='Priority' tracking=True args: [('0', 'Low'), ('1', 'Normal'), ('2', 'High')]
  • state Selection
    copy=False default='open' help='The status is set to Confirmed, when a case is created.\nWhen the call is over, the status is set to Held.\nIf the call is not applicable anymore, the status can be set to Cancelled.' required=True string='Status' tracking=True args: [('open', 'To Do'), ('done', 'Held'), ('cancel', 'Cancelled')]
  • team_id Many2one → crm.team
    default=<expr> string='Sales Team' tracking=True args: 'crm.team'
  • user_id Many2one → res.users
    default=<expr> string='Responsible' tracking=True args: 'res.users'
Public methods (5)
  • onchange_opportunity_id(self)
    @api.onchange('opportunity_id')
  • onchange_partner_id(self)
    @api.onchange('partner_id')
  • onchange_partner_mobile(self)
    @api.onchange('partner_mobile')
  • onchange_partner_phone(self)
    @api.onchange('partner_phone')
  • schedule_another_call(self)

New fields (3)
  • current_lead_mobile Char
    related='to_update_lead_id.mobile'
  • current_lead_phone Char
    related='to_update_lead_id.phone'
  • to_update_lead_id Many2one → crm.lead
    help='Lead or opportunity on which the phone number will be written.' string='Lead or Opportunity to Update' args: 'crm.lead'
Public methods (3)
  • create_lead(self)
    Function called by the related button of the wizard
  • create_opportunity(self)
    Function called by the related button of the wizard
  • update_lead(self)

New fields (0)

No new fields.

Public methods (1)
  • click2dial(self, erp_number)
    @api.model

New fields (2)
  • phonecall_count Integer
    compute='_compute_phonecall_count' string='Number of Phonecalls'
  • phonecall_ids One2many → crm.phonecall
    string='Phone Calls' args: 'crm.phonecall', 'partner_id'
Public methods (0)

No public methods.

New fields (1)
  • context_propose_creation_crm_call Boolean
    default=True string='Propose to create a call in CRM after a click2dial'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • button_create_outgoing_phonecall(self)

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…