Commit 34c44959 authored by Guillaume Risbourg's avatar Guillaume Risbourg Committed by Vincent A

capabilities/bank/transfer: Add new accepted_execution_frequencies to CapTransfer

It will be used to tell which transfer frequencies a module can handle.
parent f422b218
......@@ -339,6 +339,7 @@ class CapTransfer(Capability):
accepted_beneficiary_types = (BeneficiaryType.RECIPIENT, )
accepted_execution_date_types = (TransferDateType.FIRST_OPEN_DAY, TransferDateType.DEFERRED)
accepted_execution_frequencies = set(TransferFrequency) - set([TransferFrequency.UNKNOWN])
def iter_transfer_recipients(self, account):
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