Commit a6c869d0 authored by Quentin Defenouillere's avatar Quentin Defenouillere Committed by Romain Bignon

[cragr] Corrected Account owner types with ASSO and AGRICULTEUR

parent 16401c24
......@@ -176,7 +176,8 @@ class AccountsPage(LoggedPage, JsonPage):
OWNER_TYPES = {
'PARTICULIER': AccountOwnerType.PRIVATE,
'PROFESSIONNEL': AccountOwnerType.ORGANIZATION,
'ASSOC_CA_MODERE': AccountOwnerType.ORGANIZATION,
'AGRICULTEUR': AccountOwnerType.ORGANIZATION,
'ASSOC_CA_MODERE': AccountOwnerType.ASSOCIATION,
}
return OWNER_TYPES.get(Dict('marche')(self.doc), NotAvailable)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment