Merge branch 'hotfix' into reports
This commit is contained in:
commit
1b5de63163
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")
|
@ -256,4 +256,5 @@ patch_list = [
|
|||||||
"patches.1311.p06_fix_report_columns",
|
"patches.1311.p06_fix_report_columns",
|
||||||
"execute:webnotes.delete_doc('DocType', 'Documentation Tool')",
|
"execute:webnotes.delete_doc('DocType', 'Documentation Tool')",
|
||||||
"execute:webnotes.delete_doc('Report', 'Stock Ledger') #2013-11-29",
|
"execute:webnotes.delete_doc('Report', 'Stock Ledger') #2013-11-29",
|
||||||
|
"patches.1312.p01_delete_old_stock_reports",
|
||||||
]
|
]
|
Loading…
Reference in New Issue
Block a user