Use legislation accessors (instead of _P) for irpp_charges_deductibles functions.
Use legislation accessors (instead of _P) for irpp_plus_values_immo & irpp_reductions_impots functions.
Re-add missing _P parameter.
Use legislation accessors (instead of _P) for isf functions.
Use legislation accessors (instead of _P) for lgtm functions.