[REF] crm_iap_lead: adapt code after jQuery update
Part of task 1896658 Co-authored-by: Aaron Bohy <aab@odoo.com> Co-authored-by: Christophe Matthieu <chm@odoo.com> Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com> Co-authored-by: David Monjoie <dmo@odoo.com> Co-authored-by: Martin Geubelle <mge@odoo.com> Co-authored-by: svs-odoo <svs@odoo.com> Co-authored-by: Vincent Schippefilt <vsc@odoo.com>
This commit is contained in:
committed by
Aaron Bohy
co-authored by
Aaron Bohy
Christophe Matthieu
Mathieu Duckerts-Antoine
David Monjoie
Martin Geubelle
svs-odoo
parent
095c28c854
commit
6c6db64bf4
@@ -34,7 +34,7 @@ odoo.define('crm.leads.tree', function (require) {
|
||||
self.buttons_template = 'LeadMiningRequestListView.buttons';
|
||||
}
|
||||
});
|
||||
return $.when(this._super.apply(this, arguments), ready);
|
||||
return Promise.all([this._super.apply(this, arguments), ready]);
|
||||
},
|
||||
renderButtons: function () {
|
||||
this._super.apply(this, arguments);
|
||||
@@ -57,7 +57,7 @@ odoo.define('crm.leads.tree', function (require) {
|
||||
self.buttons_template = 'LeadMiningRequestKanbanView.buttons';
|
||||
}
|
||||
});
|
||||
return $.when(this._super.apply(this, arguments), ready);
|
||||
return Promise.all([this._super.apply(this, arguments), ready]);
|
||||
},
|
||||
renderButtons: function () {
|
||||
this._super.apply(this, arguments);
|
||||
|
||||
Reference in New Issue
Block a user