-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve projectors #895
Improve projectors #895
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ne faudrait il pas changer le requirement de openfisca-core :
'OpenFisca-Core >= 21.2.1, < 22',
--> 'OpenFisca-Core >= 22.0.0, < 23',
declarant_principal_i = famille.members.has_role(FoyerFiscal.DECLARANT_PRINCIPAL) | ||
demandeur_declarant_principal = famille.value_from_person(declarant_principal_i, Famille.DEMANDEUR) | ||
conjoint_declarant_principal = famille.value_from_person(declarant_principal_i, Famille.CONJOINT) | ||
demandeur_declarant_principal = famille.demandeur.has_role(FoyerFiscal.DECLARANT_PRINCIPAL) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙌
declarant_principal_i = famille.members.has_role(FoyerFiscal.DECLARANT_PRINCIPAL) | ||
demandeur_declarant_principal = famille.value_from_person(declarant_principal_i, Famille.DEMANDEUR) | ||
conjoint_declarant_principal = famille.value_from_person(declarant_principal_i, Famille.CONJOINT) | ||
demandeur_declarant_principal = famille.demandeur.has_role(FoyerFiscal.DECLARANT_PRINCIPAL) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙌
Si, absolument 👍 |
To merge as soon as #922 is merged (so that the merge order is the same in core and france) |
e7fec86
to
7ced57d
Compare
Depends on openfisca/openfisca-core#602