mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-17 08:35:00 +00:00
fixes in web cache
This commit is contained in:
@@ -75,6 +75,7 @@ def load_into_web_cache(page_name, template, doc_type, doc_name):
|
||||
|
||||
# save html in web cache
|
||||
webnotes.conn.begin()
|
||||
clear_web_cache(doc_type, doc_name, page_name)
|
||||
webnotes.conn.set_value('Web Cache', page_name, 'html', html)
|
||||
webnotes.conn.commit()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user