← Back to team overview

openerp-connector-community team mailing list archive

Trying to design a connector

 

Hi,

I am in need of the following:

   1. When certain records change, inform an external process of the id,
   and the type of change (add, update, delete). I think this can be done with
   a connector. The external process will retrieve that record directly from
   the database.
   2. Accepting records from a remote server, and storing them into a odoo
   table.

I am having trouble figuring out how to set this up.

#1: This seems pretty straightforward, and the docs do help me there, there
is only one thing: how do I get notified of record creation, updates, and
deletions?

#2: I don't think a connector can just start a background process which
listens to a port, or can it? Maybe create another thread? I am thinking of
a zeromq or websockets (autobahn) port. If yes, how can I set it up, if
not, what are the alternatives?

Thanks,
Ron

Follow ups