- ID
- 8f497901-564a-4875-b319-c6fdfd995d28
MMPY-505 Update to subdivison requirements
- source :: https://multimediallc.atlassian.net/browse/MMPY-505
- tags :: Falcon Nest Project Story Falcon Nest Project
- epic :: MMPY-276 API Validations for all Payout Methods to add accounts
- sprint :: MM Sprint 26 MM Sprint 27 MM Sprint 28
- status :: Status - Complete
Background
In https://multimediallc.atlassian.net/browse/MMPY-294 in order to support the fact that IBAN.com does not return a subdivision for banks, we removed the required on the subdivision for the address model
We need to update the address mixin:
#+begin_src python
self.fields["subdivision"] = SubdivisionChoiceField(country_code=country_code, required=True)
#+end_src
to
#+begin_src python
self.fields["subdivision"] = SubdivisionChoiceField(country_code=country_code, required=False)
#+end_src
The front end also requires a subdivision currently, if this behavior changes based on the above, we will create a follow on card.
Requirements
DONE Test out how to make subdivision optional so you can create an ACH account
- ID
- f944dc8c-0575-e8e1-28dc-c094f5bf030d
DONE Make subdivision optional for BankAccount serializer
- ID
- 427823e9-8b3e-f263-5e8d-2912986eee7a
DONE Fix all the broken tests
- ID
- 2f61d11f-0ac6-d078-9949-ddb183ee3ea2