Do not raise error if CORE equity payment not found in rattail
This commit is contained in:
parent
95cd77c7fb
commit
7a18dc20ce
|
@ -345,6 +345,10 @@ class MemberEquityPaymentImporter(FromCOREPOS, corepos_importing.model.MemberEqu
|
|||
if len(matches) == 1:
|
||||
return matches[0]
|
||||
|
||||
# TODO: not sure how to handle yet, if last check found more
|
||||
# than one match. presumably if none were found then it is
|
||||
# safe to just return none though..
|
||||
if matches:
|
||||
raise NotImplementedError(f"{len(matches)} payments matched for CORE equity: {stock_purchase}")
|
||||
|
||||
def normalize_host_object(self, stock_purchase):
|
||||
|
|
Loading…
Reference in a new issue