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

erp5_trade: XML changes

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