Locking Shipment to Invoice

I have 2 branches, My staff are increasing stock shipment when validating the shipment to steal from the company. I have installed and configure lock shipment to stock, still it didnt stop it.

I will appreciate if anyone can recommend solution to this loophole.

Thank you

I’m not sure a software solution would work when the issue is theft.

What if you detected that there is a difference in qty in order and shipment?

but then what would you do?

I got this module " lock ahipment to invoice" yet you could still manually change the items to ship somtimes.

okay, maybe talk to the maker of that module.

But I think there might be another way to at least detect it.

Whenever someone validates a shipment, have Dolibarr do a trigger or webhook that runs some code that compares the shipment stock to the order stock and if different, it can email a manager that can ask the employee what happened.

But I don’t know any such code.