fix(companies): saisie manuelle du SIREN, retire la resolution auto - #26
Merged
Merged
Conversation
La resolution automatique (GET /api/v1/companies/resolve, base SIRENE entreprises) matchait a tort des entites publiques -- les comptes du CRM sont souvent des acheteurs publics (mairies, hopitaux), absents de cette base. Pire : un candidat unique "exact" s'ecrivait en base sans validation humaine (constate en prod : SCC resolu vers un syndicat de salaries homonyme a Nanterre au lieu de SCC FRANCE, corrige separement en base -- 424982650). Le SIREN est desormais un champ inline editable comme les autres champs de la fiche Company (clic pour editer, Enter/Escape, garde 9-chiffres cote client, setSiren cote serveur reste la validation finale). Plus jamais d'ecriture automatique. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01P6yNGEKWRMLZrVyjCrD61G
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Opened automatically when
fix/siren-manual-entrywas pushed.The title is written from the diff and rewritten as you push, because this is squashed onto
mainand the title becomes the commit subject and the changelog line. Retitle it yourself and it is yours — the automation stops touching it.