Daily Revenue Discord Bot | Daily Revenue Discord Bot Odoo | Odoo Daily Revenue Discord Bot
by Mountain Tran
Odoo
$ 23.42
Community
Enterprise
Odoo.sh
Daily Revenue Discord Bot
Explore This Module
Overview
The Daily Revenue Discord Bot module automatically sends comprehensive daily revenue and profit reports to your team via Discord. This powerful integration helps keep your team informed about business performance without manual intervention.
Key Benefits:
- Automated Reporting: Daily revenue, profit, and performance metrics
- Multiple Delivery Methods: Discord webhooks and direct messages
- Real-time Notifications: Instant delivery at configured times
- Targeted Audience: Send reports to specific users or channels
- Secure Access Control: Role-based permissions and security groups
Features
Rich Discord Embed Messages with Charts
Dual Notification Methods (Webhooks & Bot DMs)
Automated Daily Revenue & Profit Calculations
Top-Selling Products Analytics
Configurable Notification Schedule & Timing
Role-based Security & Access Control
Test Connections & Preview Reports
Error Handling & Logging
Setup Guide
Step 1: Create Discord Bot
A. Create Discord Application:
- Go to Discord Developer Portal
- Click "New Application"
- Enter application name (e.g., "Odoo Revenue Bot")
- Click "Create"
B. Setup Bot:
- Go to "Bot" tab in your application
- Click "Add Bot"
- Copy the Bot Token (keep it secure!)
- Enable required bot permissions
Step 2: Configure Webhook (Optional)
For Channel Notifications:
- Right-click on your Discord channel
- Select "Edit Channel" -> "Integrations"
- Click "Create Webhook"
- Set webhook name and copy the Webhook URL
Step 3: Configure in Odoo
A. Discord Configuration:
- Navigate to Settings -> Discord Config
- Open "Default Configuration"
- Choose notification method:
- Webhook: Send to public channel
- Bot: Send private DMs to users
- Both: Use both methods
B. User Configuration:
- Go to Settings -> Users & Companies -> Users
- Open user profile -> "Discord Settings" tab
- Enter Discord User ID (see instructions below)
- Enable "Receive Discord Notifications"
Step 4: Get Discord User ID
Enable Developer Mode:
- Open Discord -> Settings
- Go to "Advanced" -> Enable "Developer Mode"
- Right-click on any username -> "Copy ID"
- Paste the ID in Odoo user settings
Pro Tip: Test your configuration using the "Send Test Report" button before enabling automatic scheduling!
Screenshots
1. Discord Revenue Report Message
Sample of the rich embedded revenue report sent to Discord.
Daily Revenue Report
Date: Monday, August 05, 2025
Revenue
$1,234.56
$1,234.56
Cost
$856.78
$856.78
Profit
$377.78
$377.78
Profit Margin
30.6%
30.6%
Orders
15
15
Company
Your Company
Your Company
Top Products
1. Product A (25 units)
2. Product B (18 units)
3. Product C (12 units)
2. Product B (18 units)
3. Product C (12 units)
Generated by Your Company ⢠Odoo ERP
Security & Permissions
Discord Manager
- Full configuration access
- Bot token and webhook management
- Test connections and send reports
- Manage all user Discord settings
- View system logs and errors
Discord User
- View configuration (read-only)
- Edit own Discord settings
- Receive Discord notifications
- Access revenue report summaries
Security Features:
- Role-based access control with security groups
- Encrypted bot token and webhook URL storage
- User-specific record rules and permissions
- Audit logging for all configuration changes
- Protected API endpoints and error handling
Troubleshooting
Bot Issues
Bot can't send DMs:
- Ensure bot is in the same server as users
- Verify Discord User ID is correct
- Check bot has "Send Messages" permission
- User must enable DMs from server members
Invalid Bot Token:
- Regenerate token in Discord Developer Portal
- Update token in Odoo configuration
- Ensure no extra spaces in token
Webhook Issues
Webhook not working:
- Verify webhook URL is complete and valid
- Check if channel still exists
- Ensure webhook hasn't been deleted
- Test with "Test Webhook" button
No reports received:
- Check cron job is active and scheduled
- Verify there are confirmed sales orders
- Review system logs for errors
- Test manual report sending
Support
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