[Erp5-report] r6342 - /erp5/trunk/products/ERP5/Document/InvoiceLine.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Mar 29 22:55:50 CEST 2006


Author: seb
Date: Wed Mar 29 22:55:48 2006
New Revision: 6342

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

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

Modified: erp5/trunk/products/ERP5/Document/InvoiceLine.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/InvoiceLine.py?rev=6342&r1=6341&r2=6342&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/InvoiceLine.py (original)
+++ erp5/trunk/products/ERP5/Document/InvoiceLine.py Wed Mar 29 22:55:48 2006
@@ -93,18 +93,18 @@
       # Never accountable
       return 0
 
-    security.declareProtected( Permissions.AccessContentsInformation,
-                              '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,
+#                              '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' )




More information about the Erp5-report mailing list