Hi, how to disable button disc on module point of sale on odoo12? thanks.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- ลูกค้าสัมพันธ์
- e-Commerce
- ระบบบัญชี
- สินค้าคงคลัง
- PoS
- Project
- MRP
คำถามนี้ถูกตั้งค่าสถานะ
Hi,
Using through code you can disable the discount button in the POS
var screens = require('point_of_sale.screens');
screens.ActionButtonWidget.include({
button_click: function () {
if (this.button_data.action === 'discount') {
// Disable the action for the Discount button
return;
}
this._super.apply(this, arguments);
},
});
Regards
You can disable the button element in HTML by adding the disabled attribute to the element. The disabled attribute is a boolean attribute that allows you to disable an element, making the element unusable from the browser.
Greetings,
Peter
You can achieve mention feature by purchasing third party application from Odoo Apps Store. Many of them are free with this feature.
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อRelated Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
---|---|---|---|---|
|
0
เม.ย. 24
|
996 | ||
Unable to update PoS config
แก้ไขแล้ว
|
|
1
มี.ค. 24
|
2257 | |
|
3
ก.ย. 18
|
3740 | ||
|
0
มี.ค. 15
|
4099 | ||
|
2
ธ.ค. 20
|
6789 |