IDEMPIERE-1453 Remove warning C_Tax_ID=0 for invoice description lines
This commit is contained in:
parent
fae720a6dd
commit
29ca2c5c9c
|
@ -68,7 +68,7 @@ public class MInvoiceTax extends X_C_InvoiceTax
|
|||
return null;
|
||||
C_Tax_ID = ((Integer)old).intValue();
|
||||
}
|
||||
if (C_Tax_ID == 0)
|
||||
if (!line.isDescription() && C_Tax_ID == 0)
|
||||
{
|
||||
s_log.warning("C_Tax_ID=0");
|
||||
return null;
|
||||
|
|
|
@ -69,7 +69,7 @@ public class MOrderTax extends X_C_OrderTax
|
|||
}
|
||||
C_Tax_ID = ((Integer)old).intValue();
|
||||
}
|
||||
if (C_Tax_ID == 0)
|
||||
if (!line.isDescription() && C_Tax_ID == 0)
|
||||
{
|
||||
s_log.fine("No Tax");
|
||||
return null;
|
||||
|
|
Loading…
Reference in New Issue