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

Dear All,

I have developed new popup window that will come while selecting payment method , now i want to given number input in the input column how can i give number input in popup window. I used  this.$('.cell').text(amount); is not working.

Avatar
Buang
Jawaban Terbai

keyboard are block at payment time in POS . So You need to override both

this.keyboard_handler = function(event){
var key = '';
            if (event.type === "keypress") {
                if($(".your popup div class").not('.oe_hidden').length){
                    return;
                }

              rest of code......
};

and 

this.keyboard_keydown_handler = function(event){
            if($(".your popup div class").not('.oe_hidden').length){
                return;
            }
     rest of code......
};

Thanks


Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Sep 16
5818
0
Jun 16
4343
0
Nov 19
86
0
Apr 24
1938
1
Sep 23
2042