From c8b7b5d3f1208528d2c11b5ec4b543e7ef3e33a6 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sat, 17 Sep 2022 18:19:42 +0200 Subject: Admin act: ref_sra 15 -> 200 --- archaeological_operations/models.py | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'archaeological_operations/models.py') diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py index 370b3c9b2..13b784539 100644 --- a/archaeological_operations/models.py +++ b/archaeological_operations/models.py @@ -2696,16 +2696,15 @@ class AdministrativeAct(DocumentItem, BaseHistorizedItem, OwnPerms, ValueGetter) signature_date = models.DateField(_("Signature date"), blank=True, null=True) year = models.IntegerField(_("Year"), blank=True, null=True) act_object = models.TextField(_("Object"), blank=True, default="") - if settings.COUNTRY == "fr": - ref_sra = models.CharField( - "Référence SRA", max_length=15, blank=True, null=True - ) - departments_label = models.TextField( - _("Departments"), - blank=True, - default="", - help_text=_("Cached values get from associated departments"), - ) + ref_sra = models.CharField( + _("Other reference"), max_length=200, blank=True, null=True + ) + departments_label = models.TextField( + _("Departments"), + blank=True, + default="", + help_text=_("Cached values get from associated departments"), + ) towns_label = models.TextField( _("Towns"), blank=True, -- cgit v1.2.3