perf: timeout while submitting the purchase receipt entry

(cherry picked from commit 1fa6233377)
This commit is contained in:
Rohit Waghchaure
2024-02-05 19:26:31 +05:30
committed by Mergify
parent 7923bd7964
commit 55a8326d06

View File

@@ -627,6 +627,7 @@ class PurchaseOrder(BuyingController):
update_sco_status(sco, "Closed" if self.status == "Closed" else None)
@frappe.request_cache
def item_last_purchase_rate(name, conversion_rate, item_code, conversion_factor=1.0):
"""get last purchase rate for an item"""