Set company address while making invoice from SO, don't show taxes in print if amount is zero, fixed state code

This commit is contained in:
Nabin Hait
2017-07-12 15:45:32 +05:30
parent c1a1e62c0d
commit 0a32b7a6eb
7 changed files with 33 additions and 15 deletions

View File

@@ -559,7 +559,7 @@ class calculate_taxes_and_totals(object):
item_tax[item_code][tax.name] = [tax_rate, tax_amount]
else:
item_tax[item_code][tax.name] = [cstr(flt(tax_data, tax_rate_precision)) + "%", ""]
item_tax[item_code][tax.name] = [cstr(flt(tax_data, tax_rate_precision)) + "%", "0.00"]
tax_accounts.append([tax.name, tax.account_head])
return item_tax, tax_accounts