[fix] [minor] added for validate in buying controller
This commit is contained in:
parent
7837827e30
commit
74ec868968
@ -30,7 +30,7 @@ class BuyingController(StockController):
|
||||
super(BuyingController, self).set_missing_values(for_validate)
|
||||
|
||||
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
|
||||
if self.doc.supplier and not (self.doc.contact_person and self.doc.supplier_address):
|
||||
|
Loading…
Reference in New Issue
Block a user