Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
Запитання закрите для причини: Неактуальний або застарілий
by HECTOR MANUEL CUEVA ROSAS на 08.02.2024 13:00:01
1026 Переглядів

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?



Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
січ. 24
944
0
серп. 23
852
1
бер. 24
1075
0
груд. 18
2410
1
квіт. 25
792