# Disable by switch of reduc. percentance

**URL:** <https://www.dolibarr.org/forum/t/disable-by-switch-of-reduc-percentance/10548>\
**Category:** Using my Dolibarr\
**Created:** [February 28, 2014, 11:46pm UTC](https://www.dolibarr.org/forum/t/disable-by-switch-of-reduc-percentance/10548 "2014-02-28T23:46:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![special](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/s/a9a28c/32.png) [@special](https://www.dolibarr.org/forum/u/special)\
**Post date:** [February 28, 2014, 11:46pm UTC](https://www.dolibarr.org/forum/t/disable-by-switch-of-reduc-percentance/10548/1 "2014-02-28T23:46:51Z")

</div>

I was trying to find a way to disable the reduce function in orders but i got lost in the code.Is there any plan to make a choice if you want it or not in the order form?

---

<div class="post-metadata">

**Author:** ![HubZ](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/h/e79b87/32.png) [@HubZ](https://www.dolibarr.org/forum/u/HubZ)\
**Post date:** [March 7, 2014, 2:09pm UTC](https://www.dolibarr.org/forum/t/disable-by-switch-of-reduc-percentance/10548/2 "2014-03-07T14:09:25Z")

</div>

I’m not sure it will be planned to be a choice, but maybe as permissions it could be possible, check it in the users permissions, or you could create just “permissions” for your users not being able to reduce the price.

If so, you should try to “clone” in github an instance of Dolibarr and try to create permissions for “discount input button” , good luck :wink:

---

<div class="post-metadata">

**Author:** ![special](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/s/a9a28c/32.png) [@special](https://www.dolibarr.org/forum/u/special)\
**Post date:** [March 8, 2014, 11:06pm UTC](https://www.dolibarr.org/forum/t/disable-by-switch-of-reduc-percentance/10548/3 "2014-03-08T23:06:53Z")

</div>

HubZ wrote:

> [@](#):
>
> I’m not sure it will be planned to be a choice, but maybe as permissions it could be possible, check it in the users permissions, or you could create just “permissions” for your users not being able to reduce the price.
> 
> If so, you should try to “clone” in github an instance of Dolibarr and try to create permissions for “discount input button” , good luck :wink:

This could be great as i imagine this could be done also in the price box right?

It will be very pro if those 2 boxes where only for info without input as some sales are being altered by salesman.

I will be looking into it.Anyone has any clue where the code is?
