mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-19 13:09:17 +00:00
[merge]
This commit is contained in:
@@ -75,12 +75,17 @@ $.extend(erpnext.complete_setup, {
|
||||
if(!data) return;
|
||||
$(this).set_working();
|
||||
$c_obj('Setup Control','setup_account',data,function(r, rt){
|
||||
sys_defaults = r.message;
|
||||
user_fullname = r.message.user_fullname;
|
||||
wn.boot.user_info[user].fullname = user_fullname;
|
||||
d.hide();
|
||||
$('header').toggle(true);
|
||||
wn.container.wntoolbar.set_user_name();
|
||||
if(!r.exc) {
|
||||
sys_defaults = r.message;
|
||||
user_fullname = r.message.user_fullname;
|
||||
wn.boot.user_info[user].fullname = user_fullname;
|
||||
d.hide();
|
||||
$('header').toggle(true);
|
||||
wn.container.wntoolbar.set_user_name();
|
||||
|
||||
setTimeout(function() { window.location.reload(); }, 3000);
|
||||
}
|
||||
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ var get_filters = function(){
|
||||
"fieldname":"period",
|
||||
"label": "Period",
|
||||
"fieldtype": "Select",
|
||||
"options": ["Monthly", "Quarterly", "Half-yearly", "Yearly"].join("\n"),
|
||||
"options": ["Monthly", "Quarterly", "Half-Yearly", "Yearly"].join("\n"),
|
||||
"default": "Monthly"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ var get_filters = function(){
|
||||
"fieldname":"period",
|
||||
"label": "Period",
|
||||
"fieldtype": "Select",
|
||||
"options": ["Monthly", "Quarterly", "Half-yearly", "Yearly"].join("\n"),
|
||||
"options": ["Monthly", "Quarterly", "Half-Yearly", "Yearly"].join("\n"),
|
||||
"default": "Monthly"
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user