diff options
Diffstat (limited to 'archaeological_operations')
| -rw-r--r-- | archaeological_operations/models.py | 2 | ||||
| -rw-r--r-- | archaeological_operations/templates/ishtar/sheet_operation.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py index 90af1bd62..e5c22c909 100644 --- a/archaeological_operations/models.py +++ b/archaeological_operations/models.py @@ -320,7 +320,7 @@ class Operation(BaseHistorizedItem, OwnPerms, ValueGetter, ShortMenuItem, def get_reference(self, full=False): ref = "" - if self.code_patriarche: + if settings.COUNTRY == 'fr' and self.code_patriarche: ref = "OA" + unicode(self.code_patriarche) if not full: return ref diff --git a/archaeological_operations/templates/ishtar/sheet_operation.html b/archaeological_operations/templates/ishtar/sheet_operation.html index 9d22657c3..56b5115d6 100644 --- a/archaeological_operations/templates/ishtar/sheet_operation.html +++ b/archaeological_operations/templates/ishtar/sheet_operation.html @@ -108,7 +108,7 @@ {% trans "Finds" as finds %} {% if item.finds %} -{% dynamic_table_document finds 'finds' 'base_finds__context_record__operation' item.pk %} +{% dynamic_table_document finds 'finds_for_ope' 'base_finds__context_record__operation' item.pk 'TABLE_COLS_FOR_OPE' %} {% endif %} {% comment %} |
