[FIX][T4845] fix error when creating invoice from a purchace order with more than one picking

Merged diego.barreto requested to merge T4845 into 15.0-prod

Merge request reports