Allow bulk-delete for some common batches
This commit is contained in:
parent
b14a4987d2
commit
18c30fcb05
4 changed files with 4 additions and 0 deletions
|
@ -49,6 +49,7 @@ class LabelBatchView(BatchMasterView):
|
|||
url_prefix = '/labels/batches'
|
||||
template_prefix = '/batch/labels'
|
||||
creatable = False
|
||||
bulk_deletable = True
|
||||
rows_editable = True
|
||||
rows_bulk_deletable = True
|
||||
cloneable = True
|
||||
|
|
|
@ -42,6 +42,7 @@ class NewProductBatchView(BatchMasterView):
|
|||
url_prefix = '/batches/newproduct'
|
||||
template_prefix = '/batch/newproduct'
|
||||
downloadable = True
|
||||
bulk_deletable = True
|
||||
rows_editable = True
|
||||
|
||||
form_fields = [
|
||||
|
|
|
@ -61,6 +61,7 @@ class ProductBatchView(BatchMasterView):
|
|||
template_prefix = '/batch/product'
|
||||
downloadable = True
|
||||
cloneable = True
|
||||
bulk_deletable = True
|
||||
execution_options_schema = ExecutionOptions
|
||||
rows_bulk_deletable = True
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue