Skip to content
Snippets Groups Projects
Verified Commit 6fad47f4 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Fix returning invoice item as PurchasedItem

parent 3a33fc04
No related branches found
No related tags found
No related merge requests found
...@@ -190,7 +190,7 @@ class InvoiceItem(ExtensibleModel): ...@@ -190,7 +190,7 @@ class InvoiceItem(ExtensibleModel):
) )
def as_purchased_item(self): def as_purchased_item(self):
yield PurchasedItem( return PurchasedItem(
name=self.description, name=self.description,
quantity=1, quantity=1,
price=self.price, price=self.price,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment