Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
4196 Vizualizări

I've added a button to the Tree view, and in the action method I want to get active_ids

ListController.include({

renderButtons: function () {
this._super.apply(this, arguments);
if (this.$buttons) {
this.$buttons.find('.o_export_payslip').click(this.proxy('export_payslip'));
}
},

export_payslip: function () {
var self = this
console.log(this)
self.do_action({
.......

});
}

});
Imagine profil
Abandonează
Autor Cel mai bun răspuns

I found it 

self.getSelectedIds()
Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
nov. 22
2875
0
oct. 22
82
2
sept. 21
7650
0
dec. 20
134
0
sept. 20
2629