Skip to content

Commit b6ba5a8

Browse files
authored
Merge pull request #35 from softwareone-platform/MPT-13504-backport-extension-missing-agreements-data-in-setup-fulfillment-parameters
[BACKPORT] MPT-13504 Fix Missing agreement data
2 parents 9709a6f + 99c497b commit b6ba5a8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ffc/flows/steps/order.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,11 @@ def __call__(self, client, context, next_step):
182182
parameter=param_name,
183183
value=param_value,
184184
)
185+
agreement = context.order["agreement"]
185186
context.order = update_order(
186187
client, context.order["id"], parameters=order["parameters"]
187188
)
189+
context.order["agreement"] = agreement
188190
logger.info(
189191
f"{context}: Updating fulfillment parameters",
190192
)
@@ -247,7 +249,7 @@ def __call__(self, client, context, next_step):
247249
context.order = set_template(context.order, template)
248250
update_order(client, context.order["id"], template=context.order["template"])
249251
logger.info(
250-
f"{context}: processing template set to {self.template_name} " f"({template['id']})"
252+
f"{context}: processing template set to {self.template_name} ({template['id']})"
251253
)
252254
logger.info(f"{context}: processing template is ok, continue")
253255

0 commit comments

Comments
 (0)