Merge pull request #39742 from rohitwaghchaure/fixed-performance-issue-9247

perf: timeout while submitting the purchase receipt entry
This commit is contained in:
rohitwaghchaure 2024-02-05 21:01:17 +05:30 committed by GitHub
commit 1bfbbfe393
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -645,6 +645,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"""