mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 11:19:09 +00:00
Merge branch 'master' of github.com:webnotes/erpnext
This commit is contained in:
@@ -32,7 +32,10 @@ def set_user_details(arg=None):
|
|||||||
from webnotes.model.doc import Document
|
from webnotes.model.doc import Document
|
||||||
|
|
||||||
p = Document('Profile', webnotes.user.name)
|
p = Document('Profile', webnotes.user.name)
|
||||||
p.fields.update(load_json(arg))
|
arg_dict = load_json(arg)
|
||||||
|
if not 'bio' in arg_dict: arg_dict['bio'] = None
|
||||||
|
if not 'last_name' in arg_dict: arg_dict['last_name'] = None
|
||||||
|
p.fields.update(arg_dict)
|
||||||
p.save()
|
p.save()
|
||||||
webnotes.msgprint('Updated')
|
webnotes.msgprint('Updated')
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ cur_frm.pformat.grand_total_export = function(doc) {
|
|||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|
||||||
cur_frm.pformat.round_total_export = function(doc) {
|
cur_frm.pformat.rounded_total_export = function(doc) {
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user