IDEMPIERE-3530 Doc_Inventory.createFacts does not respect !line.isAcive() but MInventory.completeIt does. Posting fails.
This commit is contained in:
parent
8385b79f0a
commit
fbb260a1ea
|
@ -107,6 +107,9 @@ public class Doc_Inventory extends Doc
|
||||||
for (int i = 0; i < lines.length; i++)
|
for (int i = 0; i < lines.length; i++)
|
||||||
{
|
{
|
||||||
MInventoryLine line = lines[i];
|
MInventoryLine line = lines[i];
|
||||||
|
if (!line.isActive())
|
||||||
|
continue;
|
||||||
|
|
||||||
String docSubTypeInv;
|
String docSubTypeInv;
|
||||||
if (Util.isEmpty(parentDocSubTypeInv)) {
|
if (Util.isEmpty(parentDocSubTypeInv)) {
|
||||||
// IDEMPIERE-675: for backward compatibility - to post old documents that could have subtypeinv empty
|
// IDEMPIERE-675: for backward compatibility - to post old documents that could have subtypeinv empty
|
||||||
|
|
Loading…
Reference in New Issue