Sync Mixins
by Grevlin Global Corp https://github.com/grevlin/grev_od_mixin_apps , Tharcisse Mukundayi https://github.com/grevlin/grev_od_mixin_apps
Odoo
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 351 |
| Technical Name |
grev_od_sync_mixins |
| License | LGPL-3 |
| Website | https://github.com/grevlin/grev_od_mixin_apps |
Sync Mixins
Sync Mixins is a lightweight but powerful technical module that provides a set of reusable synchronization mixins used when building Odoo connectors and third-party API integrations.
Key Features
- Standardized synchronization base mixins
- Tracking of sync timestamps, states, and external IDs
- Helpers for push and pull synchronization flows
- Safe retry & error recovery utilities
- Support for building any Odoo â External API connector
- Clean, reusable, and extensible architecture
Use Cases
- Building custom Odoo connectors
- Integrating Odoo with REST, SOAP, GraphQL, or custom APIs
- Synchronizing orders, products, inventory, or accounting data
- Providing shared logic across multiple integration modules
Technical Overview
This module defines reusable mixins that can be inherited by any Odoo model to add synchronization capabilities. The mixins include:
- External ID Mapping Mixin â track remote identifiers
- Pull Mixin â define logic for receiving external data
- Push Mixin â define logic for exporting data to external systems
- Sync State Mixin â timestamps, status, and logging
- Error Handling Mixin â retry and recovery helpers
Compatibility
- Odoo 17, 18, 19
- Works with enterprise and community editions
Installation
No configuration required. Simply install and extend the mixins in your models.
Changelog
v1.1.1
- Refactor Webhook Mixins
- Update in Aouth2 Controllers
v1.0.0
- Initial release
Support
For issues and feature requests, please visit the GitHub repository at https://github.com/grevlin/grev_od_mixin_apps.
Drop us a message on X: @GrevlinGlobal
30 days free support
Please log in to comment on this module