Commit 34c1b09a authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_accounting: Researvation fee, has not Sale Packing list.

parent 2972b290
......@@ -3,7 +3,7 @@ specialise = context.getPortalObject().portal_preferences.getPreferredAggregated
if invoice.getSpecialise() != specialise:
raise TypeError('Only invoice specialised by %s shall be checked' % specialise)
if len(invoice.getCausalityRelatedList(portal_type='Cloud Contract')) > 0:
if len(invoice.getCausalityRelatedList(portal_type=['Cloud Contract', 'Subscription Request'])) > 0:
# Nothing to compare
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