Hello,
I modify a view like bellow:
local.ScKanbanGroup = instance.web_kanban.KanbanGroup.include({
init: function (parent, records, group, dataset) {
var self = this;
var res_user = new openerp.web.Model('res.users');
res_user.call('get_picking_type_ids', null)
.then(function (response) {
// generate new records array base on response
self._super(parent, newRecords, group, dataset);
});
}, ...
I need to pass 'newRecords' to the parent init function but what I get is TypeError: self._super is not a function.
Please help.
Thank you!