Demo video: Org Chart
Overview
The to_org_chart module introduces a new visualization mode in Odoo: Org Chart View, similar to existing views such as List, Kanban, Form, or Graph. With Org Chart View, other modules can display hierarchical data structures, making it easier to visualize relationships between different entities.
Main Features
- Add Org Chart View to Odoo
- Can be used as a view type in other modules.
- Support hierarchical data display
- Ideal for showing parent-child relationships between records.
- Seamless view switching
- Easily switch between List, Kanban, Form, and Org Chart views.
- Interactive Org Chart
- Click on nodes to open the detailed form view of the corresponding record.
- Customizable display options
- Allows users to adjust the layout and display settings as needed.
Technical Features
- Extends `ir.ui.view` to support the `"org"` view type
- Enables other modules to define and use Org Chart View.
- Integrated with `ir.actions.act_window.view`
- Allows other modules to call and use the Org Chart View seamlessly.
- Provides a JavaScript renderer for Org Chart
- Supports customization for different use cases.
- Supports dynamic domain, context, and group_by
- Enables filtering and grouping data similarly to other Odoo views.
- Customizable CSS and JavaScript
- Developers can modify the Org Chart display to suit specific requirements.
Benefits
- Provides a more visual way to explore data
- Helps users understand hierarchical relationships without scanning long lists.
- Easy integration into other modules
- Developers can quickly add Org Chart View to their modules without building from scratch.
- Expands Odoo’s data visualization capabilities
- Suitable for displaying hierarchical relationships such as organization structures, product hierarchies, customer relations, etc.
- Fully customizable for specific needs
- Developers can define how the Org Chart is displayed based on their module’s requirements.
Target Users
- Odoo Developers
- Need to integrate organizational charts into their modules.
- Odoo Implementation Partners
- Want to provide an additional interactive visualization option for their clients.
- Businesses using Odoo that require hierarchical data representation
- Helps manage and track organizational structures and data relationships efficiently.
Supported Editions
- Community Edition
- Enterprise Edition
Installation
- Navigate to Apps.
- Search with keyword to_org_chart.
- Press Install.
Instruction
- In the OKR App, navigate to the OKR Node menu to access the existing Objectives and Key Results list.
- Select the Org Chart view to change the OKR nodes list view to the organizational chart view.
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.