Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
2243 Tampilan

I was tasked with creating a custom module, that would automate data import from ERP system that our company currently uses.


We decided that the first part of migrating data, would be with customer contact informations. For now we are keeping it simple, the import of data should start when a button is clicked. And from what I see around I can bind a model function to the button.

So I was wondering, how to approach the problem. Since all of the data will be coming from the others ERPs API calls in a form of XML data, can I have a TransientModel that just contains the function that will create a new partner?

How to make sure I don't double import the same contact, since we are already using some functionality of Odoo (mostly CRM and Helpdesk), there are already some customers that have been added by hand. So what I mean is can I check if let's say VAT exists in the records or if it's not a company if persons email/phone number exists.

And last thing since we'd have to move around 1000 contacts, it would have to be a background process, how does one approach this with Odoo?


Any help with the three problems would be appreciated.


Admir Ljubijankić

Virtua IT d.o.o.

Avatar
Buang
Jawaban Terbai

you want try why xmlrpc protocol.

whit this protocol you can, insert, update, and delete data

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
2
Jul 25
2302
0
Mar 24
1697
0
Mei 23
1515
1
Sep 22
3114
2
Mei 22
2048