Commit f4f518f0 authored by wenjie.zheng's avatar wenjie.zheng

ERP5Type.py: remove _p_changed which is an useless workflow history variable.

parent 9a398d0d
......@@ -131,7 +131,7 @@ class LocalRoleAssignorMixIn(object):
## Make sure that the object is reindexed if modified
# XXX: Document modification detection assumes local roles are always
# part of ob and not separate persistent objects.
if reindex and ob._p_changed:
if reindex:# and ob._p_changed:
ob.reindexObjectSecurity(activate_kw=dict(activate_kw))
security.declarePrivate('getFilteredRoleListFor')
......
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