mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-08 15:42:52 +00:00
[patches] [fix] replace sync with reload_doc in old patches
This commit is contained in:
@@ -6,7 +6,6 @@ def execute():
|
||||
where parent in ('Address', 'Contact')""")
|
||||
webnotes.conn.commit()
|
||||
|
||||
import webnotes.model.sync
|
||||
webnotes.model.sync.sync('utilities', 'address')
|
||||
webnotes.model.sync.sync('utilities', 'contact')
|
||||
webnotes.reload_doc('utilities', 'doctype', 'address')
|
||||
webnotes.reload_doc('utilities', 'doctype', 'contact')
|
||||
webnotes.conn.begin()
|
||||
Reference in New Issue
Block a user