[FIX] project: project_graph and project_pivot components
During the refactoring of the project_graph and project_pivot views, their static key "components" were incorectly set making impossible for OWL to render them. This is now fixed. closes odoo/odoo#76065 Related: odoo/enterprise#20647 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
This commit is contained in:
committed by
Aaron Bohy
parent
7545913020
commit
acf222be06
@@ -7,6 +7,6 @@ import { registry } from "@web/core/registry";
|
||||
const viewRegistry = registry.category("views");
|
||||
|
||||
class ProjectGraphView extends GraphView {}
|
||||
ProjectGraphView.components = { ...GraphView, ControlPanel: ProjectControlPanel };
|
||||
ProjectGraphView.components = { ...GraphView.components, ControlPanel: ProjectControlPanel };
|
||||
|
||||
viewRegistry.add("project_graph", ProjectGraphView);
|
||||
|
||||
@@ -7,6 +7,6 @@ import { registry } from "@web/core/registry";
|
||||
const viewRegistry = registry.category("views");
|
||||
|
||||
class ProjectPivotView extends PivotView {}
|
||||
ProjectPivotView.components = { ...PivotView, ControlPanel: ProjectControlPanel };
|
||||
ProjectPivotView.components = { ...PivotView.components, ControlPanel: ProjectControlPanel };
|
||||
|
||||
viewRegistry.add("project_pivot", ProjectPivotView);
|
||||
|
||||
Reference in New Issue
Block a user