summaryrefslogtreecommitdiff
path: root/ishtar_common
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2024-09-11 12:24:21 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2024-09-11 12:34:19 +0200
commit8b8cd541389412c4960f068848db7e45b71459b9 (patch)
treecb0f5c8d5ef419afc1d22f93cd8461a57f8cc653 /ishtar_common
parent3ca42ee5280f3e1ee3f74ed6d61a4181188d0450 (diff)
downloadIshtar-8b8cd541389412c4960f068848db7e45b71459b9.tar.bz2
Ishtar-8b8cd541389412c4960f068848db7e45b71459b9.zip
✨ criteria searches: add missing criteria for operation, find and context records (refs #6020) - Context records bulk update: add fields
Criteria searches: - Finds: context record type - Operations: has an attached archeo file - Context records : - Type of documentation - Description - Filling - General comment Context records bulk update: - documentation - identification - excavation technic
Diffstat (limited to 'ishtar_common')
-rw-r--r--ishtar_common/forms.py3
-rw-r--r--ishtar_common/views_item.py1
2 files changed, 2 insertions, 2 deletions
diff --git a/ishtar_common/forms.py b/ishtar_common/forms.py
index 9ee241919..ad76d63cd 100644
--- a/ishtar_common/forms.py
+++ b/ishtar_common/forms.py
@@ -1036,8 +1036,7 @@ class DocumentItemSelect(ImportSelect):
def get_now():
- format = formats.get_format("DATE_INPUT_FORMATS")[0]
- return datetime.datetime.now().strftime(format)
+ return datetime.datetime.now().strftime(formats.get_format("DATE_INPUT_FORMATS")[0])
class ClosingDateFormSelection(IshtarForm):
diff --git a/ishtar_common/views_item.py b/ishtar_common/views_item.py
index fbe522b1c..2a35c85d2 100644
--- a/ishtar_common/views_item.py
+++ b/ishtar_common/views_item.py
@@ -598,6 +598,7 @@ LIST_FIELDS = { # key: hierarchic depth
"provider": 0,
"excavation_technics": 0,
"activity": 0,
+ "documentations": 0,
}
HIERARCHIC_FIELDS = list(LIST_FIELDS.keys())