Fix su refMtbColr

This commit is contained in:
Giuseppe Scorrano 2021-09-23 11:41:32 +02:00
parent 4a884b92ad
commit a9164109da

View File

@ -742,7 +742,9 @@ public class SpedizioneViewModel {
this.sendFilterApplied(null); this.sendFilterApplied(null);
this.getPickingList().postValue(pickingList); this.getPickingList().postValue(pickingList);
} else { } else {
this.dispatchOrdineRow(matchedItem, matchedItem.getRefMtbColt(), matchedItem.getRefMtbColt().getMtbColr().get(0), false); MtbColt refMtbColt = matchedItem.getRefMtbColt();
MtbColr refMtbColr = refMtbColt != null ? matchedItem.getRefMtbColt().getMtbColr().get(0) : null;
this.dispatchOrdineRow(matchedItem, refMtbColt, refMtbColr, false);
} }
} else { } else {