This commit handles the adaptation of any component using the search model's 'action' and/or 'view' key, now replaced by the environment keys 'actionContext' and 'viewContext'. Affected modules are: - base_import - board - crm - google_spreadsheet - project X-original-commit: 40f1ae87e1436192a70a8a7432eb72d379cfa6dc Part-of: odoo/odoo#77463
13 lines
420 B
JavaScript
13 lines
420 B
JavaScript
/** @odoo-module **/
|
|
|
|
import { ProjectControlPanel } from "@project/project_control_panel/project_control_panel";
|
|
import { registry } from "@web/core/registry";
|
|
import { PivotView } from "@web/views/pivot/pivot_view";
|
|
|
|
const viewRegistry = registry.category("views");
|
|
|
|
class ProjectPivotView extends PivotView {}
|
|
ProjectPivotView.ControlPanel = ProjectControlPanel;
|
|
|
|
viewRegistry.add("project_pivot", ProjectPivotView);
|