Skip to content

Commit

Permalink
Update simple_subscription/simple_subscription/doctype/simple_subscri…
Browse files Browse the repository at this point in the history
…ption_item/simple_subscription_item.py

Co-authored-by: Raffael Meyer <[email protected]>
  • Loading branch information
HenningWendtland and barredterra authored Sep 16, 2024
1 parent 9f0c110 commit 3921263
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,4 @@ def current_description(self):

@property
def item_name(self):
item = frappe.get_doc("Item", self.item)
return item.item_name
return frappe.db.get_value("Item", self.item, "item_name")

0 comments on commit 3921263

Please sign in to comment.