Flight Data Sync
by Apexive Solutions LLC https://github.com/smartops-aero/smartops-odoo-flight| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Community Apps Dependencies | Show |
| Lines of code | 1534 |
| Technical Name |
flight_data_sync |
| License | LGPL-3 |
| Website | https://github.com/smartops-aero/flight |
| Versions | 16.0 18.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Community Apps Dependencies | Show |
| Lines of code | 1534 |
| Technical Name |
flight_data_sync |
| License | LGPL-3 |
| Website | https://github.com/smartops-aero/flight |
| Versions | 16.0 18.0 |
Flight Data Sync
Synchronize flight data from external providers with automated scheduling and registry-based architecture
What It Does
Provides a pluggable architecture for synchronizing flight data from external data providers. Configure multiple providers, set up automated sync schedules, and track sync history with detailed logging.
The registry-based design makes it easy for developers to add new data providers without modifying core code. Each provider can have its own sync schedules and run as specific users.
Core Features
Provider Registry
Extensible provider architecture allows developers to register custom data sources without modifying core modules.
Automated Scheduling
Set up cron-based sync schedules for automatic data updates. Configure different schedules for different providers.
API Credentials
Store API endpoints, usernames, and passwords securely for each data provider. Company-specific configurations.
Sync History
Track all synchronization attempts with timestamps, status, and error messages through the registry system.
Run As User
Execute syncs as specific users to ensure proper access rights and maintain audit trails.
Manual Sync Wizard
Trigger on-demand syncs through an easy-to-use wizard interface for testing or immediate updates.
How It Works
Configure Provider
Set up data provider with API credentials
Create Schedule
Define when and how often to sync data
Auto Sync
Cron jobs automatically sync on schedule
Track Results
Monitor sync status through registry
For Developers: Adding Custom Providers
Extend the provider registry by implementing the provider interface in your custom module:
- Create a new selection option in
_selection_service() - Implement sync logic in your provider class
- Register provider methods with the data registry
- Module automatically discovers and uses your provider
Use Cases
Flight Tracking Integration
Sync real-time flight status from tracking services like FlightAware, FlightRadar24, or proprietary systems.
Weather Data Updates
Pull weather information from aviation weather services to enhance flight planning and operations.
Airport Data Synchronization
Keep aerodrome information up-to-date from authoritative sources like ICAO or national aviation databases.
ERP Integration
Synchronize flight data with external ERP systems or proprietary aviation management platforms.
Part of SmartOps Flight Suite
Works seamlessly with other flight management modules for comprehensive aviation operations
Support & Documentation
Developed by Apexive Solutions LLC as part of the smartops.aero project
github.com/smartops-aero/smartops-odoo-flight
License: LGPL-3 • Version 18.0.1.0.0
Flight Data Sync
Synchronize flight data from external providers with automated scheduling for Odoo 16.
Overview
Provides a pluggable, registry-based architecture for syncing flight data from external sources. Configure multiple providers, set up automated cron schedules, and track sync history with detailed logging.
Features
- Provider Registry: Extensible architecture for adding custom data providers
- Automated Scheduling: Cron-based sync schedules for automatic updates
- API Credentials: Secure storage of API endpoints, usernames, and passwords
- Sync History: Track synchronization attempts through data registry
- Run As User: Execute syncs as specific users for proper access control
- Manual Sync Wizard: Trigger on-demand syncs for testing or immediate updates
Installation
- Install from Odoo Apps menu
- Requires: flight, mail, web modules
Usage
Configure Data Provider
- Go to Flights → Configuration → Data Providers
- Create a new provider: - Set name and service type - Enter API base URL - Add credentials (username/password) - Optionally set "Run As User"
Set Up Sync Schedule
- Open a provider record
- Add sync schedules in the Sync Schedules tab
- Cron jobs will automatically execute syncs
Manual Sync
- Go to Flights → Data Sync
- Use the sync wizard to trigger immediate synchronization
Module Structure
flight_data_sync/
├── models/
│ ├── flight_data_provider.py # Provider configuration
│ └── flight_data_registry.py # Sync history tracking
├── wizard/
│ └── flight_data_sync_wizard.py # Manual sync interface
└── data/
└── ir_cron_data.xml # Cron job definitions
For Developers: Adding Custom Providers
Extend the system by implementing your own data provider:
- Override _selection_service() to add your service type
- Implement sync logic in your provider class
- Register methods with the data registry
- System automatically discovers and uses your provider
The modular design allows adding providers without modifying core code.
Use Cases
- Flight Tracking Integration: Sync real-time status from FlightAware, FlightRadar24
- Weather Data: Pull aviation weather information for operations
- Airport Data Sync: Keep aerodrome info updated from ICAO/national databases
- ERP Integration: Sync with external aviation management platforms
Technical Details
- Architecture: Registry pattern with pluggable providers
- Scheduling: Odoo cron system for automated execution
- Security: Company-specific configurations, run-as-user support
- Extensible: Add providers through inheritance, no core modifications
Support
- Author: Apexive Solutions LLC
- Website: https://github.com/smartops-aero/smartops-odoo-flight
- License: LGPL-3
Please log in to comment on this module