{
    "name": "Xenoptics Organization Chart",
    "version": "19.0.1.12.0",
    "summary": "Editable, drag-to-reorder company org chart (HR app)",
    "description": """
Core Odoo's own "Organizational Chart" widget (the smart button on an
employee's form) always lists direct reports alphabetically by name, with
no way to change that order -- for a real company this reshuffles people
into an order that doesn't match their actual seniority/precedence and
regularly confuses or upsets staff who expect to see themselves listed in
a specific spot.

This module adds a new, separate "Organization Chart" page (HR app
sidebar) showing the whole company as one manager/report tree (each
node's own children still ultimately sourced from hr.employee.parent_id,
untouched by this module), with a department filter to narrow the tree to
one department's own reporting line. Siblings under the same manager can
be dragged into any order HR wants; that per-manager order is stored on
the new xeno_org_sequence field and is purely cosmetic -- dragging never
changes anyone's actual manager (hr.employee.parent_id), only their
left-to-right position among their existing peers.
""",
    "author": "Xenoptics",
    "license": "LGPL-3",
    "category": "Human Resources",
    # hr_org_chart (core, LGPL-3) is what actually supplies the native
    # "Hierarchy" view type (web_hierarchy) wired onto the main Employees
    # list (hr.open_view_employee_list_my) and the Employee Directory
    # (hr.hr_employee_public_action) -- pulling it in here installs both
    # on the next upgrade of this module instead of duplicating that view
    # wiring ourselves.
    "depends": ["hr", "hr_org_chart", "xeno_leave"],
    "data": [
        "views/org_chart_menu.xml",
    ],
    "assets": {
        "web.assets_backend": [
            "xeno_org_chart/static/src/js/org_chart_action.js",
            "xeno_org_chart/static/src/xml/org_chart_templates.xml",
            "xeno_org_chart/static/src/scss/org_chart.scss",
        ],
        # Same bundle web_hierarchy/hr_org_chart load their own SCSS into --
        # loading after them here (this module depends on hr_org_chart) so
        # the plain-class override below wins the cascade without !important.
        "web.assets_backend_lazy": [
            "xeno_org_chart/static/src/scss/native_hierarchy.scss",
        ],
    },
    "installable": True,
    "application": False,
}
