Skip to content

Commit

Permalink
perf: timeout while submitting the purchase receipt entry
Browse files Browse the repository at this point in the history
(cherry picked from commit 1fa6233)
  • Loading branch information
rohitwaghchaure authored and mergify[bot] committed Feb 5, 2024
1 parent 7923bd7 commit 55a8326
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions erpnext/buying/doctype/purchase_order/purchase_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,7 @@ def update_subcontracting_order_status(self):
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"""

Expand Down

0 comments on commit 55a8326

Please sign in to comment.