Commit 8bd4611e authored by Antoine Catton's avatar Antoine Catton

Bugfix: open_order was unbound during bang.

parent 1553e0ed
...@@ -85,7 +85,7 @@ request_software_instance = hosting_subscription.portal_catalog.getResultValue(\ ...@@ -85,7 +85,7 @@ request_software_instance = hosting_subscription.portal_catalog.getResultValue(\
if person is None:\n if person is None:\n
open_sale_order_line = hosting_subscription.portal_catalog.getResultValue(\n open_sale_order_line = hosting_subscription.portal_catalog.getResultValue(\n
portal_type=\'Open Sale Order Line\', strict_aggregate_uid=hosting_subscription.getUid())\n portal_type=\'Open Sale Order Line\', strict_aggregate_uid=hosting_subscription.getUid())\n
open_sale_order = open_sale_order_line.getParentValue()\n open_order = open_sale_order_line.getParentValue()\n
person_relative_url = open_sale_order.getDestinationSection()\n person_relative_url = open_sale_order.getDestinationSection()\n
else:\n else:\n
person_relative_url = person.getRelativeUrl()\n person_relative_url = person.getRelativeUrl()\n
......
499 500
\ No newline at end of file \ No newline at end of file
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