Skip to Content
Menu
This question has been flagged
1 Reply
1526 Views

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
Discard
Best Answer

you want try why xmlrpc protocol.

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

Avatar
Discard
Related Posts Replies Views Activity
0
Mar 24
338
0
May 23
756
1
Sep 22
1837
2
May 22
1044
2
Nov 16
4586