mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-06 15:00:27 +00:00
added client side functions and mode_of_payment defaults
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user