addons/hr_timesheet/static/src/views/timesheet_graph/timesheet_graph_view.js
raw| 1 | import { registry } from "@web/core/registry"; |
| 2 | import { graphView } from "@web/views/graph/graph_view"; |
| 3 | import { hrTimesheetGraphModel } from "./timesheet_graph_model"; |
| 4 | |
| 5 | const viewRegistry = registry.category("views"); |
| 6 | |
| 7 | export const hrTimesheetGraphView = { |
| 8 | ...graphView, |
| 9 | Model: hrTimesheetGraphModel, |
| 10 | }; |
| 11 | |
| 12 | viewRegistry.add("hr_timesheet_graphview", hrTimesheetGraphView); |