TIP: You can type at any time to perform a new search.
Twilio SMS
sms_twilio · odoo/odoo
- Repository
- odoo/odoo · module folder
- Module version
- 1.0
- Category
- Hidden/Tools
- Folder size
- 0.76 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- No
- Website
- None
- Last tracking update
- 2026-08-15 22:44:19
- Authors
- Odoo S.A.
- Maintainers
- Odoo S.A.
- Committers
- Thibault Delavallée, Odoo Translation Bot, Tiffany Chang (tic), Miquel Raïch, Dylan Kiss (dyki), Joseph Nechleba (jonec)
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- test_mail_sms, test_mass_mailing
- Description
This module allows using Twilio as a provider for SMS messaging. The user has to create an account on twilio.com and top up their account to start sending SMS messages.
Code Analysis ⓘ
Views touched (3)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
res_config_settings_view_form |
res.config.settings.view.form.inherit.sms.twilio | res.config.settings | form | Inherits sms.res_config_settings_view_form |
sms_sms_view_form |
sms.sms.view.form.inherit.twilio | sms.sms | form | Inherits sms.sms_tsms_view_form |
sms_twilio_account_manage_view_form |
sms.twilio.account.manage.view.form | sms.twilio.account.manage | form | New |
HTTP endpoints (1)
| Route(s) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
/sms_twilio/status/<string:uuid> |
SmsTwilioController.update_sms_status |
public | http | POST | csrf off sudo |
Models touched (8)
New fields (1)
-
failure_typeSelectionselection_add=[('twilio_authentication', 'Authentication Error"'), ('twilio_callback', 'Incorrect callback URL'), ('twilio_from_missing', 'Missing From Number'), ('twilio_from_to', 'From / To identic')]
-
fields_get(self, allfields=None, attributes=None)@api.model
New fields (4)
-
sms_providerSelectiondefault='iap'selection=[('iap', 'Send via Odoo'), ('twilio', 'Send via Twilio')]string='SMS Provider' -
sms_twilio_account_sidChargroups='base.group_system' args: 'Account SID' -
sms_twilio_auth_tokenChargroups='base.group_system' args: 'Auth Token' -
sms_twilio_number_idsOne2many → sms.twilio.numberargs: 'sms.twilio.number', 'company_id', 'Numbers'
No public methods.
New fields (1)
-
sms_providerSelectionreadonly=Falserelated='company_id.sms_provider'required=True
-
action_open_sms_twilio_account_manage(self)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (3)
-
failure_typeSelectionselection_add=[('twilio_authentication', 'Authentication Error"'), ('twilio_callback', 'Incorrect callback URL'), ('twilio_from_missing', 'Missing From Number'), ('twilio_from_to', 'From / To identic')] -
record_company_idMany2one → res.companyondelete='set null' args: 'res.company', 'Company' -
sms_twilio_sidChardepends=['sms_tracker_id']related='sms_tracker_id.sms_twilio_sid'
-
create(self, vals_list)@api.model_create_multi -
fields_get(self, allfields=None, attributes=None)@api.model
New fields (1)
-
sms_twilio_sidCharreadonly=Truestring='Twilio SMS SID'
No public methods.
New fields (6)
-
company_idMany2one → res.companycomodel_name='res.company'default=<expr>readonly=Truerequired=True -
sms_providerSelectionreadonly=Falserelated='company_id.sms_provider' -
sms_twilio_account_sidCharreadonly=Falserelated='company_id.sms_twilio_account_sid' -
sms_twilio_auth_tokenCharreadonly=Falserelated='company_id.sms_twilio_auth_token' -
sms_twilio_number_idsOne2manyreadonly=Falserelated='company_id.sms_twilio_number_ids' -
test_numberCharargs: 'Test Number'
-
action_reload_numbers(self)Fetch the available numbers from Twilio account -
action_save(self) -
action_send_test(self)
New fields (5)
-
company_idMany2one → res.companydefault=<expr>index='btree'ondelete='cascade'required=Truestring='Company' args: 'res.company' -
country_codeCharrelated='country_id.code'string='Country Code' -
country_idMany2one → res.countryrequired=Truestring='Country' args: 'res.country' -
numberCharrequired=Truestring='Twilio Number' -
sequenceIntegerdefault=1
-
action_unlink(self)
Loading…
Loading…