From 51e4eda6624aa5f5e9bce0e51b2bfcc2749e1ade Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Fri, 6 Mar 2015 19:15:03 -0600 Subject: [PATCH] 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. --- tailbone/views/vendors/catalogs.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tailbone/views/vendors/catalogs.py b/tailbone/views/vendors/catalogs.py index 6f1c0b35..5f0be4bf 100644 --- a/tailbone/views/vendors/catalogs.py +++ b/tailbone/views/vendors/catalogs.py @@ -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)