From f3764eea1ac4a6cdb12095322a00fd93d377c2c5 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 15 Nov 2024 11:51:49 +0100 Subject: ✨ adapt sheet to manage sheet filters MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- archaeological_context_records/models.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'archaeological_context_records/models.py') diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py index dbd7bc463..8046cef7e 100644 --- a/archaeological_context_records/models.py +++ b/archaeological_context_records/models.py @@ -836,6 +836,10 @@ class ContextRecord( ] UPPER_GEO = ["operation", "archaeological_site"] UPPER_PERMISSIONS = [(Operation, "operation_id")] + SHEET_EMPTY_KEYS = [ + "m2m_listing", "interpretation", "activity", "taq", "taq_estimated", "tpq", + "tpq_estimated" + ] history = HistoricalRecords(bases=[HistoryModel]) objects = UUIDModelManager() -- cgit v1.2.3