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. Technical
  3. Flight JSON Widget v 18.0
  4. Sales Conditions FAQ

Flight JSON Widget

by Apexive Solutions LLC
Odoo
v 18.0 Third Party 3
Download for v 18.0 Deploy on Odoo.sh
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 22
Technical Name flight_json_widget
LicenseLGPL-3
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 22
Technical Name flight_json_widget
LicenseLGPL-3
  • Description
  • Documentation

Flight JSON Widget

Enhanced JSON field widget with pretty formatting and syntax highlighting for Odoo 18 backend

Pretty Formatting Syntax Highlighting OWL Framework Easy Integration

What It Does

Flight JSON Widget provides a custom Odoo widget for displaying JSON fields with beautiful syntax highlighting and proper formatting in the backend interface. Transform unreadable JSON data into clean, color-coded, formatted output.

Simply add the widget attribute to any JSON or Text field in your views, and enjoy automatic pretty-printing with proper indentation and color coding for keys, values, and punctuation.

Core Features

Pretty Formatting

Automatically formats JSON with proper indentation and structure. No more squinting at compressed JSON data.

Syntax Highlighting

Color-coded JSON elements for maximum readability. Keys, values, and punctuation are visually distinct.

Backend Integration

Works seamlessly in Odoo backend forms and views. Built using Odoo's OWL framework v2.

Easy Integration

Just add widget="flight_json" to any JSON or Text field. No model changes required.

How to Use

In Your XML Views:

Add the widget to any JSON or Text field containing JSON data:

<field name="json_data" widget="flight_json"/>
What You Get:
  • Automatic pretty-printing with proper indentation
  • Color coding for keys, values, and punctuation
  • Readable formatting in backend forms and views
  • Works with any JSON or Text field containing JSON data

Real-World Use Cases

API Response Data

Display API responses in a readable format for debugging and analysis

Configuration Data

Show JSON configuration data in an easy-to-read format for quick reference

Debug Information

Make debug data easier to read and understand during development

Flight Navigation Data

Display complex flight navigation data from flight_plan module in readable format

Example Output:
{
"waypoint": "KJFK",
"coordinates": {
"latitude": 40.6413,
"longitude": -73.7781
},
"altitude": 13
}

Compare this to compressed JSON: Much easier to read!

Quick Setup

  1. Install the module from Odoo Apps (requires web module)
  2. Widget is automatically available after installation
  3. Add widget="flight_json" to any JSON or Text field in your XML views
  4. That's it! Your JSON data will now display beautifully formatted

Technical Details

OWL Framework

Built using Odoo's OWL framework v2

ES Modules

Uses modern JavaScript module system

Backend Only

Designed for backend interface use

Lightweight

Minimal dependencies, fast loading

For Developers

The widget is a standard Odoo field widget that can be applied to any JSON or Text field containing JSON data. It provides automatic formatting without requiring changes to your models.

static/src/views/fields/flight_json/

Part of SmartOps Flight Suite

Essential widget used by flight_plan and other modules for displaying complex JSON data

Flight Plan Flight Core Any Module

Support & Documentation

Developed by Apexive Solutions LLC as part of the smartops.aero project

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

License: LGPL-3 • Version 18.0.1.0.0

Flight JSON Widget

Enhanced JSON field widget with pretty formatting for Odoo 18 backend.

Overview

Provides a custom Odoo widget for displaying JSON fields with syntax highlighting and proper formatting in the backend interface. Makes JSON data readable and easier to work with.

Features

  • Pretty Formatting: Automatically formats JSON with proper indentation
  • Syntax Highlighting: Color-coded JSON elements for readability
  • Backend Widget: Works in Odoo backend forms and views
  • Easy Integration: Simply add widget="flight_json" to JSON fields

Installation

  1. Install from Odoo Apps menu
  2. Requires: web module
  3. Widget is automatically available after installation

Usage

In Your Models

Add the widget to any JSON or Text field in your XML views:

<field name="json_data" widget="flight_json"/>

Viewing JSON Data

  • JSON fields with the widget display formatted and highlighted
  • Automatic pretty-printing with indentation
  • Color coding for keys, values, and punctuation

Module Structure

flight_json_widget/
└── static/src/
    └── views/fields/flight_json/
        ├── flight_json.js    # Widget JavaScript implementation
        └── flight_json.xml   # Widget template

Use Cases

  • API Data: Display API responses in readable format
  • Configuration: Show JSON configuration data
  • Debug Information: Make debug data easier to read
  • Flight Data: Display complex flight navigation data (used by flight_plan)

Technical Details

  • OWL Framework: Built using Odoo's OWL framework v2
  • ES Modules: Uses modern JavaScript module system
  • Backend Only: Designed for backend interface
  • Lightweight: Minimal dependencies, fast loading

For Developers

The widget is a standard Odoo field widget that can be applied to any JSON or Text field containing JSON data. It provides automatic formatting without requiring changes to your models.

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

  • 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, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
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