Use correct class
This commit is contained in:
parent
903fee4db1
commit
f1a7958f03
1 changed files with 1 additions and 1 deletions
|
@ -1184,7 +1184,7 @@ class InvoiceDetailView(LoginRequiredMixin, DetailView):
|
||||||
else:
|
else:
|
||||||
logger.error("User does not have permission to access")
|
logger.error("User does not have permission to access")
|
||||||
invoice_obj = None
|
invoice_obj = None
|
||||||
except HostingOrder.DoesNotExist:
|
except MonthlyHostingBill.DoesNotExist:
|
||||||
logger.debug("MHB not found for id {invoice_id}".format(
|
logger.debug("MHB not found for id {invoice_id}".format(
|
||||||
invoice_id=invoice_id
|
invoice_id=invoice_id
|
||||||
))
|
))
|
||||||
|
|
Loading…
Reference in a new issue