mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-09 16:12:53 +00:00
merged deprecate account balance
This commit is contained in:
12
patches/september_2012/deprecate_account_balance.py
Normal file
12
patches/september_2012/deprecate_account_balance.py
Normal file
@@ -0,0 +1,12 @@
|
||||
import webnotes
|
||||
from webnotes.model import delete_doc
|
||||
|
||||
def execute():
|
||||
# remove doctypes
|
||||
for dt in ["Period", "Account Balance", "Multi Ledger Report",
|
||||
"Multi Ledger Report Detail", "Period Control", "Reposting Tool",
|
||||
"Lease Agreement", "Lease Installment"]:
|
||||
delete_doc("DocType", dt)
|
||||
|
||||
# remove search criteria
|
||||
delete_doc("Search Criteria", "Trial Balance")
|
||||
Reference in New Issue
Block a user