Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
6167 Prikazi

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
Opusti
Best Answer

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
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
sep. 16
5645
0
jun. 16
4152
0
nov. 19
86
0
apr. 24
1699
1
sep. 23
1876