[Erp5-report] r44313 jerome - /erp5/trunk/products/ERP5/Document/PackingList.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Mar 15 17:42:09 CET 2011
Author: jerome
Date: Tue Mar 15 17:42:09 2011
New Revision: 44313
URL: http://svn.erp5.org?rev=44313&view=rev
Log:
There's no reason for packing lists to have a different implementation of 'isDivergent'
Modified:
erp5/trunk/products/ERP5/Document/PackingList.py
Modified: erp5/trunk/products/ERP5/Document/PackingList.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/PackingList.py?rev=44313&r1=44312&r2=44313&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/PackingList.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/PackingList.py [utf8] Tue Mar 15 17:42:09 2011
@@ -80,17 +80,6 @@ class PackingList(Delivery):
, PropertySheet.Order
)
- security.declareProtected(Permissions.AccessContentsInformation,
- 'isDivergent')
- def isDivergent(self,**kw):
- """
- Returns 1 if not simulated or inconsistent target and values
- """
- if self.getSimulationState() not in self.getPortalDraftOrderStateList():
- if not self.isSimulated():
- return 1
- return Delivery.isDivergent(self, **kw)
-
#######################################################
# Container computation
security.declareProtected(Permissions.AccessContentsInformation,
More information about the Erp5-report
mailing list