Limit quantity of items that can be returned in the same picking
Before this PR:
User can return any amount of products in picking return. Even if this amount is more tha initial amount in the original picking.
After this PR:
if user tries to return bigger qty ot a product than it was in the original picking ValidationError is raised. This includes quantities already returned.
This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖
Limit quantity of items that can be returned in the same picking
Before this PR:
User can return any amount of products in picking return. Even if this amount is more tha initial amount in the original picking.
After this PR:
if user tries to return bigger qty ot a product than it was in the original picking ValidationError is raised. This includes quantities already returned.