Commit f006fe99 authored by Jérome Perrin's avatar Jérome Perrin

fix security declaration


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44351 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 69eb4238
...@@ -70,7 +70,7 @@ class Immobilisation(Delivery, XMLObject): ...@@ -70,7 +70,7 @@ class Immobilisation(Delivery, XMLObject):
, PropertySheet.Amortisation , PropertySheet.Amortisation
) )
security.declareProtected(Permissions.View, 'isMovement') security.declareProtected(Permissions.AccessContentsInformation, 'isMovement')
def isMovement(self, **kw): def isMovement(self, **kw):
""" """
An Immobilisation must not be indexed in stock table, so it is not a Movement An Immobilisation must not be indexed in stock table, so it is not a Movement
......
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