Tweak logic for removing certain form fields when creating a batch.
Just to be a little more on the safe side.
This commit is contained in:
parent
fcfe5f6442
commit
fb8fab1577
|
@ -631,7 +631,9 @@ class FileBatchCrud(BatchCrud):
|
|||
fs.filename.set(renderer=FileFieldRenderer.new(self), label="Data File")
|
||||
self.configure_fieldset(fs)
|
||||
if self.creating:
|
||||
if 'created' in fs.render_fields:
|
||||
del fs.created
|
||||
if 'created_by' in fs.render_fields:
|
||||
del fs.created_by
|
||||
if 'cognized' in fs.render_fields:
|
||||
del fs.cognized
|
||||
|
|
Loading…
Reference in a new issue