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:
- CRM
- e-Commerce
- Księgowość
- Zapasy
- PoS
- Projekt
- MRP
To pytanie dostało ostrzeżenie
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.
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj się| Powiązane posty | Odpowiedzi | Widoki | Czynność | |
|---|---|---|---|---|
|
|
0
lip 25
|
2369 | ||
|
|
2
lis 24
|
8712 | ||
|
|
2
paź 24
|
5079 | ||
|
|
2
sie 24
|
2793 | ||
|
|
3
lip 24
|
9361 |