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