Fix for supplier quotation (#15659)
This commit is contained in:
parent
a16f0f4423
commit
314c97cbf1
@ -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, shipping_address=self.shipping_address))
|
||||
doctype=self.doctype, company=self.company, party_address=self.supplier_address, shipping_address=self.get('shipping_address')))
|
||||
|
||||
self.set_missing_item_details(for_validate)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user