İçereği Atla
Menü
Bu soru işaretlendi
Soru kapatıldı sebep: İlgili değil veya eski yazan HECTOR MANUEL CUEVA ROSAS tarihi 08-02-2024 13:00:01
1323 Görünümler

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Oca 24
1309
0
Ağu 23
1079
1
Mar 24
1075
0
Ara 18
2775
1
Nis 25
1248