[FIX] account_budget: wrong computation of function fields for report

Filter the lines by date and remove context hack
Did some cleaning of this mess