Commit 97f25f93 authored by Łukasz Nowak's avatar Łukasz Nowak

Extended hardcoded list.

use, base application and contribution have to be transmitted to generated
movements.
parent b6c3544f
...@@ -290,6 +290,9 @@ class SubscriptionItem(Item, CompositionMixin, MovementGeneratorMixin, Periodici ...@@ -290,6 +290,9 @@ class SubscriptionItem(Item, CompositionMixin, MovementGeneratorMixin, Periodici
quantity_unit = movement.getQuantityUnit() quantity_unit = movement.getQuantityUnit()
price = movement.getPrice() price = movement.getPrice()
price_currency = movement.getPriceCurrency() price_currency = movement.getPriceCurrency()
base_application_list = movement.getBaseApplicationList()
base_contribution_list = movement.getBaseContributionList()
use_list = movement.getUseList()
specialise = movement.getSpecialise() specialise = movement.getSpecialise()
current_date = start_date current_date = start_date
...@@ -312,6 +315,9 @@ class SubscriptionItem(Item, CompositionMixin, MovementGeneratorMixin, Periodici ...@@ -312,6 +315,9 @@ class SubscriptionItem(Item, CompositionMixin, MovementGeneratorMixin, Periodici
destination=destination, destination=destination,
destination_section=destination_section, destination_section=destination_section,
specialise=specialise, specialise=specialise,
base_application_list=base_application_list,
base_contribution_list=base_contribution_list,
use_list=use_list
) )
result.append(generated_movement) result.append(generated_movement)
current_date = next_date current_date = next_date
......
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