Merge branch 'develop' into feature/FastPickingSpedizione

This commit is contained in:
2025-02-24 15:31:40 +01:00
2 changed files with 4 additions and 3 deletions

View File

@@ -552,7 +552,8 @@ public class PickingLiberoViewModel {
askQuantities(pickedAarts.iterator(), destNewMtbColr, () -> {
if (!destNewMtbColr.isEmpty()) {
destNewMtbColr.forEach(x -> x.setCodJcom(this.mDefaultCommessa.getCodJcom()));
if(this.mDefaultCommessa != null)
destNewMtbColr.forEach(x -> x.setCodJcom(this.mDefaultCommessa.getCodJcom()));
MtbColt clonedTestata = (MtbColt) sourceMtbColt.clone();
clonedTestata.getMtbColr().clear();