跳至内容
菜单
此问题已终结
1 回复
6663 查看

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.

形象
丢弃
最佳答案

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


形象
丢弃
相关帖文 回复 查看 活动
1
9月 16
6083
0
6月 16
4713
0
11月 19
86
0
4月 24
2334
1
9月 23
2426