How i can get data from external database and use it for my module. Example i have db with table product. How to get all data from that table and put it in openerp module. How to connect on that database and get data? All examples are welcome.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- 專案管理
- MRP
此問題已被標幟
1
回覆
5371
瀏覽次數
Well, there are many ways to do that... but you need to develop modules to do that. One way of solving your problem would be to develop a module that extends X model creating calculated fields, and those fields are populated with data pulled from external databases. There are many ways to pull data from other DBs in Python, you can do that with different libraries such as pymysql (for MySQL databases) or with ORM like SQLAlchemy.
| 相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
|---|---|---|---|---|
|
|
0
7月 25
|
2371 | ||
|
|
2
11月 24
|
8717 | ||
|
|
2
10月 24
|
5084 | ||
|
|
2
8月 24
|
2796 | ||
|
|
3
7月 24
|
9366 |