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)
|
tot=flt(tot)+flt(d.total_tax_deposited)
|
||||||
|
|
||||||
self.doc.total_amount = flt(tot)
|
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() {
|
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);
|
me.form.set_values(r.message);
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@ -46,7 +46,7 @@ MyProfile = function(wrapper) {
|
|||||||
if(v) {
|
if(v) {
|
||||||
this.set_working();
|
this.set_working();
|
||||||
var btn = this;
|
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();
|
btn.done_working();
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@ -75,7 +75,7 @@ MyProfile = function(wrapper) {
|
|||||||
msgprint('Passwords must match'); return;
|
msgprint('Passwords must match'); return;
|
||||||
}
|
}
|
||||||
this.set_working();
|
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; }
|
if(!r.message && r.exc) { msgprint(r.exc); return; }
|
||||||
d.hide();
|
d.hide();
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user