mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-29 18:04:46 +00:00
[patches] [fix] removed blog reload
This commit is contained in:
@@ -1,11 +0,0 @@
|
|||||||
from __future__ import unicode_literals
|
|
||||||
def execute():
|
|
||||||
"""allocate read write permission to guest for doctype 'Blog'"""
|
|
||||||
import webnotes
|
|
||||||
webnotes.conn.sql("""delete from `tabDocPerm` where parent = 'Blog'""")
|
|
||||||
|
|
||||||
webnotes.conn.commit()
|
|
||||||
|
|
||||||
webnotes.reload_doc('website', 'doctype', 'blog')
|
|
||||||
|
|
||||||
webnotes.conn.begin()
|
|
||||||
@@ -3,9 +3,7 @@ def execute():
|
|||||||
import webnotes
|
import webnotes
|
||||||
|
|
||||||
# sync doctypes required for the patch
|
# sync doctypes required for the patch
|
||||||
webnotes.reload_doc('website', 'doctype', 'web_cache')
|
|
||||||
webnotes.reload_doc('website', 'doctype', 'web_page')
|
webnotes.reload_doc('website', 'doctype', 'web_page')
|
||||||
webnotes.reload_doc('website', 'doctype', 'blog')
|
|
||||||
webnotes.reload_doc('website', 'doctype', 'website_settings')
|
webnotes.reload_doc('website', 'doctype', 'website_settings')
|
||||||
webnotes.reload_doc('stock', 'doctype', 'item')
|
webnotes.reload_doc('stock', 'doctype', 'item')
|
||||||
|
|
||||||
|
|||||||
@@ -74,7 +74,6 @@ patch_list = [
|
|||||||
"patches.july_2012.auth_table",
|
"patches.july_2012.auth_table",
|
||||||
"patches.july_2012.remove_event_role_owner_match",
|
"patches.july_2012.remove_event_role_owner_match",
|
||||||
"patches.july_2012.deprecate_bulk_rename",
|
"patches.july_2012.deprecate_bulk_rename",
|
||||||
"patches.july_2012.blog_guest_permission",
|
|
||||||
"patches.july_2012.bin_permission",
|
"patches.july_2012.bin_permission",
|
||||||
"patches.july_2012.project_patch_repeat",
|
"patches.july_2012.project_patch_repeat",
|
||||||
"patches.july_2012.repost_stock_due_to_wrong_packing_list",
|
"patches.july_2012.repost_stock_due_to_wrong_packing_list",
|
||||||
|
|||||||
Reference in New Issue
Block a user