From 74ec868968811119d5b53de98b611de24612759c Mon Sep 17 00:00:00 2001 From: Akhilesh Darjee Date: Mon, 14 Oct 2013 13:41:55 +0530 Subject: [PATCH] [fix] [minor] added for validate in buying controller --- controllers/buying_controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/buying_controller.py b/controllers/buying_controller.py index 25d76aa66d..1115b49677 100644 --- a/controllers/buying_controller.py +++ b/controllers/buying_controller.py @@ -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):