Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Industries
  3. Flight Purchase v 16.0
  4. Sales Conditions FAQ

Flight Purchase

by Apexive Solutions LLC https://github.com/smartops-aero/smartops-odoo-flight
Odoo

$ 247.25

v 16.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Purchase (purchase)
• Discuss (mail)
• Invoicing (account)
Community Apps Dependencies Show
• Flight
• Flight UOM
Lines of code 1416
Technical Name flight_purchase
LicenseOPL-1
Websitehttps://github.com/smartops-aero/smartops-odoo-flight
Versions 16.0 18.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Purchase (purchase)
• Discuss (mail)
• Invoicing (account)
Community Apps Dependencies Show
• Flight
• Flight UOM
Lines of code 1416
Technical Name flight_purchase
LicenseOPL-1
Websitehttps://github.com/smartops-aero/smartops-odoo-flight
Versions 16.0 18.0
  • Description
  • Documentation
  • License
Premium Module

Flight Purchase

Seamless purchase order integration for SmartOps Flight Management. Link purchases to flights and aircraft for complete operational cost visibility.

Purchase Integration Service Tracking Cost Management Smart Workflows

Part of the SmartOps Aviation Suite by Apexive Solutions LLC

Professional purchase management integration for flight operations

Connect Procurement to Operations

Aviation operations involve complex procurement: fuel, handling services, catering, maintenance parts, and more. The Flight Purchase module bridges the gap between procurement and operations, linking every purchase to the flights and aircraft that need them.

Track service costs per flight, analyze vendor performance, and maintain complete visibility of operational expenses—all within your existing Odoo purchase workflows.

The Value Proposition

Stop managing flight costs in spreadsheets. Link purchase orders directly to flights and aircraft for accurate cost allocation, simplified billing, and powerful analytics.

Powerful Integration

Smart Linking Connect purchase orders to flights with automatic aircraft assignment
Service Management Track individual services and purchase order lines per flight
Mass Collection Bulk import services from purchase orders with one click
Cost Visibility View purchase counts and costs directly from flight records

Comprehensive Features

Purchase Order Linking

Link purchase orders to flights and aircraft with smart auto-assignment. When you select a flight, the aircraft automatically fills—streamlining your purchase workflow.

Service Line Tracking

Track individual services from purchase order lines. See product, quantity, price, supplier, and status for each service—all linked to the flight and aerodrome.

Mass Service Collection

Bulk import services from purchase orders with a single action. Select multiple flights and collect all related services automatically—no manual data entry.

Flight View Integration

View purchase counts directly on flight records. Click the smart button to see all related purchase orders, filtered and ready for review.

Aircraft View Integration

Track all purchases for an aircraft from the aircraft record. Perfect for maintenance parts, recurring services, and aircraft-specific procurement.

Data Protection

Service lines inherit flight locking. Once a flight is locked, service data is protected from modification—ensuring audit trail integrity.

How It Works

1

Link Purchases

When creating a purchase order for fuel, handling, catering, or any flight service, simply select the flight. The aircraft automatically populates, creating a complete link between procurement and operations.

2

Track Services

View all services on the flight's Services tab. Each purchase order line appears as a service line with product details, pricing, supplier, and status. Assign aerodromes to services for location-based tracking.

3

Collect in Bulk

For multiple flights, use the "Collect Services" action. Select flights, click Actions > Collect Services, and the system automatically imports all related purchase order lines as service lines—saving time and reducing errors.

4

Analyze Costs

Use Odoo's reporting tools to analyze flight costs, compare vendor pricing, track spending by aerodrome, and make data-driven decisions about your procurement strategy.

Use Cases

Fuel & Handling Services

Link fuel and handling purchase orders to flights. Track costs per leg, analyze vendor pricing by aerodrome, and optimize your ground service procurement strategy.

Catering & Supplies

Track catering and cabin supply purchases per flight. Calculate per-passenger costs, analyze vendor performance, and ensure consistent service quality across your operation.

