mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-22 14:39:19 +00:00
fix: Test Case
(cherry picked from commit 342658ea70)
# Conflicts:
# erpnext/accounts/doctype/purchase_invoice/test_purchase_invoice.py
This commit is contained in:
committed by
mergify-bot
parent
466e549842
commit
4b6217a683
@@ -1236,7 +1236,11 @@ def check_gl_entries(doc, voucher_no, expected_gle, posting_date):
|
|||||||
def update_tax_witholding_category(company, account):
|
def update_tax_witholding_category(company, account):
|
||||||
from erpnext.accounts.utils import get_fiscal_year
|
from erpnext.accounts.utils import get_fiscal_year
|
||||||
|
|
||||||
|
<<<<<<< HEAD
|
||||||
fiscal_year = get_fiscal_year(fiscal_year='2021')
|
fiscal_year = get_fiscal_year(fiscal_year='2021')
|
||||||
|
=======
|
||||||
|
fiscal_year = get_fiscal_year(date=nowdate())
|
||||||
|
>>>>>>> 342658ea70 (fix: Test Case)
|
||||||
|
|
||||||
if not frappe.db.get_value('Tax Withholding Rate',
|
if not frappe.db.get_value('Tax Withholding Rate',
|
||||||
{'parent': 'TDS - 194 - Dividends - Individual', 'from_date': ('>=', fiscal_year[1]),
|
{'parent': 'TDS - 194 - Dividends - Individual', 'from_date': ('>=', fiscal_year[1]),
|
||||||
|
|||||||
Reference in New Issue
Block a user