Commit aec6a9de authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

2008-03-27 Kazuhiko

* clear order/delivery on related simulation movements only when its value is the deleted movement.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20180 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2ed6e830
......@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.PythonScripts.PythonScript</string>
<string>PythonScript</string>
</tuple>
<none/>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -74,6 +71,7 @@
simulation_movement_list = delivery_movement.getDeliveryRelatedValueList(\n
portal_type="Simulation Movement")\n
for simulation_movement in simulation_movement_list:\n
if simulation_movement.getDelivery() == delivery_movement.getRelativeUrl():\n
simulation_movement.setDelivery(None)\n
</string> </value>
</item>
......
......@@ -71,6 +71,7 @@
simulation_movement_list = order_movement.getOrderRelatedValueList(\n
portal_type="Simulation Movement")\n
for simulation_movement in simulation_movement_list:\n
if simulation_movement.getOrder() == order_movement.getRelativeUrl():\n
simulation_movement.setOrder(None)\n
</string> </value>
</item>
......
2008-03-27 Kazuhiko
* clear order/delivery on related simulation movements only when its value is the deleted movement.
2008-03-26 Yusei
* Added contribution registry tool. This will replace content_type_registry.
......
768
\ No newline at end of file
769
\ 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