Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
6643 Visualizações

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
Cancelar
Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
set. 16
6068
0
jun. 16
4702
0
nov. 19
86
0
abr. 24
2322
1
set. 23
2420