Skip to content

Commit

Permalink
perf: timeout while submitting the purchase receipt entry
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitwaghchaure committed Feb 5, 2024
1 parent da0ad3b commit 1fa6233
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 @@ -640,6 +640,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 1fa6233

Please sign in to comment.