Commit 35adc666 authored by Romain Courteaud's avatar Romain Courteaud

slapos_subscription_request: propagate source project

parent 6681f337
......@@ -66,6 +66,7 @@ subscription_request = context.subscription_request_module.newContent(
quantity=user_input_dict["amount"],
language=target_language,
specialise_value=subscription_condition,
follow_up_value=subscription_condition.getFollowUpValue()
)
subscription_request.setDefaultEmailText(email)
......
......@@ -40,6 +40,7 @@ if current_invoice is None:
current_invoice.edit(
title="Reservation Fee",
ledger_value=portal.portal_categories.ledger.automated,
source_project_value=context.getFollowUpValue(),
destination_value=context.getDestinationSection(),
destination_section_value=context.getDestinationSection(),
destination_decision_value=context.getDestinationSection(),
......
......@@ -63,6 +63,7 @@ delivery.edit(
source=sale_invoice_transaction.getSource(),
source_section=sale_invoice_transaction.getSourceSection(),
ledger_value=portal.portal_categories.ledger.automated,
source_project_value=sale_invoice_transaction.getSourceProjectValue(),
)
line = delivery.newContent(
......
......@@ -34,6 +34,7 @@ if current_invoice is None:
current_payment.edit(
title="Payment for Reservation Fee",
ledger_value=portal.portal_categories.ledger.automated,
source_project_value=context.getFollowUpValue(),
specialise_value=trade_condition,
destination_value=context.getDestinationSection(),
destination_section_value=context.getDestinationSection(),
......
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