mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 11:19:09 +00:00
[patches] [fix] replace sync with reload_doc in old patches
This commit is contained in:
@@ -27,5 +27,4 @@ def execute():
|
||||
doc.save()
|
||||
webnotes.conn.commit()
|
||||
webnotes.conn.begin()
|
||||
import webnotes.model.sync
|
||||
webnotes.model.sync.sync('core', 'custom_script')
|
||||
webnotes.reload_doc('core', 'doctype', 'custom_script')
|
||||
Reference in New Issue
Block a user