Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
849 Näkymät

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.

Avatar
Hylkää
Paras vastaus

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.

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
heinäk. 25
2197
4
elok. 25
3501
0
maalisk. 25
1458
3
tammik. 25
7969
2
tammik. 25
2699