IDEMPIERE-1453 Remove warning C_Tax_ID=0 for invoice description lines

This commit is contained in:
Nicolas Micoud 2013-10-25 14:10:50 -05:00
parent fae720a6dd
commit 29ca2c5c9c
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;