Maintenance & Parts

Link maintenance parts purchases to aircraft. When parts are used during a specific flight, link to both aircraft and flight for complete traceability and cost allocation.

Charter Trip Costing

Link all trip expenses to charter flights: fuel, handling, catering, permits, and fees. View total costs, generate accurate invoices, and analyze profitability per trip.

Getting Started

Installation

  1. Requires SmartOps Flight Management and Odoo Purchase modules
  2. Install from Odoo Apps menu
  3. Flight and Aircraft fields appear on purchase orders
  4. Purchase smart buttons appear on flight and aircraft forms

Quick Start

1. Create Purchase Order: Navigate to Purchase > Purchase Orders > Create

2. Link to Flight: Select flight in the Flight field (aircraft auto-fills)

3. Add Products: Create purchase order lines as usual

4. View Services: Check flight record's Services tab to see linked services

Pro Tip

Use the "Collect Services" action on multiple flights to bulk import services from purchase orders. Select flights > Actions > Collect Services.

Ready to Unify Procurement and Operations?

Join aviation operators using Flight Purchase for complete cost visibility. Link purchases to flights and aircraft for accurate allocation, simplified billing, and powerful analytics.

GitHub github.com/smartops-aero/smartops-odoo-flight
Support support@apexive.com

Developed by Apexive Solutions LLC • License: OPL-1 • Version 18.0.1.0.0

Flight Purchase

Seamless purchase order integration for SmartOps Flight Management.

Overview

The Flight Purchase module bridges Odoo's Purchase Management with SmartOps Flight Management, enabling complete tracking of flight-related procurement. Link purchase orders to flights and aircraft, manage service lines, and maintain full visibility of operational costs.

This premium module is essential for aviation operators who need to track fuel, handling services, catering, maintenance parts, and other flight-related purchases with precision.

Features

Purchase Order Integration

  • Flight Linking: Associate purchase orders with specific flights
  • Aircraft Linking: Connect purchases to aircraft
  • Auto-Assignment: Aircraft auto-populates when flight is selected
  • Purchase Tracking: Count and view purchases from flight/aircraft records
  • Smart Buttons: Quick access to related purchase orders

Flight Service Management

  • Service Lines: Track individual services linked to flights
  • Purchase Integration: Connect services to purchase order lines
  • Mass Collection: Bulk import services from purchase orders
  • Aerodrome Assignment: Link services to specific airports
  • Status Tracking: Monitor purchase and invoice status

Data Protection

  • Lock Mechanism: Locked flights prevent service modifications
  • Audit Trail: Complete history of purchase-flight relationships
  • Unique Constraints: Prevent duplicate service entries
  • Data Integrity: Related field updates propagate automatically

Workflow Automation

  • Auto-Population: Aircraft fills from flight selection
  • Service Collection: One-click import of purchase order lines
  • Deduplication: Prevents adding duplicate services
  • Smart Filtering: Context-aware purchase order views

Models

purchase.order (Extended)

Extension of Odoo's purchase.order model:

New Fields:

  • flight_id: Many2one to flight.flight (with tracking)
  • aircraft_id: Many2one to flight.aircraft (with tracking)

Methods:

  • _onchange_flight_id(): Auto-populates aircraft_id when flight is selected

Behavior:

When a flight is selected on a purchase order, the aircraft is automatically filled from the flight's aircraft_id. Users can override this if purchasing for a different aircraft.

flight.flight (Extended)

Extension of flight.flight model:

New Fields:

  • purchase_count: Integer (computed)
  • service_line_ids: One2many to flight.service.line

Computed Fields:

  • purchase_count: Counts purchase orders where flight_id = current flight

Methods:

  • _compute_purchase_count(): Computes number of related purchase orders
  • action_view_purchases(): Opens filtered view of related purchases
  • action_collect_services(): Mass action to collect services from purchase orders

Action: Collect Services:

