mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 11:19:09 +00:00
@@ -1697,7 +1697,8 @@ def update_tax_witholding_category(company, account):
|
|||||||
)
|
)
|
||||||
=======
|
=======
|
||||||
if not frappe.db.get_value('Tax Withholding Rate',
|
if not frappe.db.get_value('Tax Withholding Rate',
|
||||||
{'parent': 'TDS - 194 - Dividends - Individual', 'fiscal_year': fiscal_year[0]}):
|
{'parent': 'TDS - 194 - Dividends - Individual', 'from_date': ('>=', fiscal_year[1]),
|
||||||
|
'to_date': ('<=', fiscal_year[2])}):
|
||||||
tds_category = frappe.get_doc('Tax Withholding Category', 'TDS - 194 - Dividends - Individual')
|
tds_category = frappe.get_doc('Tax Withholding Category', 'TDS - 194 - Dividends - Individual')
|
||||||
tds_category.append('rates', {
|
tds_category.append('rates', {
|
||||||
'from_date': fiscal_year[1],
|
'from_date': fiscal_year[1],
|
||||||
|
|||||||
Reference in New Issue
Block a user