Skip to content

Commit

Permalink
fix display of seller name on invoices
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Aug 24, 2024
1 parent 1f07f41 commit 668a9be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions auctions/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1847,10 +1847,10 @@ def location(self):
@property
def seller_name(self):
"""Full name of the seller of this lot"""
if self.user:
return self.user.first_name + " " + self.user.last_name
if self.auctiontos_seller:
return self.auctiontos_seller.name
if self.user:
return self.user.first_name + " " + self.user.last_name
return "Unknown"

@property
Expand Down

0 comments on commit 668a9be

Please sign in to comment.