Commit a5983685 authored by Łukasz Nowak's avatar Łukasz Nowak

Drop update during linking.

It will be done later anyway.
Fix typo.
parent 25211f61
...@@ -66,17 +66,12 @@ assert(applied_rule.getSpecialiseValue().getReference() == \'default_delivering_ ...@@ -66,17 +66,12 @@ assert(applied_rule.getSpecialiseValue().getReference() == \'default_delivering_
delivery_simulation_list = applied_rule.searchFolder()\n delivery_simulation_list = applied_rule.searchFolder()\n
assert(len(delivery_simulation_list) == 1)\n assert(len(delivery_simulation_list) == 1)\n
delivery_simulation = delivery_simulation_list[0]\n delivery_simulation = delivery_simulation_list[0]\n
packing_list_line = packing_list_line.getRelativeUrl()\n packing_list_line_url = packing_list_line.getRelativeUrl()\n
if delivery_simulation.getDelivery() == packing_list_line:\n if delivery_simulation.getDelivery() == packing_list_line_url:\n
# already setup, nothing to do\n # already setup, nothing to do\n
return\n return\n
assert(delivery_simulation.getDelivery() is None)\n assert(delivery_simulation.getDelivery() is None)\n
delivery_simulation.setDelivery(packing_list_line)\n delivery_simulation.setDelivery(packing_list_line_url)\n
delivery = packing_list_line.getParentValue()\n
common_specialise = \'sale_trade_condition_module/vifib_trade_condition\'\n
specialise = delivery.getSpecialise()\n
if common_specialise != specialise:\n
delivery.setSpecialise(common_specialise)\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
41 42
\ 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