Commit af2bc235 authored by Sebastien Robin's avatar Sebastien Robin

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
parent bc14cb42
......@@ -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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment