Commit 474f3015 authored by Jérome Perrin's avatar Jérome Perrin

ERP5: drop Person._setTitle

I do not see why we would need to check again that value !=
self.getTitle because this check is already done in edit, and edit
supports edit_order and force_update.
parent da386035
......@@ -80,14 +80,6 @@ class Person(Node, LoginAccountProviderMixin, EncryptedPasswordMixin):
, PropertySheet.Task
)
def _setTitle(self, value):
"""
Here we see that we must define a notion
of priority in the way fields are updated
"""
if value != self.getTitle():
self.title = value
security.declareProtected(Permissions.AccessContentsInformation,
'getTitle')
def getTitle(self, **kw):
......
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