Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
Câu hỏi đã đóng với nguyên nhân: Không phù hợp hoặc quá cũ bởi HECTOR MANUEL CUEVA ROSAS trên 08/02/2024 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?



Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 1 24
1446
0
thg 8 23
1204
1
thg 3 24
1075
0
thg 12 18
2859
1
thg 4 25
1371