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
commit 811ff5c397
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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