mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 10:49:09 +00:00
Freezing Error fixed in purchase invoice
This commit is contained in:
@@ -66,7 +66,7 @@ cur_frm.cscript.supplier = function(doc,dt,dn) {
|
|||||||
get_server_fields('get_default_values', args, 'entries', doc, el[i].doctype, el[i].name, 1);
|
get_server_fields('get_default_values', args, 'entries', doc, el[i].doctype, el[i].name, 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
cur_frm.cscript.calc_total(doc);
|
cur_frm.cscript.calc_amount(doc, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(doc.supplier) get_server_fields('get_default_supplier_address', JSON.stringify({supplier: doc.supplier}),'', doc, dt, dn, 1,callback);
|
if(doc.supplier) get_server_fields('get_default_supplier_address', JSON.stringify({supplier: doc.supplier}),'', doc, dt, dn, 1,callback);
|
||||||
|
|||||||
Reference in New Issue
Block a user