**Subject:** Reception allows receiving more than ordered (should be restricted)

Hello,
I found an issue when creating a supplier reception in Dolibarr. If I order 5 units, the system still allows me to receive 10 units without any error or warning. I believe Dolibarr should prevent receiving more than the ordered quantity.

I checked dispatch.php, but it doesn’t seem to block it properly.
Is there a setting or fix to strictly prevent over-receiving?

Thanks for your help!

Which Dolibarr version are you running?

This sounds like a good feature request, can you search here if someone has already posted something very similar, or else file a feature request

Since you already checked dispatch.php, perhaps you could even submit a Pull Request with a fix?

dollibar vr ?>20.0.3
php > 8.2.12

I find this to be a feature. My use case:

Sometimes I’ll have a difficult-to-manufacture part manufactured that has a yield. Some companies will guarantee a minimum number - but may ship more if the yield was higher than expected.

For example. One flexible PCB had a set of long delicate traces that don’t always pass. If I order Order 20 units but receive 30 because the expected yield was 50% they tried to make (at least) 40 before testing them.

Another example, a custom heating element had a pretty decent yield - I think it was 80%, which almost always means extra when the promised minimum is what I ordered.