Merge pull request #24669 from deepeshgarg007/transaction_delete_fix

fix: Do not delete GST Accounts from GST Settings on clearing transactions from Company Master
This commit is contained in:
Deepesh Garg
2021-02-19 10:54:56 +05:30
committed by GitHub

View File

@@ -28,7 +28,7 @@ def delete_company_transactions(company_name):
"Party Account", "Employee", "Sales Taxes and Charges Template",
"Purchase Taxes and Charges Template", "POS Profile", "BOM",
"Company", "Bank Account", "Item Tax Template", "Mode Of Payment",
"Item Default", "Customer", "Supplier"):
"Item Default", "Customer", "Supplier", "GST Account"):
delete_for_doctype(doctype, company_name)
# reset company values