[gen] Bugfix: do not show the Calendar widget (search and edit layouts) if field.calendar is False.
This commit is contained in:
parent
049ddb20b4
commit
97ddf7a2c4
2 changed files with 15 additions and 10 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue