added client side functions and mode_of_payment defaults

This commit is contained in:
Rushabh Mehta
2012-12-04 16:31:54 +05:30
parent 705fed3df9
commit bbd5ea32d1
6 changed files with 113 additions and 84 deletions

View File

@@ -96,6 +96,7 @@ cur_frm.cscript.lead_cust_show = function(doc,cdt,cdn){
cur_frm.cscript.customer = function(doc,dt,dn) {
if(doc.customer) {
cur_frm.call({
doc: cur_frm.doc,
method: "get_default_customer_address",
args: { customer: doc.customer },
callback: function(r) {