IDEMPIERE-2391:none tax make callout CalloutInvoiceBatch rise NPE when calculator

This commit is contained in:
hieplq 2015-01-09 11:15:25 +07:00
parent cf30ef3581
commit 921064745d
1 changed files with 2 additions and 0 deletions

View File

@ -387,6 +387,8 @@ public class CalloutInvoiceBatch extends CalloutEngine
}
}
if (TaxAmt == null)
TaxAmt = BigDecimal.ZERO;
//
if (IsTaxIncluded)
{