mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-06 05:39:12 +00:00
[patches] [fix] replace sync with reload_doc in old patches
This commit is contained in:
@@ -25,5 +25,4 @@ def execute():
|
||||
|
||||
webnotes.conn.commit()
|
||||
webnotes.conn.begin()
|
||||
import webnotes.model.sync
|
||||
webnotes.model.sync.sync('setup', 'notification_control')
|
||||
webnotes.reload_doc('setup', 'doctype', 'notification_control')
|
||||
Reference in New Issue
Block a user