SMS Twilio

sms_twilio
REPOSITORY
REPOSITORYOCA/connector-telephony
GIT
GIThttps://github.com/OCA/connector-telephony.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/connector-telephony/tree/16.0/sms_twilio
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSMS
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, JasminSForgeFlow
WEBSITE
WEBSITEhttps://github.com/OCA/connector-telephony
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:45
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/connector-telephony:
    - base_phone
OCA/server-tools:
    - iap_alternative_provider
odoo/odoo:
    - phone_validation
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - sms
    - iap_mail
    - iap
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES twilio
phonenumbers
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
iap_account_view_form iap.account xpath Inherits iap.iap_account_view_form
sms_tsms_view_form sms.sms field Inherits sms.sms_tsms_view_form
Models touched (4)

New fields (8)
  • provider Selection
    ondelete={'twilio': 'cascade'} selection_add=[('twilio', 'Twilio')]
  • twilio_account_sid Char
    string='Twilio Account SID'
  • twilio_auth_token Char
  • twilio_balance_account Char
    compute='_compute_balance_twilio' string='Account Balance'
  • twilio_number_id Many2one → twilio.phone.number
    string='Twilio Number' args: 'twilio.phone.number'
  • twilio_production_env Boolean
    help='Test credentials can currently be used to interact with the following three resources:\n - Buying phone numbers - Sending SMS messages - Making calls\nIf in test environment, although being able to perform the above actions, they will not show in your Twilio account, and the only valid Twilio Number is the TEST Phone.\nProduction keys are needed to perform all the other actions like retrieve account balance or phone numbers. If this field is not enabled, the three cases mentioned above will be performed using test credentials.' args: 'Production Environment'
  • twilio_test_account_sid Char
    string='Twilio TEST Account SID'
  • twilio_test_auth_token Char
    string='Twilio TEST Auth Token'
Public methods (3)
  • get_twilio_client(self, production=True)
  • onchange_twilio_production_env(self)
    @api.onchange('twilio_production_env')
  • retrieve_phone_numbers(self)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • error_detail Text
    readonly=True
Public methods (0)

No public methods.

New fields (4)
  • has_sms_enabled Boolean
    string='SMS Enabled'
  • name Char
    string='Friendly Name'
  • phone_number Char
  • sid Char
    string='SID'
Public methods (0)

No public methods.