mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-16 11:39:18 +00:00
added web clear patch
This commit is contained in:
6
patches/february_2013/p07_clear_web_cache.py
Normal file
6
patches/february_2013/p07_clear_web_cache.py
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
import webnotes
|
||||||
|
|
||||||
|
def execute():
|
||||||
|
from website.utils import clear_cache
|
||||||
|
clear_cache()
|
||||||
|
|
||||||
@@ -186,4 +186,5 @@ patch_list = [
|
|||||||
"execute:webnotes.delete_doc('DocType', 'Service Order Detail')",
|
"execute:webnotes.delete_doc('DocType', 'Service Order Detail')",
|
||||||
"execute:webnotes.delete_doc('DocType', 'Service Quotation Detail')",
|
"execute:webnotes.delete_doc('DocType', 'Service Quotation Detail')",
|
||||||
"patches.february_2013.p06_material_request_mappers",
|
"patches.february_2013.p06_material_request_mappers",
|
||||||
|
"patches.february_2013.p07_clear_web_cache"
|
||||||
]
|
]
|
||||||
Reference in New Issue
Block a user