calculate TDS on Sales Invoice Amount

This commit is contained in:
Saurabh
2018-05-12 17:42:20 +05:30
parent 3b4a6be4d0
commit b9d3385fec
7 changed files with 153 additions and 48 deletions

View File

@@ -240,7 +240,7 @@ def set_tax_withholding_category(docs, company):
def set_tds_account(docs, company):
docs.extend([
{
'doctype': 'Account', 'account_name': 'TDS', 'account_type': 'Payable',
'parent_account': 'Accounts Payable', 'company': company
'doctype': 'Account', 'account_name': 'TDS', 'account_type': 'Tax',
'parent_account': 'Duties and Taxes', 'company': company
}
])