fix: Ignore customer and supplier while deleting company transactions (#24279)

* fix: Ignore customer and supplier while deleting company transactions

* fix: Test cases fixed based on Travis
This commit is contained in:
Nabin Hait
2021-01-05 09:23:39 +05:30
committed by GitHub
parent a245f667d0
commit 517fd8b9e6
4 changed files with 20 additions and 19 deletions

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"):
"Item Default", "Customer", "Supplier"):
delete_for_doctype(doctype, company_name)
# reset company values