我已经创建了一种新的付款方式来付款。选择此付款选项时,将出现弹出窗口以从用户那里获取卡详细信息。这里我无法在输入字段中的详细信息中关键。(Ctrl V正在工作(。
我测试了odoo base弹出窗口小部件,例如 textInputPopupwidget 和 textiareapopupwidget 都无法正常工作,并且无法在值中关键。
任何解决方案。?
键盘在POS中的付款时间是块。因此,您需要覆盖两个
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