تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
لقد تم إغلاق هذا السؤال والسبب: لا علاقة له أو قديم
بواسطة HECTOR MANUEL CUEVA ROSAS في 08 فبراير, 2024 01:00:01
1481 أدوات العرض

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?



الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
يناير 24
1450
0
أغسطس 23
1214
1
مارس 24
1075
0
ديسمبر 18
2863
1
أبريل 25
1380