Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
Die Frage wurde geschlossen aus dem folgenden Grund: Nicht relevant oder veraltet
von HECTOR MANUEL CUEVA ROSAS zu 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?



Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
0
Jan. 24
940
0
Aug. 23
847
1
März 24
1075
0
Dez. 18
2407
1
Apr. 25
784