Mass action that:

  1. Finds all purchase orders linked to flight or aircraft
  2. Gets all purchase order lines from those orders
  3. Checks for existing service lines to avoid duplicates
  4. Creates new service lines for unlinked purchase order lines
  5. Returns notification with count of services added

flight.aircraft (Extended)

Extension of flight.aircraft model:

New Fields:

  • purchase_count: Integer (computed)

Methods:

  • _compute_purchase_count(): Counts purchase orders for aircraft
  • action_view_purchases(): Opens filtered view of aircraft purchases

flight.service.line (New Model)

New model linking purchase order lines to flights:

Fields:

  • flight_id: Many2one to flight.flight (required, cascade delete)
  • purchase_order_line_id: Many2one to purchase.order.line (required, restrict)
  • aerodrome_id: Many2one to flight.aerodrome
  • purchase_order_id: Related field from purchase_order_line_id
  • supplier_id: Related field from purchase_order_id
  • state: Related purchase order state
  • invoice_status: Related invoice status
  • product_id: Related product from purchase order line
  • description: Related description from purchase order line
  • quantity: Related product quantity
  • price_unit: Related unit price
  • price_subtotal: Related subtotal
  • currency_id: Related currency
  • aerodrome_icao: Related ICAO from aerodrome_id

Inheritance:

  • flight.lock.mixin: Locked flights prevent service line modifications

SQL Constraints:

  • Unique constraint on (flight_id, purchase_order_line_id) combination

Display Name:

Uses record ID as display name (_rec_name = "id")

Installation

Requirements

  • Odoo 16.0
  • SmartOps Flight Management module
  • Odoo Purchase Management module

Steps

  1. Install SmartOps Flight Management if not already installed
  2. Install Flight Purchase from Odoo Apps menu
  3. Purchase order forms will show Flight and Aircraft fields
  4. Flight and Aircraft forms will show purchase count smart buttons
  5. Flight forms will show Services tab

Configuration

No additional configuration required. The module works out of the box with existing flight and purchase order data.

Usage

Linking Purchases to Flights

Creating New Purchase Order:

  1. Navigate to Purchase > Orders > Purchase Orders
  2. Click Create
  3. Select supplier
  4. Select a Flight (optional)
  5. Aircraft auto-fills from flight (can be changed)
  6. Add purchase order lines
  7. Save and confirm

Editing Existing Purchase Order:

  1. Open an existing purchase order
  2. Add or change the Flight field
  3. Aircraft updates automatically
  4. Save changes

Viewing from Flight:

  1. Open a flight record
  2. Click the Purchases smart button
  3. See all related purchase orders
  4. Click Create to add new purchase with pre-filled flight/aircraft

Managing Flight Services

Manual Service Addition:

  1. Open a flight record
  2. Navigate to the Services tab
  3. Click Add a line
  4. Select a Purchase Order Line
  5. Assign Aerodrome if applicable
  6. Save the record

Mass Service Collection:

  1. Go to Flights > Flights
  2. Select one or multiple flights (checkbox)
  3. Click Actions > Collect Services
  4. System processes all selected flights:
    • Finds purchase orders linked to flight or aircraft
    • Creates service lines for unlinked purchase order lines
    • Skips duplicate service lines
    • Shows notification with results
  5. Review added services in Services tab

Service Line Details:

Service lines automatically display:

  • Purchase Order reference
  • Supplier
  • Product/Service
  • Description
  • Quantity and Unit Price
  • Subtotal and Currency
  • Purchase State
  • Invoice Status
  • Aerodrome (if assigned)

Viewing Related Purchases

From Flights:

Flight form view shows purchase count smart button. Click to:

  • View all purchase orders for that flight
  • Filter by purchase state
  • Create new purchases with flight pre-filled

From Aircraft:

Aircraft form view shows purchase count smart button. Click to:

  • View all purchase orders for that aircraft
  • Track maintenance and parts procurement
  • Analyze aircraft-specific spending

