https://github.com/odoo/o-spreadsheet/commit/277a39f7 [IMP] chart: smart chart 2.0 at chart insertion https://github.com/odoo/o-spreadsheet/commit/12b66acb [IMP] Helpers: export `isDefined` https://github.com/odoo/o-spreadsheet/commit/ae0e8d9e [FIX] selection: Altering selection should scroll the viewport https://github.com/odoo/o-spreadsheet/commit/fbf3155d [FIX] cell overflow: align left with merges https://github.com/odoo/o-spreadsheet/commit/028c38ec [REF] models: separate ui plugins in three concepts https://github.com/odoo/o-spreadsheet/commit/13f1975c [FIX] format: translate content closes odoo/odoo#106389 Related: odoo/enterprise#34327 Signed-off-by: Rémi Rahir (rar) <rar@odoo.com>
41 lines
1.7 KiB
JavaScript
41 lines
1.7 KiB
JavaScript
/** @odoo-module */
|
|
|
|
/**
|
|
* This file is meant to load the different subparts of the module
|
|
* to guarantee their plugins are loaded in the right order
|
|
*
|
|
* dependency:
|
|
* other plugins
|
|
* |
|
|
* ...
|
|
* |
|
|
* filters
|
|
* /\ \
|
|
* / \ \
|
|
* pivot list Odoo chart
|
|
*/
|
|
|
|
/** TODO: Introduce a position parameter to the plugin registry in order to load them in a specific order */
|
|
import spreadsheet from "@spreadsheet/o_spreadsheet/o_spreadsheet_extended";
|
|
const { corePluginRegistry, coreViewsPluginRegistry } = spreadsheet.registries;
|
|
|
|
import { GlobalFiltersCorePlugin, GlobalFiltersUIPlugin } from "@spreadsheet/global_filters/index";
|
|
import { PivotCorePlugin, PivotUIPlugin } from "@spreadsheet/pivot/index"; // list depends on filter for its getters
|
|
import { ListCorePlugin, ListUIPlugin } from "@spreadsheet/list/index"; // pivot depends on filter for its getters
|
|
import {
|
|
ChartOdooMenuPlugin,
|
|
OdooChartCorePlugin,
|
|
OdooChartUIPlugin,
|
|
} from "@spreadsheet/chart/index"; // Odoochart depends on filter for its getters
|
|
|
|
corePluginRegistry.add("OdooGlobalFiltersCorePlugin", GlobalFiltersCorePlugin);
|
|
corePluginRegistry.add("OdooPivotCorePlugin", PivotCorePlugin);
|
|
corePluginRegistry.add("OdooListCorePlugin", ListCorePlugin);
|
|
corePluginRegistry.add("odooChartCorePlugin", OdooChartCorePlugin);
|
|
corePluginRegistry.add("chartOdooMenuPlugin", ChartOdooMenuPlugin);
|
|
|
|
coreViewsPluginRegistry.add("OdooGlobalFiltersUIPlugin", GlobalFiltersUIPlugin);
|
|
coreViewsPluginRegistry.add("OdooPivotUIPlugin", PivotUIPlugin);
|
|
coreViewsPluginRegistry.add("OdooListUIPlugin", ListUIPlugin);
|
|
coreViewsPluginRegistry.add("odooChartUIPlugin", OdooChartUIPlugin);
|