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

In Odoo 18, I have configured a payment terminal for the POS, my problem is that when the payment is generated a popup is displayed to enter the payment voucher number, but I would like to skip that popup, since that information is entered internally. I've searched the system files but I can't find what function activates that popup.

頭像
捨棄
最佳答案

Hi,

The voucher popup called from Java Script and you can find the code in below method which hold in l10n_cl_edi_pos enterprise app

validateOrder(isForceValidate)

JS file path:

l10n_cl_edi_pos\static\src\overrides\components\payment_screen\payment_screen.js

You need to override this method to hide the popup.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
7月 25
2171
4
8月 25
3464
0
3月 25
1437
3
1月 25
7757
2
1月 25
2643