Skip to Content
Menu

103.10

v 17.0 Third Party 16
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 878
Technical Name sql_connect
LicenseOPL-1
Websitehttp://www.facebook.com/fasilwdr
Versions 16.0 17.0 18.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 878
Technical Name sql_connect
LicenseOPL-1
Websitehttp://www.facebook.com/fasilwdr
Versions 16.0 17.0 18.0

Overview

Odoo SQL Sync is an Odoo module that enables seamless database integration between Odoo and various SQL databases. It supports bi-directional data transfer and can be configured for automated synchronization.

Features

  • Connect to multiple SQL database types:
    • Microsoft SQL Server
    • PostgreSQL
    • MySQL
    • SQLite
    • Oracle
  • Bi-directional data transfer:
    • SQL to Odoo
    • Odoo to SQL
  • Flexible mapping options:
    • Field-to-field mapping
    • Custom SQL query mapping
  • Multiple integration types:
    • Create new records
    • Create if not exists
    • Update existing records
    • Update and create if not exists
  • Automated synchronization with scheduled tasks
  • Comprehensive filtering options for both Odoo and SQL
  • Support for related fields and custom values
  • Test connection functionality
  • Active/Inactive status tracking

Supported in

  • Odoo Enterprise On-premise
  • Odoo Community

Installation

Prerequisites

The following Python packages are required based on your database needs:

  • pip install sqlalchemy (Mandatory)
  • pip install pyodbc (Required if use Microsoft SQL Server)
  • pip install mysql-connector-python (Required if use MySQL)
  • pip install sqlite (Required if use SQLite)
  • pip install cx_oracle (Required if use Oracle)

Module Installation

  1. Copy the module to your Odoo addons directory
  2. Update your Odoo apps list and Install

Configuration

1. SQL Connection Setup

Navigate to Settings > SQL Sync > SQL Connections and create a new connection:

  • Name: Give your connection a descriptive name
  • Server Type: Select your database type
  • Host: Database server address
  • Port: Database port (auto-filled based on server type)
  • Database: Database name/path
  • SQL User: Database username
  • SQL User Password: Database password

SQL Connection

2. Transfer Configuration

Navigate to Settings > SQL Sync > SQL Transfer and create a new transfer:

  1. Basic Settings:

    • Name: Description of the transfer
    • Transfer Type: SQL to Odoo or SQL to Odoo
    • Integration Type: Create/Update strategy
    • SQL Connection: Select your configured connection
  2. Mapping Configuration:

    • Select Odoo Model
    • Enter SQL Table Name
    • Configure field mappings or SQL queries
    • Set up filters and conditions
  3. Automation (Optional):

    • Enable automation
    • Configure scheduling parameters

SQL Connection

Usage

Manual Transfer

  1. Configure your transfer settings
  2. Click Confirm to validate the configuration
  3. Click Run Manually to execute the transfer

Automated Transfer

  1. Configure your transfer settings
  2. Enable automation from the Automation tab
  3. Set up the desired schedule
  4. The transfer will run automatically according to the schedule

Maintainers

This module is maintained by fasilwdr@hotmail.com.

!Fasil

Support

For support and inquiries, contact:

  • Email: fasilwdr@hotmail.com
  • WhatsApp: https://wa.me/966538952934
  • Facebook: https://www.facebook.com/fasilwdr
  • Instagram: https://www.instagram.com/fasilwdr

License

This module is licensed under the Odoo Proprietary License (OPL-1).

Changelog

17.0.1.0.1

  • Initial release
  • Support for multiple database types
  • Bi-directional data transfer
  • Field and query mapping
  • Automated synchronization
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

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
There are no ratings yet!
can i sync odoo sh and odoo onpremes
by
Jawharat Al-majd Trad. Co.
on 2/1/25, 7:40 AM


Re: can i sync odoo sh and odoo onpremes
by
Fasil
on 2/1/25, 11:41 AM Author

You can use this module in both Odoo.sh and Odoo on-premises.


However, in Odoo.sh, there is no option to install system dependencies (e.g., pyodbc driver), so MS SQL synchronization is not supported. You can still connect to PostgreSQL, MySQL, SQLite, and Oracle databases. Ensure that the required Python packages are installed as mentioned in the documentation.


For any support, you can reach us at support@bytesraw.com.