Override max discount allowed based on roles - Items

Hello everyone,

I was thinking about new feature (or let me know if exists) to the framework / ERPNext. The issue i have is that the Items can have a maximium percent of discount, where the Item can’t be sell it with a discount greater than the maximium value specified.

I want that an specific Role with more privilages can be able to sell it no matter the amount of discount they want to apply.

This can be applied in a lot of circunstances.

Feature not available for now. Please create a Github Issue for it. We could link it with the Credit Controlled Role which is always available for the Credit Limit and Days,

Done https://github.com/frappe/erpnext/issues/9774