Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: New module for data synchronization between Odoo instances

by
Sunflower IT, Tom Blauwendraat
- 19/03/2021 17:00:10
Op 3/19/21 om 3:27 PM schreef Daniel Reis:

> 1) capture events

As for 'capturing' events, note also this discussion I had on the 
subject with Moises:

https://github.com/OCA/server-tools/issues/1249

If I had to do the auditlog module from scratch, I'd probably go for SQL 
triggers instead, since they have way less overhead. You could then let 
a background job do the syncing based on whatever was added to the 
"_changes" table as filled by the trigger.


Reference