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
- Contabilità
- Magazzino
- PoS
- Project
- MRP
La domanda è stata contrassegnata
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.
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
RegistratiPost correlati | Risposte | Visualizzazioni | Attività | |
---|---|---|---|---|
|
0
apr 24
|
968 | ||
Unable to update PoS config
Risolto
|
|
1
mar 24
|
2234 | |
|
3
set 18
|
3718 | ||
|
0
mar 15
|
4069 | ||
|
2
dic 20
|
6731 |