Overview
This module integrates odoo with Talksasa SMS Gateway. In addition to the usual odoo SMS flow, this module allows you to send SMS from the chatter of any document that has a partner_id field. You can type the message to send or use a predefined template.
How it works
Select 'Send via Talksasa' in the Send SMS setting.

Click on 'Configure TalkSasa Account' and enter your TalkSasa credentials. You can use the 'Send test SMS' feature to check if your credentials are correct

Create SMS templates for the models you want to integrate (optional). Use double curly braces to define variables e.g {{object.name}}.

You can now send SMS from anywhere in the system using either the 'Send SMS' button in the chatter, the 'Send SMS' icon of the phone widget or the SMS marketing app. Basically, all SMS messages will be channeled through TalkSasa regardless of how they were initiated.

For developers, there are two abstract methods available for further customization:
send_sms_with_template(self, template_id)- available on any model that has a 'partner_id' field. Takes 1 argument (SMSTemplate object). To be called on the respective model Recordsetsend_sms_notification(self, message)- available only on the 'res.partner' model. Takes 1 argument (the message to send - a string). To be called on a 'res.partner' Recordset
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
SMS Marketing (mass_mailing_sms)
• Email Marketing (mass_mailing) • Discuss (mail) • Contacts (contacts) |
| Lines of code | 557 |
| Technical Name |
gsk_sms_talksasa |
| License | OPL-1 |
| Website | https://gritnecsolutions.com |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module