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:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
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.
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
0
thg 4 24
|
1002 | ||
Unable to update PoS config
Đã xử lý
|
|
1
thg 3 24
|
2267 | |
|
3
thg 9 18
|
3755 | ||
|
0
thg 3 15
|
4113 | ||
|
2
thg 12 20
|
6798 |