Commit 452afc9b authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_subscription_request: Store requested quantity at the Subscription Request

This value will be used to request among other things.
parent aa1c48c1
...@@ -21,7 +21,8 @@ if confirmation_required and not person_is_new: ...@@ -21,7 +21,8 @@ if confirmation_required and not person_is_new:
subscription_request = context.subscription_request_module.newContent( subscription_request = context.subscription_request_module.newContent(
portal_type="Subscription Request", portal_type="Subscription Request",
destination_section_value=person destination_section_value=person,
quantity=user_input_dict["amount"]
) )
subscription_request.setDefaultEmailText(email) subscription_request.setDefaultEmailText(email)
......
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