fix: check for tax rate (#24376)

This commit is contained in:
Jannat Patel 2021-01-28 12:25:15 +05:30 committed by GitHub
parent 5756bf50e6
commit 3914aca647
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -255,6 +255,7 @@ class Gstr1Report(object):
for item_code, tax_amounts in item_wise_tax_detail.items():
tax_rate = tax_amounts[0]
if tax_rate:
if cgst_or_sgst:
tax_rate *= 2
if parent not in self.cgst_sgst_invoices: