Commit 1686f874 authored by Romain Courteaud's avatar Romain Courteaud

Use AccessContentsInformation instead of View.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9869 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8352f1df
...@@ -79,7 +79,8 @@ class PackingList(Delivery): ...@@ -79,7 +79,8 @@ class PackingList(Delivery):
, PropertySheet.Movement , PropertySheet.Movement
) )
security.declareProtected(Permissions.View, 'isDivergent') security.declareProtected(Permissions.AccessContentsInformation,
'isDivergent')
def isDivergent(self,**kw): def isDivergent(self,**kw):
""" """
Returns 1 if not simulated or inconsistent target and values Returns 1 if not simulated or inconsistent target and values
...@@ -91,7 +92,8 @@ class PackingList(Delivery): ...@@ -91,7 +92,8 @@ class PackingList(Delivery):
####################################################### #######################################################
# Container computation # Container computation
security.declareProtected(Permissions.View, 'isPacked') security.declareProtected(Permissions.AccessContentsInformation,
'isPacked')
def isPacked(self): def isPacked(self):
""" """
Returns 0 if all quantity resource on packing list line Returns 0 if all quantity resource on packing list line
......
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