Commit 683ce893 authored by Tristan Cavelier's avatar Tristan Cavelier

erp5_trade: XML changes

parent c9258290
......@@ -50,9 +50,7 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string encoding="cdata"><![CDATA[
order = context\n
<value> <string>order = context\n
\n
# copy categories\n
category_list = [\n
......@@ -137,9 +135,7 @@ else:\n
new_category_dict[\'specialise\'] = trade_condition.getRelativeUrl()\n
\n
order.edit(**new_category_dict)\n
]]></string> </value>
</string> </value>
</item>
<item>
<key> <string>_params</string> </key>
......
......@@ -50,9 +50,7 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string encoding="cdata"><![CDATA[
packing_list = context\n
<value> <string>packing_list = context\n
related_order = packing_list.getCausalityValue()\n
\n
if packing_list.getSimulationState() == \'draft\':\n
......@@ -60,10 +58,7 @@ if packing_list.getSimulationState() == \'draft\':\n
comment = related_order.getComment(),\n
title = related_order.getTitle()\n
)\n
\n
]]></string> </value>
</string> </value>
</item>
<item>
<key> <string>_params</string> </key>
......
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