This commit is contained in:
Faris Ansari 2018-07-20 18:16:31 +05:30
parent 5e096df5ae
commit b23d15fba9

View File

@ -271,7 +271,7 @@ def set_salary_components(docs):
def set_tax_withholding_category(docs, company):
accounts = []
tds_account = frappe.db.get_value("Account", filter={"account_type": "Payable",
tds_account = frappe.db.get_value("Account", filters={"account_type": "Payable",
"account_name": "TDS", "company": company})
if company and tds_account: