fix(shipping-address-display): Fetch shipping address display as per the shipping address (#15643)

This commit is contained in:
Shreya Shah
2018-10-11 10:13:27 +05:30
committed by Nabin Hait
parent 1cb1074f6b
commit 2291323c65
3 changed files with 6 additions and 5 deletions

View File

@@ -69,7 +69,7 @@ class BuyingController(StockController):
# set contact and address details for supplier, if they are not mentioned
if getattr(self, "supplier", None):
self.update_if_missing(get_party_details(self.supplier, party_type="Supplier", ignore_permissions=self.flags.ignore_permissions,
doctype=self.doctype, company=self.company, party_address=self.supplier_address))
doctype=self.doctype, company=self.company, party_address=self.supplier_address, shipping_address=self.shipping_address))
self.set_missing_item_details(for_validate)