Skip to Content
Menu
This question has been flagged
The question has been closed priežastis: not relevant or out dated
by HECTOR MANUEL CUEVA ROSAS nuo 2024-02-08 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?



Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
saus. 24
941
0
rugp. 23
848
1
kov. 24
1075
0
gruod. 18
2407
1
bal. 25
784