Merge branch 'staging' into develop

This commit is contained in:
Ameya Shenoy
2018-10-11 06:58:53 +00:00
34 changed files with 9067 additions and 8801 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)