Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
La domanda è stata chiusa con motivazione: Non rilevante od obsoleto
da HECTOR MANUEL CUEVA ROSAS - 08/02/2024 13:00:01
1462 Visualizzazioni

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?



Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
gen 24
1443
0
ago 23
1203
1
mar 24
1075
0
dic 18
2859
1
apr 25
1367