[gen] Bugfix: do not show the Calendar widget (search and edit layouts) if field.calendar is False.

This commit is contained in:
Gaetan Delannay 2013-04-30 11:45:31 +02:00
parent 049ddb20b4
commit 97ddf7a2c4
2 changed files with 15 additions and 10 deletions

View file

@ -373,7 +373,6 @@ class ToolMixin(BaseMixin):
params['UID'] = getattr(refObject, refField.name).data
# Use index "Allowed" if noSecurity is False
if not noSecurity: params['Allowed'] = self.getAllowedValue()
print params
brains = self.getPath("/catalog")(**params)
if brainsOnly:
# Return brains only.