Use Cases

Fuel and Handling Services

Scenario: Charter operator books fuel and handling services for each flight leg.

Workflow:

  1. Create purchase order for fuel at departure aerodrome
  2. Link to flight
  3. Create purchase order for handling at arrival aerodrome
  4. Link to same flight
  5. Use "Collect Services" to import all services to flight
  6. Assign aerodromes to each service line
  7. Track total flight service costs

Benefits: Complete per-flight service cost tracking, vendor performance analysis, budget vs. actual comparison.

Catering and Supplies

Scenario: Aircraft management company orders catering and cabin supplies per flight.

Workflow:

  1. Create catering purchase order
  2. Link to flight
  3. Add passenger count and menu details in PO lines
  4. Confirm and receive
  5. Services automatically available on flight record
  6. Track catering costs per passenger

Benefits: Optimize catering spend, analyze vendor pricing, ensure service consistency.

Maintenance and Parts

Scenario: Maintenance performed on aircraft; parts purchased and tracked.

Workflow:

  1. Create purchase order for parts
  2. Link to aircraft (not specific flight)
  3. If parts used during specific flight, link to flight also
  4. View all maintenance purchases from aircraft record
  5. Track part usage by flight if applicable

Benefits: Complete aircraft maintenance history, cost tracking, regulatory compliance.

Charter Trip Costing

Scenario: Charter operator needs accurate per-trip costs for billing.

Workflow:

  1. Create flight record for charter trip
  2. Create purchase orders for all services: fuel, handling, catering, permits
  3. Link all purchases to the charter flight
  4. Use smart button to view total purchase costs
  5. Services tab shows itemized breakdown by aerodrome
  6. Generate invoice with markup

Benefits: Accurate cost allocation, transparent client billing, profitability analysis.

Best Practices

Purchase Order Management

  • Link Early: Associate purchases with flights at creation time
  • Use Aircraft: Link aircraft-wide purchases (maintenance) to aircraft only
  • Flight-Specific: Link trip-specific purchases (fuel, catering) to both flight and aircraft
  • Consistent Vendors: Maintain vendor relationships for pricing leverage

Service Line Organization

  • Assign Aerodromes: Always assign aerodrome to services when applicable
  • Regular Collection: Run "Collect Services" regularly to keep data current
  • Review Services: Periodically review service lines for accuracy
  • Lock Flights: Lock completed flights to protect service data

Cost Analysis

  • Track Trends: Monitor service costs over time
  • Compare Vendors: Analyze pricing across suppliers
  • Aerodrome Costs: Compare costs by airport
  • Budget Planning: Use historical data for accurate budgeting

Data Integrity

  • Locked Flights: Respect the lock mechanism—don't try to modify locked services
  • Duplicate Prevention: Review existing services before manual additions
  • Related Updates: Changes to PO lines update service lines automatically
  • Audit Trails: Use tracking fields to review change history

Technical Information

Dependencies

'depends': [
    'base',
    'purchase',
    'flight',
]

Security

Access rights defined in security/ir.model.access.csv:

  • Flight User: Read access to service lines
  • Flight Manager: Full CRUD access to service lines
  • Purchase User: Can link flights/aircraft to purchase orders

Views

Purchase Order Views:

  • Extended form view with flight_id and aircraft_id fields
  • Context passes default values when creating from flight

Flight Views:

  • Services tab in flight form view (One2many field)
  • Purchases smart button with purchase count
  • Services tree, form, and search views

Aircraft Views:

  • Purchases smart button with purchase count

Menu Structure:

Service lines accessible via flight form Services tab. No separate menu item needed.

Actions

action_view_purchases (flight.flight):

Returns action to view purchase orders filtered by flight_id.

action_view_purchases (flight.aircraft):

Returns action to view purchase orders filtered by aircraft_id.

action_collect_services (flight.flight):

Server action that processes selected flights and creates service lines from purchase orders. Returns notification with results.

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

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with