diff --git a/erpnext/buying/doctype/purchase_order/purchase_order.py b/erpnext/buying/doctype/purchase_order/purchase_order.py index 372e8d3082d..a021690d234 100644 --- a/erpnext/buying/doctype/purchase_order/purchase_order.py +++ b/erpnext/buying/doctype/purchase_order/purchase_order.py @@ -38,7 +38,7 @@ class PurchaseOrder(BuyingController): super(PurchaseOrder, self).onload() self.set_onload('disable_fetch_last_purchase_rate', - cint(frappe.db.get_single_value("Buying Settings", "disable_fetch_last_purchase_rate"))) + cint(frappe.db.get_single_value("Buying Settings", "disable_fetch_last_purchase_rate"))) def validate(self): super(PurchaseOrder, self).validate()