mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 19:59:12 +00:00
[fix] [minor] added for validate in buying controller
This commit is contained in:
@@ -30,7 +30,7 @@ class BuyingController(StockController):
|
|||||||
super(BuyingController, self).set_missing_values(for_validate)
|
super(BuyingController, self).set_missing_values(for_validate)
|
||||||
|
|
||||||
self.set_supplier_from_item_default()
|
self.set_supplier_from_item_default()
|
||||||
self.set_price_list_currency("Buying")
|
self.set_price_list_currency("Buying", for_validate)
|
||||||
|
|
||||||
# set contact and address details for supplier, if they are not mentioned
|
# set contact and address details for supplier, if they are not mentioned
|
||||||
if self.doc.supplier and not (self.doc.contact_person and self.doc.supplier_address):
|
if self.doc.supplier and not (self.doc.contact_person and self.doc.supplier_address):
|
||||||
|
|||||||
Reference in New Issue
Block a user