Skip to content

Admin: ajout d'un bouton pour transférer des données entre entreprises [GEN-1527]#4676

Merged
xavfernandez merged 1 commit intomasterfrom
xfernandez/admin_move_company_data
Nov 14, 2024
Merged

Admin: ajout d'un bouton pour transférer des données entre entreprises [GEN-1527]#4676
xavfernandez merged 1 commit intomasterfrom
xfernandez/admin_move_company_data

Conversation

@xavfernandez
Copy link
Contributor

🤔 Pourquoi ?

Éviter de passer par supportix et avoir plus de logs concernant les transferts.

🍰 Comment ?

Décrivez en quelques mots la solution retenue et mise en oeuvre, les difficultés ou problèmes rencontrés. Attirez l'attention sur les décisions d'architecture ou de conception importantes.

🚨 À vérifier

  • Mettre à jour le CHANGELOG_breaking_changes.md ?

🏝️ Comment tester

Les instructions pour reproduire le problème, les profils de test, le parcours spécifique à utiliser, etc. Si vous disposez d'une recette jetable, mettre l'URL pour tester dans cette partie.

💻 Captures d'écran

@xavfernandez xavfernandez self-assigned this Sep 6, 2024
@notion-workspace
Copy link

@xavfernandez xavfernandez force-pushed the xfernandez/admin_move_company_data branch 2 times, most recently from 3d5ff2e to 64a3fa1 Compare September 9, 2024 06:58
@xavfernandez xavfernandez force-pushed the xfernandez/admin_move_company_data branch 2 times, most recently from 63bbf8b to b297307 Compare October 1, 2024 14:26
@xavfernandez xavfernandez added the ajouté Ajouté dans le changelog. label Oct 1, 2024
@xavfernandez xavfernandez force-pushed the xfernandez/admin_move_company_data branch 5 times, most recently from 88d0123 to 216d238 Compare October 1, 2024 16:17
@xavfernandez xavfernandez marked this pull request as ready for review October 1, 2024 16:18
@xavfernandez xavfernandez added the 1-recette-jetable [Payé à l’heure] Crée une recette jetable sur CC label Oct 1, 2024

{% block object-tools-items %}

{% if has_change_permission %}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

J'hésite à n'autoriser que les superuser dans un premier temps ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

plus sage peut être pendant quelques temps ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ça me semble également une bonne idée.

@xavfernandez xavfernandez added 1-recette-jetable [Payé à l’heure] Crée une recette jetable sur CC and removed 1-recette-jetable [Payé à l’heure] Crée une recette jetable sur CC labels Oct 1, 2024
@tonial tonial added 1-recette-jetable [Payé à l’heure] Crée une recette jetable sur CC and removed 1-recette-jetable [Payé à l’heure] Crée une recette jetable sur CC labels Oct 4, 2024
@github-actions
Copy link

github-actions bot commented Oct 4, 2024

🥁 La recette jetable est prête ! 👉 Je veux tester cette PR !

Copy link
Contributor

@tonial tonial left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ça m'a l'air très bien :)

Le code est pas facile à relire par contre ^^' (et n'a pas du être facile à écrire non plus !)


{% block object-tools-items %}

{% if has_change_permission %}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

plus sage peut être pendant quelques temps ?

Copy link
Member

@francoisfreitag francoisfreitag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

C’est top ! J’ai hâte que ça soit disponible pour le support. Se brancher dans l’admin n’est peut-être pas le plus pratique, tu aurais pu ajouter la page aux staff views. Mais maintenant que c’est comme ça... 🤷

@xavfernandez xavfernandez force-pushed the xfernandez/admin_move_company_data branch 4 times, most recently from 550b9bc to 98cf553 Compare October 17, 2024 12:16
@xavfernandez xavfernandez force-pushed the xfernandez/admin_move_company_data branch 2 times, most recently from c645eb6 to 7276b1b Compare November 4, 2024 13:38
@xavfernandez xavfernandez requested a review from rsebille November 4, 2024 13:38
models.Company.objects.filter(pk=from_company.pk).update(
block_job_applications=True,
job_applications_blocked_at=timezone.now(),
is_searchable=False,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rsebille J'ai bien gardé la désactivation de la recherche sur la from_company mais je préfère ne pas garder l'activation sur la to_company.

@xavfernandez xavfernandez force-pushed the xfernandez/admin_move_company_data branch from 7276b1b to 97df265 Compare November 13, 2024 11:15
Copy link
Contributor

@rsebille rsebille left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Les commits ajoutés me semblent bien 👍.

@xavfernandez xavfernandez force-pushed the xfernandez/admin_move_company_data branch from a0bd5d6 to ff9c7c3 Compare November 14, 2024 08:46
@xavfernandez xavfernandez added this pull request to the merge queue Nov 14, 2024
Merged via the queue into master with commit 52ad221 Nov 14, 2024
@xavfernandez xavfernandez deleted the xfernandez/admin_move_company_data branch November 14, 2024 09:06
@notion-workspace
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1-recette-jetable [Payé à l’heure] Crée une recette jetable sur CC ajouté Ajouté dans le changelog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants