Fix null su picking senza gestione giacenza
This commit is contained in:
parent
725372befe
commit
089ca061a7
@ -795,7 +795,7 @@ public class SpedizioneViewModel {
|
|||||||
MtbColt refMtbColt = matchedItem.getRefMtbColt();
|
MtbColt refMtbColt = matchedItem.getRefMtbColt();
|
||||||
if (matchedItem.getMtbColts() != null && matchedItem.getMtbColts().size() == 1) {
|
if (matchedItem.getMtbColts() != null && matchedItem.getMtbColts().size() == 1) {
|
||||||
refMtbColt = matchedItem.getMtbColts().get(0);
|
refMtbColt = matchedItem.getMtbColts().get(0);
|
||||||
} else if (matchedItem.getTempPickData().getSourceMtbColt() != null) {
|
} else if (matchedItem.getTempPickData() != null && matchedItem.getTempPickData().getSourceMtbColt() != null) {
|
||||||
refMtbColt = matchedItem.getTempPickData().getSourceMtbColt();
|
refMtbColt = matchedItem.getTempPickData().getSourceMtbColt();
|
||||||
}
|
}
|
||||||
MtbColr refMtbColr = refMtbColt != null ? refMtbColt.getMtbColr().get(0) : null;
|
MtbColr refMtbColr = refMtbColt != null ? refMtbColt.getMtbColr().get(0) : null;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user