Skip to content
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

Merged
merged 3 commits into from
Oct 12, 2018
Merged

Conversation

guillett
Copy link
Member

  • Évolution du système socio-fiscal
  • Périodes concernées : toutes
  • Zones impactées:
  • model/prestations/minima_sociaux/aah
  • Détails :
    • Ajoute la variable plafond de ressources pour l'AAH

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"
Copy link
Contributor

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 ?

Copy link
Contributor

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é.

Copy link
Member Author

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
Copy link
Contributor

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 ?

@Morendil Morendil changed the title Add AAH plafond variable to make it explicit in tracer Extrait une variable explicite pour le plafond de l'AAH Oct 12, 2018
@guillett guillett merged commit 4bdec07 into master Oct 12, 2018
@guillett guillett deleted the plafond_aah branch October 12, 2018 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants