[Erp5-report] r43762 jerome - in /erp5/trunk/products: ERP5/bootstrap/erp5_property_sheets/...
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Feb 25 16:06:03 CET 2011
Author: jerome
Date: Fri Feb 25 16:06:02 2011
New Revision: 43762
URL: http://svn.erp5.org?rev=43762&view=rev
Log:
last expand simulation state is useless
Removed:
erp5/trunk/products/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/AppliedRule/last_expand_simulation_state_property.xml
Modified:
erp5/trunk/products/ERP5/tests/testOrder.py
erp5/trunk/products/ERP5/tests/testProductionOrder.py
erp5/trunk/products/ERP5/tests/testProductionOrderApparel.py
erp5/trunk/products/ERP5Legacy/Document/OpenOrderRule.py
erp5/trunk/products/ERP5Legacy/tests/testLegacyOrder.py
erp5/trunk/products/ERP5Legacy/tests/testLegacyProductionOrder.py
Removed: erp5/trunk/products/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/AppliedRule/last_expand_simulation_state_property.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/AppliedRule/last_expand_simulation_state_property.xml?rev=43761&view=auto
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/AppliedRule/last_expand_simulation_state_property.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/AppliedRule/last_expand_simulation_state_property.xml (removed)
@@ -1,101 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
- <record id="1" aka="AAAAAAAAAAE=">
- <pickle>
- <global name="Acquired Property" module="erp5.portal_type"/>
- </pickle>
- <pickle>
- <dictionary>
- <item>
- <key> <string>_local_properties</string> </key>
- <value>
- <tuple>
- <dictionary>
- <item>
- <key> <string>id</string> </key>
- <value> <string>acquisition_depends</string> </value>
- </item>
- <item>
- <key> <string>type</string> </key>
- <value> <string>string</string> </value>
- </item>
- </dictionary>
- <dictionary>
- <item>
- <key> <string>id</string> </key>
- <value> <string>mode</string> </value>
- </item>
- <item>
- <key> <string>type</string> </key>
- <value> <string>string</string> </value>
- </item>
- </dictionary>
- </tuple>
- </value>
- </item>
- <item>
- <key> <string>acquisition_accessor_id</string> </key>
- <value> <string>getLastExpandSimulationState</string> </value>
- </item>
- <item>
- <key> <string>acquisition_base_category</string> </key>
- <value>
- <tuple>
- <string>parent</string>
- </tuple>
- </value>
- </item>
- <item>
- <key> <string>acquisition_copy_value</string> </key>
- <value> <int>0</int> </value>
- </item>
- <item>
- <key> <string>acquisition_depends</string> </key>
- <value>
- <none/>
- </value>
- </item>
- <item>
- <key> <string>acquisition_mask_value</string> </key>
- <value> <int>1</int> </value>
- </item>
- <item>
- <key> <string>acquisition_portal_type</string> </key>
- <value> <string>python: (\'Applied Rule\',)</string> </value>
- </item>
- <item>
- <key> <string>alt_accessor_id</string> </key>
- <value>
- <tuple>
- <string>getLastExpandSimulationState</string>
- </tuple>
- </value>
- </item>
- <item>
- <key> <string>categories</string> </key>
- <value>
- <tuple>
- <string>elementary_type/string</string>
- </tuple>
- </value>
- </item>
- <item>
- <key> <string>description</string> </key>
- <value> <string>Contains the id of the simulation state when the object was last expanded (in order to avoid recalculation)</string> </value>
- </item>
- <item>
- <key> <string>id</string> </key>
- <value> <string>last_expand_simulation_state_property</string> </value>
- </item>
- <item>
- <key> <string>mode</string> </key>
- <value> <string>w</string> </value>
- </item>
- <item>
- <key> <string>portal_type</string> </key>
- <value> <string>Acquired Property</string> </value>
- </item>
- </dictionary>
- </pickle>
- </record>
-</ZopeData>
Modified: erp5/trunk/products/ERP5/tests/testOrder.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testOrder.py?rev=43762&r1=43761&r2=43762&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testOrder.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testOrder.py [utf8] Fri Feb 25 16:06:02 2011
@@ -797,8 +797,6 @@ class TestOrderMixin(SubcontentReindexin
applied_rule = related_applied_rule_list[0].getObject()
sequence.edit(applied_rule=applied_rule)
self.failUnless(applied_rule is not None)
- self.failUnless(order_state, \
- applied_rule.getLastExpandSimulationState())
# Test if applied rule has a specialise value with passed rule_reference
portal_rules = getToolByName(order, 'portal_rules')
Modified: erp5/trunk/products/ERP5/tests/testProductionOrder.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testProductionOrder.py?rev=43762&r1=43761&r2=43762&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testProductionOrder.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testProductionOrder.py [utf8] Fri Feb 25 16:06:02 2011
@@ -675,8 +675,6 @@ class TestProductionOrderMixin(TestOrder
applied_rule = related_applied_rule_list[0].getObject()
sequence.edit(applied_rule=applied_rule)
self.failUnless(applied_rule is not None)
- self.failUnless(order_state, \
- applied_rule.getLastExpandSimulationState())
# Test if applied rule has a specialise value with default_order_rule
# XXX hardcoded value
self.assertEquals('default_production_order_rule', \
Modified: erp5/trunk/products/ERP5/tests/testProductionOrderApparel.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testProductionOrderApparel.py?rev=43762&r1=43761&r2=43762&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testProductionOrderApparel.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testProductionOrderApparel.py [utf8] Fri Feb 25 16:06:02 2011
@@ -309,8 +309,6 @@ class TestProductionOrderApparelMixin(Te
applied_rule = related_applied_rule_list[0].getObject()
sequence.edit(applied_rule=applied_rule)
self.failUnless(applied_rule is not None)
- self.failUnless(order_state, \
- applied_rule.getLastExpandSimulationState())
# Test if applied rule has a specialise value with default_order_rule
portal_rules = getToolByName(order, 'portal_rules')
# XXX hardcoded value
Modified: erp5/trunk/products/ERP5Legacy/Document/OpenOrderRule.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Legacy/Document/OpenOrderRule.py?rev=43762&r1=43761&r2=43762&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Legacy/Document/OpenOrderRule.py [utf8] (original)
+++ erp5/trunk/products/ERP5Legacy/Document/OpenOrderRule.py [utf8] Fri Feb 25 16:06:02 2011
@@ -111,8 +111,6 @@ class OpenOrderRule(DeliveryRule):
**property_dict
)
- # Mark that expand finished.
- applied_rule.setLastExpandSimulationState(order.getSimulationState())
# Pass to base class
Rule.expand(self, applied_rule, force=force, **kw)
Modified: erp5/trunk/products/ERP5Legacy/tests/testLegacyOrder.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Legacy/tests/testLegacyOrder.py?rev=43762&r1=43761&r2=43762&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Legacy/tests/testLegacyOrder.py [utf8] (original)
+++ erp5/trunk/products/ERP5Legacy/tests/testLegacyOrder.py [utf8] Fri Feb 25 16:06:02 2011
@@ -804,8 +804,6 @@ class TestOrderMixin(object):
applied_rule = related_applied_rule_list[0].getObject()
sequence.edit(applied_rule=applied_rule)
self.failUnless(applied_rule is not None)
- self.failUnless(order_state, \
- applied_rule.getLastExpandSimulationState())
# Test if applied rule has a specialise value with passed rule_reference
portal_rules = getToolByName(order, 'portal_rules')
Modified: erp5/trunk/products/ERP5Legacy/tests/testLegacyProductionOrder.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Legacy/tests/testLegacyProductionOrder.py?rev=43762&r1=43761&r2=43762&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Legacy/tests/testLegacyProductionOrder.py [utf8] (original)
+++ erp5/trunk/products/ERP5Legacy/tests/testLegacyProductionOrder.py [utf8] Fri Feb 25 16:06:02 2011
@@ -686,8 +686,6 @@ class TestProductionOrderMixin(TestOrder
applied_rule = related_applied_rule_list[0].getObject()
sequence.edit(applied_rule=applied_rule)
self.failUnless(applied_rule is not None)
- self.failUnless(order_state, \
- applied_rule.getLastExpandSimulationState())
# Test if applied rule has a specialise value with default_order_rule
portal_rules = getToolByName(order, 'portal_rules')
# XXX hardcoded value
More information about the Erp5-report
mailing list