Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
2036 Lượt xem

Hi,

We're trying to implement a new module to a customer. We need to have a model which needs to be filled from an external oracle database. Normally we should create a scheduled job to read and import / update the data from external database to odoo's database. But this time we've nearly 20 million records and increasing every day so this is going to be a bit hard to manage creating new records or updating existing changed records. Is it possible to show data that we get from an external database without importing it to odoo's database. For example when a user navigates to a search / list view we should query the external database and prepare the data to be shown on the view and directly return it to that view.

Any guidance or example is very much appreciated.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hello,

You can use interface extension.

Create a table (or the format by which you need to show data) in the view. 

Check this documentation from odoo.

This module is an example for interface extension.

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

Thank you for the guidance. Looks ok for designing a one time query window for an external source.

Ảnh đại diện
Huỷ bỏ