[Fixes] Tax withholding category and Bank Guarantee (#14576)

* Fetch withheld percentage

* Set query for accounts on the basis of company

* Fix bank guarantee error on submit

* Remove errors caused by fields which are removed
This commit is contained in:
Shreya Shah
2018-06-19 10:46:41 +05:30
committed by Nabin Hait
parent cbff30f718
commit 97124e92fa
5 changed files with 22 additions and 8 deletions

View File

@@ -284,8 +284,7 @@ def set_tax_withholding_category(docs, company):
{
'doctype': 'Tax Withholding Category', '__newname': 'TDS',
'percent_of_tax_withheld': 10,'threshold': 150000, 'book_on_invoice': 1,
'book_on_advance': 0, "withhold_cumulative_tax_amount": 0,
'accounts': accounts
'withhold_cumulative_tax_amount': 0, 'accounts': accounts
}
])