Commit c3bcb095 authored by Romain Courteaud's avatar Romain Courteaud

Typo

parent acb02873
...@@ -90,12 +90,11 @@ if previous_open_sale_order is None:\n ...@@ -90,12 +90,11 @@ if previous_open_sale_order is None:\n
open_sale_order_template = portal.restrictedTraverse(\n open_sale_order_template = portal.restrictedTraverse(\n
portal.portal_preferences.getPreferredOpenSaleOrderTemplate())\n portal.portal_preferences.getPreferredOpenSaleOrderTemplate())\n
open_sale_order = open_sale_order_template.Base_createCloneDocument(batch_mode=1)\n open_sale_order = open_sale_order_template.Base_createCloneDocument(batch_mode=1)\n
open_sale_order.edit(\n
open_order_edit_kw.update({\n open_order_edit_kw.update({\n
\'destination\': person.getRelativeUrl(),\n \'destination\': person.getRelativeUrl(),\n
\'destination_decision\': person.getRelativeUrl(),\n \'destination_decision\': person.getRelativeUrl(),\n
\'title\': "SlapOS Subscription Open Sale Order",\n \'title\': "SlapOS Subscription Open Sale Order",\n
}))\n })\n
else:\n else:\n
open_sale_order = previous_open_sale_order.Base_createCloneDocument(batch_mode=1)\n open_sale_order = previous_open_sale_order.Base_createCloneDocument(batch_mode=1)\n
open_sale_order.edit(**open_order_edit_kw)\n open_sale_order.edit(**open_order_edit_kw)\n
......
225 226
\ 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