Merge pull request #10195 from scmmishra/log-patch-fix
fix: reload doc in web tracking patch
This commit is contained in:
commit
3d9a6bbd1d
1 changed files with 1 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import frappe
|
||||
|
||||
def execute():
|
||||
frappe.reload_doctype('Web Page View')
|
||||
frappe.reload_doc('website', 'doctype', 'web_page_view', force=True)
|
||||
frappe.db.sql("""UPDATE `tabWeb Page View` set path="/" where path=''""")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue