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
2
tailbone/views/vendors/catalogs.py
vendored
2
tailbone/views/vendors/catalogs.py
vendored
|
@ -127,6 +127,8 @@ class VendorCatalogCrud(FileBatchCrud):
|
||||||
del fs.effective
|
del fs.effective
|
||||||
else:
|
else:
|
||||||
del fs.parser_key
|
del fs.parser_key
|
||||||
|
fs.vendor.set(readonly=True)
|
||||||
|
fs.effective.set(readonly=True)
|
||||||
|
|
||||||
def init_batch(self, batch):
|
def init_batch(self, batch):
|
||||||
parser = require_catalog_parser(batch.parser_key)
|
parser = require_catalog_parser(batch.parser_key)
|
||||||
|
|
Loading…
Reference in a new issue