-
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
Extrait une variable explicite pour le plafond de l'AAH #1159
Conversation
class aah_plafond_ressources(Variable): | ||
calculate_output = calculate_output_add | ||
value_type = float | ||
label = u"Montant de l'Allocation adulte handicapé (hors complément) pour un individu, mensualisée" |
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.
Ce n'est pas le montant… corriger ce descriptif ?
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.
Ce libellé "Montant de l'Allocation, etc" est copié-collé à trois endroits du fichier. Je t'invite à refaire une passe pour donner à chaque variable un descriptif approprié.
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.
Merci beaucoup @Morendil pour ta réactivité, j'ai rapidement créé cette PR pour avoir un numéro à indiquer dans le CHANGELOG.
Tu as raison une passe de ma part était nécessaire.
@@ -233,6 +244,26 @@ def formula(individu, period): | |||
return individu('pensions_invalidite', period) + individu('asi', period.last_month) | |||
|
|||
|
|||
class aah_plafond_ressources(Variable): | |||
calculate_output = calculate_output_add |
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.
Es-tu certain que calculate_output_add s'applique aussi à cette variable ? Quel en est l'effet ?
model/prestations/minima_sociaux/aah