Commit ce756dcd authored by Romain Courteaud's avatar Romain Courteaud

slapos_subscription_request: drop not needed condition

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