Skip to content

Commit

Permalink
fix: Update fiscal year
Browse files Browse the repository at this point in the history
  • Loading branch information
deepeshgarg007 committed Sep 14, 2021
1 parent 0b07107 commit ca2420f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1207,7 +1207,7 @@ def check_gl_entries(doc, voucher_no, expected_gle, posting_date):
def update_tax_witholding_category(company, account):
from erpnext.accounts.utils import get_fiscal_year

fiscal_year = get_fiscal_year(fiscal_year='2021')
fiscal_year = get_fiscal_year(fiscal_year='_Test Fiscal Year 2021')

if not frappe.db.get_value('Tax Withholding Rate',
{'parent': 'TDS - 194 - Dividends - Individual', 'from_date': ('>=', fiscal_year[1]),
Expand Down

0 comments on commit ca2420f

Please sign in to comment.