Commit 446e2dae authored by Łukasz Nowak's avatar Łukasz Nowak

Generate only one movement.

This is good enough to generate only one movement per run for given period.

Otherwise this method could generate milions of movements.
parent 4dc8a938
......@@ -315,6 +315,7 @@ class SubscriptionItem(Item, CompositionMixin, MovementGeneratorMixin, Periodici
result.append(generated_movement)
current_date = next_date
id_index += 1
break
return result
......
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