From af2bc235258df690de2603e8ec23ae0f84fe19ea Mon Sep 17 00:00:00 2001
From: Sebastien Robin <seb@nexedi.com>
Date: Wed, 29 Mar 2006 20:56:15 +0000
Subject: [PATCH] do not assume that an invoice cell is never divergent any
 more

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6343 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/Document/InvoiceCell.py | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/product/ERP5/Document/InvoiceCell.py b/product/ERP5/Document/InvoiceCell.py
index bf2e131658..f63bedfd80 100644
--- a/product/ERP5/Document/InvoiceCell.py
+++ b/product/ERP5/Document/InvoiceCell.py
@@ -80,17 +80,17 @@ class InvoiceCell(DeliveryCell):
       # 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):
-- 
2.30.9