From be6ee9cfd83d78bb08f91c2494bb8a0f3e637682 Mon Sep 17 00:00:00 2001 From: b-michaud <b.michaud@outlook.com> Date: Mon, 31 Mar 2025 16:50:23 +0000 Subject: [PATCH] maj inflators references pour param aides logement --- .../contrefactuel_plf/__init__.py | 1 + .../contrefactuel_plf/inflator_references.py | 16 +++------------- 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/openfisca_france_reforms/contrefactuel_plf/__init__.py b/openfisca_france_reforms/contrefactuel_plf/__init__.py index 282d536d..578d4325 100644 --- a/openfisca_france_reforms/contrefactuel_plf/__init__.py +++ b/openfisca_france_reforms/contrefactuel_plf/__init__.py @@ -91,6 +91,7 @@ def modify_parameters(parameters): ### aides au logement paramètres loyers list_param_al_loyer = [ param_apl.locatif.formule.l_plafonds_loyers.par_zone, + param_apl.locatif.formule.pp_particip_perso.r0_abattement.cas_general, param_apl.locatif.formule.c_forfait_charges, param_apl.foyer.al.formule.c_forfait_charges, param_apl.accession.formule.c_forfait_charges, diff --git a/openfisca_france_reforms/contrefactuel_plf/inflator_references.py b/openfisca_france_reforms/contrefactuel_plf/inflator_references.py index 4ecc860f..c29617fa 100644 --- a/openfisca_france_reforms/contrefactuel_plf/inflator_references.py +++ b/openfisca_france_reforms/contrefactuel_plf/inflator_references.py @@ -106,7 +106,7 @@ def modify_metadata(parameters): ) add_metadata( - param_apl.al_charge, + param_apl.locatif.formule.c_forfait_charges, { "inflator_reference": { "title": "Article L823-4 du code de la construction et de l'habitation", @@ -116,17 +116,7 @@ def modify_metadata(parameters): ) add_metadata( - param_apl.al_plaf_logement_foyer, - { - "inflator_reference": { - "title": "Article L823-4 du code de la construction et de l'habitation", - "href": "https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000046194144", - } - }, - ) - - add_metadata( - param_apl.al_etudiant, + param_apl.foyer.al.formule.l_plafonds_loyers, { "inflator_reference": { "title": "Article L823-4 du code de la construction et de l'habitation", @@ -146,7 +136,7 @@ def modify_metadata(parameters): ) add_metadata( - param_apl.al_param_r0.r0, + param_apl.locatif.formule.pp_particip_perso.r0_abattement.cas_general, { "inflator_reference": { "title": "Article D823-17 du code de la construction et de l'habitation", -- GitLab