Commit 89bc9b99 authored by Romain Courteaud's avatar Romain Courteaud

slapos_subscription_request: no need to call OpenSaleOrder_updatePeriod when...

slapos_subscription_request: no need to call OpenSaleOrder_updatePeriod when creating the open order
parent 8211a672
......@@ -37,11 +37,7 @@ module = portal.portal_trash
tmp_sale_order = module.newContent(
portal_type='Sale Order',
temp_object=True,
#effective_date=now+1,
start_date=now,
# Ensure stop date value is higher than start date
# it will be updated by OpenSaleOrder_updatePeriod
# stop_date=now + 2,
destination_value=subscriber_person_value,
destination_section=source_section,
#destination_decision_value=source_decision_value,
......
......@@ -109,7 +109,6 @@ open_order_cell.edit(
],
activate_kw=activate_kw
)
open_sale_order.OpenSaleOrder_updatePeriod()
open_sale_order.plan()
open_sale_order.validate()
......
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