IDEMPIERE-4189 skip empty product anyway to avoid null pointer exceptions;

This commit is contained in:
mschnbeck 2020-01-23 12:13:22 +01:00 committed by Carlos Ruiz
parent 5952da8f97
commit 71138cdef9
1 changed files with 4 additions and 0 deletions

View File

@ -298,6 +298,10 @@ public class InOutGenerate extends SvrProcess
createLine (order, line, toDeliver, null, false);
continue;
}
if (product == null)
{
continue;
}
// Stored Product
String MMPolicy = product.getMMPolicy();