mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-05 14:38:26 +00:00
[demo] [minor] Started make_demo.py
This commit is contained in:
@@ -28,7 +28,8 @@ class DocType:
|
||||
|
||||
def setup_account(self, args):
|
||||
import webnotes, json
|
||||
args = json.loads(args)
|
||||
if isinstance(args, basestring):
|
||||
args = json.loads(args)
|
||||
webnotes.conn.begin()
|
||||
|
||||
self.update_profile_name(args)
|
||||
|
||||
Reference in New Issue
Block a user