[Erp5-report] r34965 jerome - /erp5/trunk/products/ERP5/Document/DeliverySimulationRule.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue May 4 10:09:38 CEST 2010


Author: jerome
Date: Tue May  4 10:09:36 2010
New Revision: 34965

URL: http://svn.erp5.org?rev=34965&view=rev
Log:
movement created by delivery simulation rule will be accountable if they do not
have a delivery. It's the parent class behaviour, so remove the method overriden here.

Modified:
    erp5/trunk/products/ERP5/Document/DeliverySimulationRule.py

Modified: erp5/trunk/products/ERP5/Document/DeliverySimulationRule.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/DeliverySimulationRule.py?rev=34965&r1=34964&r2=34965&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/DeliverySimulationRule.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/DeliverySimulationRule.py [utf8] Tue May  4 10:09:36 2010
@@ -44,17 +44,6 @@
   security = ClassSecurityInfo()
   security.declareObjectProtected(Permissions.AccessContentsInformation)
 
-  security.declareProtected(Permissions.AccessContentsInformation,
-                            'isAccountable')
-  def isAccountable(self, movement):
-    """
-    Tells whether generated movement needs to be accounted or not.
-
-    Invoice movement are never accountable, so simulation movement for
-    invoice movements should not be accountable either.
-    """
-    return 0
-
   security.declareProtected(Permissions.ModifyPortalContent, 'expand')
   def expand(self, applied_rule, force=0, **kw):
     """




More information about the Erp5-report mailing list