Don't allow edit of vendor and effective date in catalog batches.
This may need to be tweaked in the future, but until then we'll be conservative about it.
This commit is contained in:
parent
d83ca4456a
commit
51e4eda662
1 changed files with 2 additions and 0 deletions
2
tailbone/views/vendors/catalogs.py
vendored
2
tailbone/views/vendors/catalogs.py
vendored
|
@ -127,6 +127,8 @@ class VendorCatalogCrud(FileBatchCrud):
|
|||
del fs.effective
|
||||
else:
|
||||
del fs.parser_key
|
||||
fs.vendor.set(readonly=True)
|
||||
fs.effective.set(readonly=True)
|
||||
|
||||
def init_batch(self, batch):
|
||||
parser = require_catalog_parser(batch.parser_key)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue