Flight Delay Code
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 | 1322 |
| Technical Name |
flight_delay_code |
| License | OPL-1 |
| Website | https://github.com/smartops-aero/smartops-odoo-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 | 1322 |
| Technical Name |
flight_delay_code |
| License | OPL-1 |
| Website | https://github.com/smartops-aero/smartops-odoo-flight |
| Versions | 16.0 18.0 |
Flight Delay Code
IATA-compliant delay tracking and reporting for SmartOps Flight Management. Accurate delay categorization, standardized codes, and comprehensive analysis capabilities.
Part of the SmartOps Aviation Suite by Apexive Solutions LLC
Professional delay management for aviation operations
Industry-Standard Delay Tracking
Aviation operations demand accurate delay tracking for performance analysis, regulatory reporting, and operational improvement. The Flight Delay Code module brings IATA-standard delay categorization to your SmartOps Flight Management system.
Pre-loaded with comprehensive IATA delay codes and groups, this module enables precise delay tracking, duration recording, and standardized reporting that meets industry requirements.
Built for Compliance
Meet regulatory reporting requirements with IATA-compliant delay codes. Perfect for airlines, charter operators, and aviation businesses requiring standardized delay tracking.
Core Capabilities
IATA Delay Code Groups
01-09 Passenger & Baggage
Late check-in, boarding delays, baggage handling
11-19 Aircraft Technical
Technical defects, maintenance delays
21-29 Aircraft Damage
Damage requiring repair before flight
31-39 Operations & Crewing
Flight ops delays, crew availability issues
41-49 Weather
Meteorological conditions affecting operations
51-59 ATC Flow Management
Air traffic control restrictions and delays
61-69 Airport & Government
Airport operations and governmental delays
71-79 Cargo & Mail
Cargo and mail handling delays
81-89 Aircraft Rotation
Late arrival from previous rotation
Powerful Features
Pre-loaded Database
Comprehensive IATA delay code database loaded out of the box. Start tracking delays immediately with industry-standard codes.
Customizable Codes
Create custom delay codes for operation-specific needs. Link codes to flight prefixes for relevant code filtering.
Duration Tracking
Record delay durations in hours with automatic conversion to HH:MM format for easy reading and reporting.
Delay Sequencing
Order multiple delays chronologically or by priority. Track complex delay scenarios with multiple contributing factors.
Data Protection
Locked flight delays cannot be modified. Ensure data integrity for completed operations and regulatory compliance.
Reporting Ready
Standardized codes enable consistent reporting across your operation. Analyze trends and identify improvement areas.
Use Cases
Scheduled Airlines
Meet regulatory reporting requirements with IATA-compliant delay tracking. Analyze delay patterns to improve on-time performance and identify operational bottlenecks.
Charter Operations
Track and categorize charter flight delays for client billing and service quality monitoring. Document delay reasons with industry-standard codes.
Aircraft Management
Provide detailed delay reporting to aircraft owners. Track maintenance-related delays versus operational delays for fleet performance analysis.
Performance Analysis
Use standardized delay data for trend analysis and operational improvement. Identify patterns in technical, weather, or operational delays.
Getting Started
Installation
- Requires SmartOps Flight Management and Flight Number modules
- Install from Odoo Apps menu
- IATA delay codes and groups load automatically
- Access delay tracking from flight records
Recording Delays
1. Open Flight: Navigate to the flight record
2. Add Delay: Go to Delays tab and click "Add a line"
3. Select Code: Choose from IATA delay codes
4. Enter Duration: Specify delay in hours (e.g., 0.5 = 30 minutes)
Enter durations as decimal hours: 0.5 = 30 min, 1.0 = 1 hour, 2.25 = 2h 15min. Display automatically formats to HH:MM.
Ready for Professional Delay Tracking?
Join aviation operators using IATA-standard delay tracking. Meet regulatory requirements and improve operations with accurate delay categorization.
github.com/smartops-aero/smartops-odoo-flight
Developed by Apexive Solutions LLC • License: OPL-1 • Version 18.0.1.0.0
Flight Delay Code
IATA-compliant delay code tracking and reporting for SmartOps Flight Management.
Overview
The Flight Delay Code module extends SmartOps Flight Management with comprehensive delay tracking capabilities. Built on IATA delay code standards, it provides structured delay reporting, categorization, and analysis for aviation operations.
This module enables airlines, charter operators, and aviation businesses to accurately track, categorize, and report flight delays using industry-standard IATA delay codes.
Features
Delay Code Database
- IATA Standards: Pre-loaded with industry-standard delay codes
- Delay Groups: Organized into categories (01-99 groups)
- Code Structure: Support for code, numeric, and sub-code identifiers
- Descriptions: Human-readable delay reason descriptions
- Prefix Linking: Assign codes to specific flight number prefixes
- Advanced Search: Search by code, numeric, sub-code, or description
Flight Delay Tracking
- Multiple Delays: Track multiple delay reasons per flight
- Duration Tracking: Record delay duration in hours with HH:MM display
- Sequencing: Order delays by priority or chronology
- Data Protection: Locked flight delays cannot be modified
- Activity Tracking: Integrated chatter for delay communication
Reporting & Analysis
- Grouped Views: View delays by IATA category
- Time Formatting: Automatic conversion to HH:MM format
- Historical Data: Complete delay history per flight
- Standardized Codes: Consistent reporting across operations
Models
flight.delay.group
Categorizes delay codes into IATA standard groups:
- numeric: Group identifier (e.g., 11, 21, 31)
- name: Group description (e.g., "Aircraft Technical")
SQL Constraints:
- Unique numeric identifier
Pre-loaded Groups:
- 01-09: Passenger and Baggage
- 11-19: Aircraft Technical
- 21-29: Aircraft Damage
- 31-39: Operations and Crewing
- 41-49: Weather
- 51-59: Air Traffic Flow Management
- 61-69: Airport and Governmental Authorities
- 71-79: Cargo and Mail
- 81-89: Aircraft Rotation
- 91-99: Miscellaneous
flight.delay.code
Comprehensive delay code records:
- code: Alphanumeric code (required)
- numeric: Numeric identifier (e.g., 11, 12)
- sub_code: Sub-code identifier (e.g., "A", "B")
- description: Human-readable delay reason
- group_id: Link to delay group (Many2one)
- prefix_ids: Valid flight prefixes (Many2many)
- active: Enable/disable code
Display Name:
Computed format: CODE - NUMERIC/SUBCODE
Example: 11 - 11/A
Search Capability:
Custom name_search supports searching across:
- Code field
- Numeric field
- Sub-code field
- Description field
SQL Constraints:
- Unique combination of code and sub_code
flight.delay
Individual delay records linked to flights:
- flight_id: Parent flight record (required, cascade delete)
- code_id: Delay code reference (required)
- duration: Delay duration in hours (Float)
- sequence: Display order (Integer, default 10)
Inheritance:
- flight.lock.mixin: Prevents modification of locked flight delays
Display Name:
Computed format: CODE - NUMERIC/SUBCODE (HH:MM)
Example: 11 - 11/A (02:15)
flight.flight Extensions
The flight.flight model is extended with:
- delay_ids: One2many field to flight.delay records
View Enhancements:
- Delays tab in flight form view
- Delay count and summary in flight list view
Installation
Requirements
- Odoo 16.0
- flight module (SmartOps Flight Management)
- flight_number module (Flight numbering)
Steps
- Install from Odoo Apps menu
- Delay groups and codes are automatically loaded
- Access delay tracking from flight records
- Navigate to Configuration menu for delay code management
Usage
Recording Flight Delays
- Open a flight record
- Navigate to the Delays tab
- Click Add a line
- Select a delay code from the dropdown:
- Search by code (e.g., "11")
- Search by description (e.g., "technical")
- Browse by category
- Enter duration in hours:
- 0.5 = 30 minutes
- 1.0 = 1 hour
- 2.25 = 2 hours 15 minutes
- Adjust sequence if multiple delays exist
- Save the record
Managing Delay Codes
Viewing Codes:
Navigate to Flights > Configuration > Delay Codes
Creating Custom Codes:
- Click Create
- Enter code, numeric, and optional sub-code
- Add description
- Select delay group
- Link to flight prefixes if applicable
- Save
Deactivating Codes:
Set the active field to False to hide unused codes.
Searching for Delay Codes
Use the search bar in delay code views or delay selection dropdowns:
- By Code: Enter "11" to find all code 11 delays
- By Numeric: Enter "11" to find numeric 11 delays
- By Sub-code: Enter "A" to find all "A" sub-codes
- By Description: Enter "technical" to find technical delays
IATA Delay Code Reference
Passenger and Baggage (01-09)
Delays caused by passengers, baggage handling, and related services.
Aircraft Technical (11-19)
Delays due to aircraft technical issues, maintenance, or defects.
Aircraft Damage (21-29)
Delays caused by aircraft damage requiring repair.
Operations and Crewing (31-39)
Delays related to flight operations, crew availability, or crew issues.
Weather (41-49)
Delays caused by meteorological conditions.
Air Traffic Flow Management (51-59)
Delays imposed by ATC or flow management restrictions.
Airport and Government (61-69)
Delays caused by airport operations or governmental authorities.
Cargo and Mail (71-79)
Delays related to cargo and mail handling.
Aircraft Rotation (81-89)
Delays caused by late arrival of aircraft from previous rotation.
Miscellaneous (91-99)
Other delays not covered by standard categories.
Data Protection
Lock Mechanism
Flight delays inherit the flight.lock.mixin behavior:
- When a flight is locked, delay records cannot be created, modified, or deleted
- Ensures data integrity for completed flights
- Prevents accidental modification of historical data
- Maintains audit trail compliance
Best Practices
Delay Recording
- Record Promptly: Enter delays as soon as causes are known
- Be Specific: Use the most specific sub-code available
- Accurate Duration: Enter precise delay durations
- Multiple Reasons: Record all contributing delay factors
- Sequence Logically: Order delays chronologically or by impact
Code Management
- Use Standards: Stick to IATA codes when possible
- Custom Codes: Create custom codes only for unique situations
- Prefix Linking: Link codes to prefixes to filter relevant codes
- Regular Review: Periodically review and update delay code usage
Reporting
- Group Analysis: Review delays by group to identify patterns
- Trend Tracking: Monitor delay trends over time
- Root Cause: Use delay data for operational improvements
- Performance Metrics: Calculate delay-related KPIs
Technical Information
Dependencies
'depends': [ 'flight', 'flight_number', ]
Security
Access rights defined in security/ir.model.access.csv:
- Flight User: Read access to delay codes and groups
- Flight Manager: Full CRUD access to all delay records
- Flight Admin: Configuration access to delay groups and codes
Data Files
Pre-loaded data in CSV format:
- data/flight.delay.group.csv: IATA delay groups
- data/flight.delay.code.csv: Standard IATA delay codes
Views
- Delay code list, form, and search views
- Delay group list and form views
- Flight form view extension with delays tab
- Menu structure under Flights > Configuration
Support
- Source Code: https://github.com/smartops-aero/smartops-odoo-flight
- Issue Tracker: https://github.com/smartops-aero/smartops-odoo-flight/issues
- Email Support: support@apexive.com
Author & License
- Author: Apexive Solutions LLC
- License: OPL-1 (Odoo Proprietary License v1.0)
- Version: 16.0.1.0.0
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module