Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 1533 |
Technical Name |
json_editor_widget |
License | LGPL-3 |
Website | https://www.ylhctec.com |
Versions | 17.0 18.0 |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 1533 |
Technical Name |
json_editor_widget |
License | LGPL-3 |
Website | https://www.ylhctec.com |
Versions | 17.0 18.0 |
JSON Editor Widget - Generic JSON Editor Component
Making JSON Data Editing Simple and Efficient
Module Overview
JSON Editor Widget is a generic JSON editor component specifically designed for Odoo 18, providing powerful and flexible JSON data editing capabilities. This component can be easily integrated into any Odoo form view, supporting schema-based structured editing to make complex JSON data management simple and intuitive.
Whether you need to edit configuration files, API parameters, product attributes, or any other JSON formatted data, this component provides you with a professional-grade editing experience.
Core Features
ð¯ Schema-Driven Editing
Supports structured editing defined by JSON Schema, ensuring data format correctness and consistency, reducing input errors
ð¨ Bootstrap 4 Theme
Perfectly integrates with Odoo interface design, providing consistent user experience with responsive layout support
ð Color Picker
Built-in color selection functionality supporting multiple color formats, making color configuration simple and intuitive
ð Collapsible Sections
Supports folding and expanding of nested objects, optimizing the editing experience for large JSON data
âï¸ Backend Configuration
Schema can be dynamically configured from the backend, adapting to different business needs without modifying frontend code
ð§ High Versatility
Can be used in any scenario requiring JSON editing, supporting various data types and complex nested structures
Demo Screenshot

Usage
Using the JSON editor component in form views is very simple:
<field name="json_field" widget="json_editor_widget" options="{'schema': schema_dict}"/>
Where schema_dict is the JSON Schema dictionary you define in the backend, used to define the structure and validation rules of JSON data.
Schema Example:
schema = { "type": "object", "properties": { "name": {"type": "string", "title": "Name"}, "age": {"type": "integer", "title": "Age"}, "email": {"type": "string", "format": "email", "title": "Email"}, "color": {"type": "string", "format": "color", "title": "Color"} } }
Use Cases
- Product Configuration Management: Manage complex product attributes and specification parameters
- System Settings: Edit system configuration files and parameters
- API Interface Configuration: Manage third-party API request parameters
- Report Templates: Define dynamic report formats and parameters
- Workflow Configuration: Set complex business process parameters
- Permission Management: Configure fine-grained permission control rules
Technical Requirements
- Odoo 18.0 or higher
- Dependencies: base, web
- Browser Support: Modern browsers (Chrome, Firefox, Safari, Edge)
Technical Support
- Detailed installation and configuration guidance
- Custom Schema design recommendations
- Integration issue solutions
- Performance optimization suggestions
- Custom development services
Please log in to comment on this module