[Erp5-report] r6343 - /erp5/trunk/products/ERP5/Document/InvoiceCell.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Mar 29 22:56:17 CEST 2006


Author: seb
Date: Wed Mar 29 22:56:15 2006
New Revision: 6343

URL: http://svn.erp5.org?rev=6343&view=rev
Log:
do not assume that an invoice cell is never divergent any more

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

Modified: erp5/trunk/products/ERP5/Document/InvoiceCell.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/InvoiceCell.py?rev=6343&r1=6342&r2=6343&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/InvoiceCell.py (original)
+++ erp5/trunk/products/ERP5/Document/InvoiceCell.py Wed Mar 29 22:56:15 2006
@@ -80,17 +80,17 @@
       # Never accountable
       return 0
 
-    security.declareProtected(Permissions.View, 'isDivergent')
-    def isDivergent(self):
-      """
-        Returns 1 if the target is not met according to the current information
-        After and edit, the isOutOfTarget will be checked. If it is 1,
-        a message is emitted
-
-        emit targetUnreachable !
-      """
-      # Never divergent
-      return 0
+#    security.declareProtected(Permissions.View, 'isDivergent')
+#    def isDivergent(self):
+#      """
+#        Returns 1 if the target is not met according to the current information
+#        After and edit, the isOutOfTarget will be checked. If it is 1,
+#        a message is emitted
+#
+#        emit targetUnreachable !
+#      """
+#      # Never divergent
+#      return 0
 
     security.declareProtected(Permissions.AccessContentsInformation, 'getGroupCriterion')
     def getGroupCriterion(self):




More information about the Erp5-report mailing list