Skip to content

Admin : Enrichir les fiches salarié avec les détails de l’entreprise - #6603

Merged
francoisfreitag merged 1 commit into
masterfrom
ff/er-admin
Aug 22, 2025
Merged

Admin : Enrichir les fiches salarié avec les détails de l’entreprise#6603
francoisfreitag merged 1 commit into
masterfrom
ff/er-admin

Conversation

@francoisfreitag

Copy link
Copy Markdown
Member

🤔 Pourquoi ?

Lorsque c’est possible, ajouter le nom, le type et la PK de l’entreprise. Dans le cas où l’annexe financière n’est pas disponible (supprimée), continuer d’afficher simplement le SIRET.

@francoisfreitag francoisfreitag added the no-changelog Ne doit pas figurer dans le journal des changements. label Jul 24, 2025
@francoisfreitag francoisfreitag self-assigned this Jul 24, 2025
@francoisfreitag francoisfreitag added the no-changelog Ne doit pas figurer dans le journal des changements. label Jul 24, 2025
@notion-workspace

Copy link
Copy Markdown

Comment thread itou/employee_record/admin.py

@xavfernandez xavfernandez left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Un petit test (pour le cas nominal) ?

@francoisfreitag
francoisfreitag force-pushed the ff/er-admin branch 2 times, most recently from d576e0e to 12b966b Compare August 18, 2025 15:51
Comment thread tests/employee_record/factories.py Outdated
Comment thread tests/employee_record/test_admin.py
@francoisfreitag
francoisfreitag force-pushed the ff/er-admin branch 2 times, most recently from 2a94967 to aaa35f8 Compare August 22, 2025 06:47
@francoisfreitag francoisfreitag added modifié Modifié dans le changelog. and removed no-changelog Ne doit pas figurer dans le journal des changements. labels Aug 22, 2025
When available, show the name, kind and SIRET of the company. When not
available (e.g. the FinancialAnnex has been deleted), just show the
SIRET.

In order to get a financial annex linked with the employee record (more
typical), the EmployeeRecordFactory now derives its financial_annex_id
from the company financial annexes.
@francoisfreitag
francoisfreitag added this pull request to the merge queue Aug 22, 2025
Merged via the queue into master with commit 3c725b2 Aug 22, 2025
14 checks passed
@francoisfreitag
francoisfreitag deleted the ff/er-admin branch August 22, 2025 07:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

modifié Modifié dans le changelog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants