IDEMPIERE-1453 Remove warning C_Tax_ID=0 for invoice description lines. Fixed regression "nll value in column "c_tax_id" violates not-null constraint"
This commit is contained in:
parent
bb789cebb4
commit
225dbae05d
|
@ -68,8 +68,9 @@ public class MInvoiceTax extends X_C_InvoiceTax
|
|||
return null;
|
||||
C_Tax_ID = ((Integer)old).intValue();
|
||||
}
|
||||
if (!line.isDescription() && C_Tax_ID == 0)
|
||||
if (C_Tax_ID == 0)
|
||||
{
|
||||
if (!line.isDescription())
|
||||
s_log.warning("C_Tax_ID=0");
|
||||
return null;
|
||||
}
|
||||
|
|
|
@ -69,8 +69,9 @@ public class MOrderTax extends X_C_OrderTax
|
|||
}
|
||||
C_Tax_ID = ((Integer)old).intValue();
|
||||
}
|
||||
if (!line.isDescription() && C_Tax_ID == 0)
|
||||
if (C_Tax_ID == 0)
|
||||
{
|
||||
if (!line.isDescription())
|
||||
s_log.fine("No Tax");
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue