summaryrefslogtreecommitdiff
path: root/addons/mrp/static/src/js/mrp_document_kanban_view.js
blob: e4e936637b1a7d3af694a30002a0116ae81a124f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
odoo.define('mrp.MrpDocumentsKanbanView', function (require) {
"use strict";

const KanbanView = require('web.KanbanView');
const MrpDocumentsKanbanController = require('mrp.MrpDocumentsKanbanController');
const MrpDocumentsKanbanRenderer = require('mrp.MrpDocumentsKanbanRenderer');
const viewRegistry = require('web.view_registry');

const MrpDocumentsKanbanView = KanbanView.extend({
    config: Object.assign({}, KanbanView.prototype.config, {
        Controller: MrpDocumentsKanbanController,
        Renderer: MrpDocumentsKanbanRenderer,
    }),
});

viewRegistry.add('mrp_documents_kanban', MrpDocumentsKanbanView);

return MrpDocumentsKanbanView;

});