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,9 +68,10 @@ 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)
|
||||
{
|
||||
s_log.warning("C_Tax_ID=0");
|
||||
if (!line.isDescription())
|
||||
s_log.warning("C_Tax_ID=0");
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
|
@ -69,9 +69,10 @@ 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)
|
||||
{
|
||||
s_log.fine("No Tax");
|
||||
if (!line.isDescription())
|
||||
s_log.fine("No Tax");
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue