跳至内容
菜单
此问题已终结
该问题已被关闭 原因: 不相关或过时
HECTOR MANUEL CUEVA ROSAS2024年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?



形象
丢弃
相关帖文 回复 查看 活动
0
1月 24
941
0
8月 23
848
1
3月 24
1075
0
12月 18
2407
1
4月 25
784