Fix typo in attribute name

This commit is contained in:
Raphael Michel
2024-04-19 17:34:27 +02:00
parent 595aff0579
commit 159658ae46

View File

@@ -539,7 +539,7 @@ class BadgeExporter(BaseExporter):
resolved_company=Case(
When(company__ne='', then='company'),
When(addon_to__company__isnull=False, addon_to__company__ne='',
then='addon_to__company_cached'),
then='addon_to__company'),
default=Value(""),
)
).order_by('resolved_company', 'order__code')