Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
4103 Tampilan

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({
.......

});
}

});
Avatar
Buang
Penulis Jawaban Terbai

I found it 

self.getSelectedIds()
Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Nov 22
2819
0
Okt 22
82
2
Sep 21
7561
0
Des 20
134
0
Sep 20
2572