| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
CRM (crm)
• Contacts (contacts) • Discuss (mail) • Inventory (stock) • Invoicing (account) • Calendar (calendar) |
| Lines of code | 6083 |
| Technical Name |
salla_webhook_integration |
| License | OPL-1 |
| Website | https://www.fsolutions.sa |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
CRM (crm)
• Contacts (contacts) • Discuss (mail) • Inventory (stock) • Invoicing (account) • Calendar (calendar) |
| Lines of code | 6083 |
| Technical Name |
salla_webhook_integration |
| License | OPL-1 |
| Website | https://www.fsolutions.sa |
Salla Webhook Integration for Odoo 18
A complete two-way integration between Odoo 18 and Salla e-commerce platform. Receive orders in real-time, sync products, push stock and prices back to Salla, and manage everything from a single Odoo configuration screen.
Why You Need This Module
If you run a Salla store and use Odoo for your back-office operations, this module eliminates the manual work of copying orders, updating stock, and keeping product data in sync between both platforms.
Real-Time Orders
Orders from Salla arrive instantly in Odoo via webhooks. No delays, no manual imports.
Two-Way Sync
Receive data from Salla and push stock levels and prices back. Keep both platforms aligned.
Fully Automated
Auto-create invoices, validate deliveries, and refresh tokens. Set it and forget it.
Real-Time Order Synchronization
Orders from your Salla store are created in Odoo automatically the moment a customer places them. All order details are included: line items, quantities, prices, taxes, delivery charges, discounts, and Cash-on-Delivery fees.
- Instant order creation when a customer places an order on Salla
- Automatic order status updates as orders progress through Salla
- Full order details: line items, quantities, prices, taxes, and shipping
- Delivery charges, discounts, and COD fees as separate service lines
- Configurable order prefix for easy identification (e.g. SALLA-12345)
- Manual import wizard for catching up on historical orders
Flexible Order State Mapping
Map each Salla order status to an Odoo order state and configure automated actions per status. Choose when invoices are created, when payments are registered, and when deliveries are validated.
- Auto-confirm orders based on Salla status
- Auto-create draft or paid invoices per state
- Auto-validate deliveries when orders are shipped
Intelligent Product Mapping
Link your Salla products to Odoo products using SKU or Salla Product ID. Products are matched automatically during order import. If no match is found, the module can auto-create the product in Odoo.
- Map by SKU, Salla Product ID, or automatic matching
- Auto-create products if no match is found (configurable)
- Product categories synced and auto-created
- Real-time updates when products change in Salla
Stock Sync: Odoo to Salla
Push stock quantities from your Odoo warehouse to Salla. Run it manually with one click or enable the daily scheduled action for automatic sync.
- Push stock from your default Odoo warehouse
- Supports SKU-based and Product ID-based matching
- One-click manual sync or automated daily cron
- Batched processing for large product catalogs
Price & Cost Sync: Odoo to Salla
Push your Odoo product sale prices and cost prices to Salla in bulk. Keep pricing consistent and enable accurate margin tracking in your Salla dashboard.
- Push sale price and cost price together
- Bulk update using Salla's official API
- Manual sync button or automated daily cron
- Syncs all mapped products in one operation
Customer Management
Automatically create and update customer records from Salla order data, or use a single default customer for simplified accounting.
- Auto-create customers (name, email, phone, address)
- Option to use one default customer for all orders
- Duplicate detection to avoid creating duplicates
Payment Method Mapping
Sync payment methods from Salla and map each one to an Odoo payment journal.
- One-click sync of all Salla payment methods
- Map each method to an Odoo payment journal
- Per-method auto-validation and payment settings
Secure OAuth Token Management
The module handles the full OAuth 2.0 token lifecycle automatically. Tokens are received when the Salla app is installed and refreshed proactively before they expire.
- Automatic token refresh every 10 days via scheduled action
- Immediate retry on authentication errors
- Token health status badge: Healthy / Warning / Expired
- Manual refresh button for immediate recovery
- Thread-safe refresh (prevents token invalidation)
Easy Configuration
Everything is managed from a single configuration screen with organized tabs.
Automated Scheduled Actions
The module includes four scheduled actions for hands-off operation.
| Scheduled Action | Frequency | Default |
|---|---|---|
| Token Refresh | Daily (refreshes every 7 days) | Enabled |
| Stock Sync to Salla | Daily | Disabled |
| Price & Cost Sync to Salla | Daily | Disabled |
Quick Setup Guide
- Install this module in your Odoo 18 instance.
- Create a Salla App in the Salla Partners Portal and set the webhook URL (shown in the Webhook Settings tab of the configuration).
- Install the app on your Salla store. OAuth tokens will be received automatically.
- Configure accounting: Set your company, sales journal, taxes, and default warehouse in the Company & Accounting tab.
- Map your products: Make sure your Odoo products have matching SKUs, or enable auto-create to have them created on the fly.
- Start receiving orders! Orders will flow from Salla to Odoo automatically.
- (Optional) Enable the Stock and Price sync scheduled actions for daily automated push to Salla.
This module connects to the Salla e-commerce platform via its REST API and webhook system. A Salla store and a Salla Partner App (with valid OAuth credentials) are required for the module to function. Additionally, merchants must install the companion Fsolutions Odoo Connector app from the Salla App Store on their Salla store. This companion app handles the OAuth authorization flow and delivers the access tokens to your Odoo instance automatically via webhook.
Technical Details
Compatibility
- Odoo 18 Community & Enterprise
Odoo Dependencies
- Sales
- Inventory
- Invoicing
- CRM
- Contacts
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