From 1574fe8624c7fa0e923ae8e83e00ca6049107cf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Reuiller?= Date: Wed, 27 Nov 2024 16:10:25 +0100 Subject: [PATCH] admin can update brand --- lemarche/siaes/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lemarche/siaes/models.py b/lemarche/siaes/models.py index 0e1b508ee..bfa284c54 100644 --- a/lemarche/siaes/models.py +++ b/lemarche/siaes/models.py @@ -536,7 +536,7 @@ class Siae(models.Model): FIELDS_FROM_C1 = [ "name", "slug", # generated from 'name' - "brand", + # "brand", # see UPDATE_FIELDS_IF_EMPTY in management/commands/sync_with_emplois_inclusion.py "siret", "naf", "website", @@ -617,7 +617,7 @@ class Siae(models.Model): name = models.CharField(verbose_name="Raison sociale", max_length=255) slug = models.SlugField(verbose_name="Slug", max_length=255, unique=True) - brand = models.CharField(verbose_name="Enseigne", max_length=255, blank=True) + brand = models.CharField(verbose_name="Nom commercial", max_length=255, blank=True) kind = models.CharField( verbose_name="Type de structure", max_length=6,