changed module link of event_updates and my_company to home
This commit is contained in:
parent
5c520b6090
commit
b2e8f0c132
@ -98,9 +98,3 @@ class DocType:
|
||||
tot=flt(tot)+flt(d.total_tax_deposited)
|
||||
|
||||
self.doc.total_amount = flt(tot)
|
||||
|
||||
# on update
|
||||
def on_update(self):
|
||||
obj = get_obj('Feed Control', 'Feed Control')
|
||||
|
||||
obj.make_feed(self.doc)
|
||||
|
@ -23,7 +23,7 @@ MyProfile = function(wrapper) {
|
||||
}
|
||||
|
||||
this.load_details = function() {
|
||||
$c_page('event_updates','profile_settings','get_user_details','',function(r, rt) {
|
||||
$c_page('home','profile_settings','get_user_details','',function(r, rt) {
|
||||
me.form.set_values(r.message);
|
||||
})
|
||||
}
|
||||
@ -46,7 +46,7 @@ MyProfile = function(wrapper) {
|
||||
if(v) {
|
||||
this.set_working();
|
||||
var btn = this;
|
||||
$c_page('event_updates','profile_settings','set_user_details',v,function(r, rt) {
|
||||
$c_page('home','profile_settings','set_user_details',v,function(r, rt) {
|
||||
btn.done_working();
|
||||
})
|
||||
}
|
||||
@ -75,7 +75,7 @@ MyProfile = function(wrapper) {
|
||||
msgprint('Passwords must match'); return;
|
||||
}
|
||||
this.set_working();
|
||||
$c_page('event_updates','profile_settings','change_password',v,function(r,rt) {
|
||||
$c_page('home','profile_settings','change_password',v,function(r,rt) {
|
||||
if(!r.message && r.exc) { msgprint(r.exc); return; }
|
||||
d.hide();
|
||||
})
|
||||
@ -112,4 +112,4 @@ pscript.user_image_upload = function(fid) {
|
||||
pscript.myprofile.change_dialog.hide();
|
||||
set_user_img(pscript.myprofile.img, user, null, fid);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user