| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Community Apps Dependencies | Show |
| Lines of code | 986 |
| Technical Name |
sm_telegram_core |
| License | OPL-1 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Community Apps Dependencies | Show |
| Lines of code | 986 |
| Technical Name |
sm_telegram_core |
| License | OPL-1 |
Telegram Integration - Send Messages
Send Telegram messages, PDFs, images & files directly from any Odoo record chatter
Module Video Overview
Features
1 Send from chatterA dedicated Send Telegram button appears directly in the chatter of any configured model. Open the send wizard, pick recipients, write your message, attach files, and send — all without leaving the record. |
|
|
2 Configure per modelEnable Telegram sending on any model - Sale Orders, Invoices, Purchase Orders, and more. Whitelist which PDF reports can be sent and restrict which users are allowed to send. One simple configuration screen per model. |
3 Powerful send wizardA full-featured sending dialog with recipient picker, message composer, format selection (Plain Text, Markdown, HTML), PDF report attachment, and file uploads. Send to up to 50 recipients at once with one click. |
|
|
4 PDF & file deliveryAttach and send PDF reports with one click. Upload images and they are sent as Telegram photos. Other file types are delivered as documents. The module detects the file type automatically. Reports are whitelisted per model for security. |
5 Full delivery trackingEvery message is logged with complete details - recipient, delivery status, timestamps, and error information. Color-coded list view makes it easy to see what was sent, what failed, and what is queued. Filter and group by status, recipient, model, or date. |
|
|
6 Manual retryFailed messages can be retried with a single click directly from the message log. No need to recreate the message from scratch. The retry button appears only on failed messages, keeping the interface clean and intuitive. |
And much more...
Bulk SendingSend the same message to up to 50 recipients at once. Each recipient gets their own delivery and is tracked individually. |
Chatter Audit TrailAfter sending, a summary note is posted on the record showing which recipients succeeded and which failed. |
User Access ControlRestrict which users can send Telegram messages per model. Leave empty to allow all users. |
Markdown & HTMLFormat your messages in Markdown or HTML. Bold, italic, links, code blocks - all supported natively by Telegram. |
Report WhitelistControl exactly which PDF reports can be sent via Telegram for each model. Keep sensitive reports protected. |
Instant NotificationsSuccess and error notifications appear instantly. Know right away if your message was delivered or if something went wrong. |
Advanced FiltersFilter message logs by status, date, recipient, or model. Group by any dimension for quick analysis. |
Smart File DetectionImages are automatically sent as Telegram photos for inline viewing. Other files are delivered as downloadable documents. |
Extensible ArchitectureBuilt with extension points for add-on modules like Templates and Scheduler. Expand functionality without modifying core code. |
Support
We provide free bug fixes and updates for all our modules. If you need help, please submit a support request through the Odoo Apps support page. Our team is always ready to assist you.
Telegram Integration - Send Messages — Documentation
Table of Contents
1. Getting Started
Prerequisites
Before installing, make sure you have the following:
Installation
- Upload the module folder to your server's custom addons directory.
- Restart the Odoo service to detect the new module.
- Navigate to Apps menu, click Update Apps List.
- Search for "Telegram Integration - Send Messages" and click Install.
Note
After installation, new menu items appear under Telegram: Message Logs and Configuration > Model Configurations.
2. Model Configuration
Before users can send Telegram messages from a specific model (e.g. Sale Order, Invoice), an administrator must enable it.
Setup
- Navigate to Telegram > Configuration > Model Configurations > New.
- Configure the following:
Model: Select the Odoo model you want to enable (e.g. Sale Order, Invoice, Contact). Active: Toggle to enable or temporarily disable Telegram sending for this model. Allowed Reports: Whitelist which PDF reports can be sent via Telegram. If left empty, all PDF reports for the model are available. Allowed Users: Restrict which users can send Telegram messages for this model. If left empty, all users are allowed to send.
Tip
You can create one configuration per model. The system enforces uniqueness.
3. Sending Messages
From Chatter
- Open any record of a configured model (e.g. a Sale Order).
- In the chatter area, click the Send Telegram button.
- The Send Wizard opens as a popup dialog.
Using the Send Wizard
The wizard provides the following options:
| Recipients: | Select one or more contacts who have a Telegram Chat ID. Only contacts with a linked Chat ID appear in the list. |
|---|---|
| Message: | Type your message text. Supports plain text, Markdown, and HTML formatting. |
| Format: | Choose between Plain Text, Markdown, or HTML. |
| Report (PDF): | Optionally select a PDF report to generate and attach. Only reports whitelisted in the Model Configuration appear here. |
| Attachments: | Upload additional files. Images are sent as Telegram photos (inline preview). Other files are sent as documents. |
- Click Send to deliver the message immediately.
Note
You can send to up to 50 recipients at once. Each recipient receives their own individual message and is tracked separately in the message logs.
After Sending
- A chatter note is posted on the record summarizing the delivery: which recipients received the message and which ones failed.
- A success notification appears confirming the number of recipients.
- If any delivery fails, a warning notification directs you to the Message Logs.
4. Message Logs
All sent messages are logged for complete traceability.
Viewing Logs
Navigate to Telegram > Message Logs to see all messages.
The list view is color-coded:
- Green: Successfully sent
- Red: Failed (with error details)
- Yellow: Queued for sending
Each log entry shows: recipient, chat ID, timestamp, sender, bot used, source record, message content, status, and retry count.
Filtering & Grouping
Use the search bar to filter by:
- Status: Sent, Error, or Queued
- Date: Today or custom range
- Group By: Status, Recipient, Model, or Date
Retrying Failed Messages
- Open a failed message log entry.
- Click the Retry button.
- The system attempts to resend the message using the original content and recipient.
Tip
The Retry button only appears on messages with Error status. Successfully sent messages do not show the retry option.
5. Formatting Guide
The module supports three message formats:
Plain Text
Messages are sent as-is with no formatting applied.
Markdown
Use Telegram-compatible Markdown:
*bold text* _italic text_ [link text](https://example.com) `inline code` ``` code block ```
HTML
Use Telegram-compatible HTML:
<b>bold</b> <i>italic</i> <a href="https://example.com">link</a> <code>inline code</code> <pre>code block</pre>
6. Frequently Asked Questions
Q: The Send Telegram button does not appear in the chatter.
A: Make sure you have created a Model Configuration for that model and it is set to Active. Also verify that your user is in the Allowed Users list (or the list is empty to allow all users).
Q: No recipients appear in the wizard.
A: Recipients must have a Telegram Chat ID on their contact record. Ask them to send /start to your Telegram bot, or manually fill in the Chat ID field on the contact form.
Q: Can I send to contacts without a Chat ID?
A: No. The Telegram API requires a Chat ID to deliver messages. The contact must first interact with your bot via /start to establish the Chat ID.
Q: What happens if sending fails?
A: The message is logged with Error status and the error details from the Telegram API. You can retry the message from the Message Logs view.
Q: Is there a limit on recipients?
A: The wizard supports up to 50 recipients per send action. For larger volumes, consider sending in batches.
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