Commit 5222e3aa authored by Romain Courteaud's avatar Romain Courteaud

slapos_subscription_request: drop not needed condition

parent da712386
...@@ -9,12 +9,12 @@ if contract is None: ...@@ -9,12 +9,12 @@ if contract is None:
return return
if context.SubscriptionRequest_getTransactionalUser() is not None: if context.SubscriptionRequest_getTransactionalUser() is not None:
if contract is not None and contract.getMaximumInvoiceDelay() > 0: if contract.getMaximumInvoiceDelay() > 0:
return True return True
else: else:
person = context.getDestinationSectionValue() person = context.getDestinationSectionValue()
if person.Entity_statSlapOSOutstandingAmount() > 0: if person.Entity_statSlapOSOutstandingAmount() > 0:
return return
if contract is not None and contract.getMaximumInvoiceDelay() > 0: if contract.getMaximumInvoiceDelay() > 0:
return True return True
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