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 44c09de commit a1a70bb
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 @@ -457,6 +457,7 @@ def update_ordered_qty_in_so_for_removed_items(self, removed_items):
)


@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 a1a70bb

Please sign in to comment.