mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-04 20:59:11 +00:00
[patch] [minor] deleted old stock ledger and stock ageing page
This commit is contained in:
0
patches/1312/__init__.py
Normal file
0
patches/1312/__init__.py
Normal file
11
patches/1312/p01_delete_old_stock_reports.py
Normal file
11
patches/1312/p01_delete_old_stock_reports.py
Normal file
@@ -0,0 +1,11 @@
|
||||
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
|
||||
# License: GNU General Public License v3. See license.txt
|
||||
|
||||
def execute():
|
||||
import webnotes, os
|
||||
|
||||
webnotes.delete_doc('Page', 'stock-ledger')
|
||||
webnotes.delete_doc('Page', 'stock-ageing')
|
||||
|
||||
os.system("rm -rf app/stock/page/stock_ledger")
|
||||
os.system("rm -rf app/stock/page/stock_ageing")
|
||||
Reference in New Issue
Block a user