Invoice address: Make Peppol required in Belgium if available (Z#23220397) (#5808)

* Invoice address: Make Peppol required in Belgium if available (Z#23220397)

* Fix failing test, remove template bit that's now impossible
This commit is contained in:
Raphael Michel
2026-01-26 09:52:06 +01:00
committed by GitHub
parent 5e97f668a5
commit c84bd4046d
7 changed files with 21 additions and 18 deletions

View File

@@ -109,7 +109,7 @@ def address_form(request):
for t in get_transmission_types():
if t.is_available(event=event, country=country, is_business=is_business):
result = {"name": str(t.public_name), "code": t.identifier}
if t.exclusive:
if t.is_exclusive(event=event, country=country, is_business=is_business):
info["transmission_types"] = [result]
break
else: