IDEMPIERE-4189 skip empty product anyway to avoid null pointer exceptions;
This commit is contained in:
parent
5952da8f97
commit
71138cdef9
|
@ -298,6 +298,10 @@ public class InOutGenerate extends SvrProcess
|
||||||
createLine (order, line, toDeliver, null, false);
|
createLine (order, line, toDeliver, null, false);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
if (product == null)
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
// Stored Product
|
// Stored Product
|
||||||
String MMPolicy = product.getMMPolicy();
|
String MMPolicy = product.getMMPolicy();
|
||||||
|
|
Loading…
Reference in New Issue