odoo14 connecting to Mssql database——odoo weighbridge integration development

odoo14 cement weighbridge integration

As is well known, the underlying database of Odoo uses PostgreSQL, but many factories in China use MSSQL databases. It is also impossible for many factories to fully adopt Odoo integration all at once. At this point, it is necessary to connect to other platforms to retrieve data into Odoo for specific business operations.

Another situation is that hardware devices originally obtain information and transfer it to the Mssql database, such as the weighbridge at a cement plant;

The cement weighbridge already has a relatively complete system for obtaining data; we just need to read it directly in Odoo.

How does Odoo connect to MSSQL database?

1. The MSSQL runtime platform—freetds software—needs to be properly installed on the server; brew install freetds

2. Correctly install pymssql; pip3 install pymssql 

3. Use the code we have developed to integrate.


关于我们

​我们致力于帮助中小企业实现数字化转型,我们的团队由一群充满激情和创新思维的专业人士组成,他们具备丰富的行业经验和技术专长。

扫一扫获取顾问以及手册

归档
Sign in to leave a comment
How to develop Odoo search and grouping: summary of search, name_search, search_count, search_read, read_group methods
How to develop Odoo search and grouping