跳至內容
選單
此問題已被標幟
1 回覆
6168 瀏覽次數

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
5645
0
6月 16
4152
0
11月 19
86
0
4月 24
1699
1
9月 23
1876