[patches] [fix] replace sync with reload_doc in old patches

This commit is contained in:
Anand Doshi
2013-05-16 15:28:19 +05:30
parent bfc18ea6c4
commit 4221814131
17 changed files with 32 additions and 50 deletions

View File

@@ -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')