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 @@ ...@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
<string>Products.PythonScripts.PythonScript</string> <tuple/>
<string>PythonScript</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -74,7 +71,8 @@ ...@@ -74,7 +71,8 @@
simulation_movement_list = delivery_movement.getDeliveryRelatedValueList(\n simulation_movement_list = delivery_movement.getDeliveryRelatedValueList(\n
portal_type="Simulation Movement")\n portal_type="Simulation Movement")\n
for simulation_movement in simulation_movement_list:\n for simulation_movement in simulation_movement_list:\n
simulation_movement.setDelivery(None)\n if simulation_movement.getDelivery() == delivery_movement.getRelativeUrl():\n
simulation_movement.setDelivery(None)\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
...@@ -71,7 +71,8 @@ ...@@ -71,7 +71,8 @@
simulation_movement_list = order_movement.getOrderRelatedValueList(\n simulation_movement_list = order_movement.getOrderRelatedValueList(\n
portal_type="Simulation Movement")\n portal_type="Simulation Movement")\n
for simulation_movement in simulation_movement_list:\n for simulation_movement in simulation_movement_list:\n
simulation_movement.setOrder(None)\n if simulation_movement.getOrder() == order_movement.getRelativeUrl():\n
simulation_movement.setOrder(None)\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
2008-03-27 Kazuhiko
* clear order/delivery on related simulation movements only when its value is the deleted movement.
2008-03-26 Yusei 2008-03-26 Yusei
* Added contribution registry tool. This will replace content_type_registry. * Added contribution registry tool. This will replace content_type_registry.
......
768 769
\ 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