fix: Test Case

(cherry picked from commit 342658ea70)
This commit is contained in:
Deepesh Garg
2022-01-02 18:39:59 +05:30
committed by mergify-bot
parent cf4cac05ab
commit 9a32bb6b51

View File

@@ -1213,7 +1213,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='_Test Fiscal Year 2021')
fiscal_year = get_fiscal_year(date=nowdate())
if not frappe.db.get_value('Tax Withholding Rate',
{'parent': 'TDS - 194 - Dividends - Individual', 'from_date': ('>=', fiscal_year[1]),