def METHOD_NAME(self):
    overdue_invoice = get_overdue_invoice(self.domain)
    context = {'show_overdue_invoice_modal': overdue_invoice is not None}
    if overdue_invoice:
        days_overdue = (date.today() - overdue_invoice.date_due).days
        context['invoice_month'] = overdue_invoice.date_start.strftime('%B %Y')
        context['days_until_downgrade'] = max(1, 61 - days_overdue)
    return context