mirror of
https://github.com/OCA/bank-statement-import.git
synced 2025-01-20 12:37:43 +02:00
[MIG][15.0] port-forward pr522,527 to 15.0
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
odoo.define("account_statement_import.dashboard.kanban", function (require) {
|
||||
"use strict";
|
||||
|
||||
var viewRegistry = require("web.view_registry");
|
||||
var KanbanView = require("web.KanbanView");
|
||||
|
||||
var AccountDashboardView = viewRegistry.get("account_dashboard_kanban");
|
||||
// Value can be undefined on some test scenarios. Avoid an error by checking if it is defined
|
||||
@@ -17,6 +19,11 @@ odoo.define("account_statement_import.dashboard.kanban", function (require) {
|
||||
});
|
||||
},
|
||||
});
|
||||
AccountDashboardView = KanbanView.extend({
|
||||
config: _.extend({}, KanbanView.prototype.config, {
|
||||
Controller: AccountDashboardController,
|
||||
}),
|
||||
});
|
||||
return {
|
||||
AccountDashboardView: AccountDashboardView,
|
||||
AccountDashboardController: AccountDashboardController,
|
||||
|
||||
Reference in New Issue
Block a user