Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
คำถามนี้ถูกปิดแล้ว เนื่องจาก: ไม่มีความเกี่ยวข้องหรือล้าสมัย โดย HECTOR MANUEL CUEVA ROSAS เมื่อ 08/02/2024 13:00:01
1491 มุมมอง

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
1457
0
ส.ค. 23
1222
1
มี.ค. 24
1075
0
ธ.ค. 18
2872
1
เม.ย. 25
1387