Restrict "Validate" Button to Supervisors Only in Dolibarr

** Hello everyone,**

I’m using Dolibarr to manage customer orders.
Here’s my issue:
When a salesperson (commercial) creates an order, I want the “Validate” button to be hidden for them, and only the supervisor who needs to approve it should see the button.

:backhand_index_pointing_right: The problem is that I can’t find any user or group permission that disables just the “validate” action.

:wrench: Is there a way to hide the “Validate” button based on the user’s role (e.g., salesperson vs supervisor)? Maybe through a code condition, addon module, or an existing feature that I missed?

Thanks in advance for your help :folded_hands:

1 Like

I think you need some coding.

Vendor orders needs to be approved - perhaps that same code can be modified to support your workflow?

@Yassine the functionality you need is already included in Dolibarr:

Under home > setup > security you just need to switch on “Use the advanced permissions of some modules”.

You then have fine grained options for user permissions. So the permission to create an order can be different from the right to validate an order.

2 Likes