mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 10:49:09 +00:00
[fixes] reload doc after status update and supplier address fetching
This commit is contained in:
@@ -53,7 +53,7 @@ erpnext.utils.get_address_display = function(frm, address_field, display_field)
|
||||
if(frm.updating_party_details) return;
|
||||
|
||||
if(!address_field) {
|
||||
if(frm.doc.customer) {
|
||||
if(frm.doctype != "Purchase Order" && frm.doc.customer) {
|
||||
address_field = "customer_address";
|
||||
} else if(frm.doc.supplier) {
|
||||
address_field = "supplier_address";
|
||||
|
||||
Reference in New Issue
Block a user