콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
3 답글
1650 화면

Hi, how to disable button disc on module point of sale on odoo12? thanks.

아바타
취소
베스트 답변

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

아바타
취소
베스트 답변

Hi Ananda Khairum Nur Fajr

You can achieve mention feature by purchasing third party application from Odoo Apps Store. Many of them are free with this feature.

아바타
취소
관련 게시물 답글 화면 활동
0
4월 24
1036
1
3월 24
2311
3
9월 18
3806
0
3월 15
4160
2
12월 20
6826