Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
To pytanie zostało zamknięte z powodu: niezwiązane z tematem lub nieaktualne
przez HECTOR MANUEL CUEVA ROSAS na 08.02.2024 13:00:01

I am working on a module making something when any change happens in the product grid in the POS screen 

this is my code 

/** @odoo-module **/
const ProductScreen = require('point_of_sale.ProductScreen');
const Registries = require('point_of_sale.Registries');
const { Gui } = require('point_of_sale.Gui');


export const ChangePOSGrid = (ProductScreen) =>
class extends ProductScreen {
//@override
async _onClickPay() {
console.log('Code here');
}
}
Registries.Component.extend(ProductScreen, ChangePOSGrid);

In this code, I already catch the Pay Button click event
but I need to catch the product list change event

how to do this can anyone help me?



Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
sty 24
1324
0
sie 23
1103
1
mar 24
1075
0
gru 18
2784
1
kwi 25
1260