budget report forced displayed subcategories can have no parent

Bug #2043385 reported by HelloTheWorld
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HomeBank
Fix Released
Medium
Maxime DOYEN

Bug Description

As you can see below, there is some sub-categories that are forced to show (Force monitoring this category), as other expense are.

BUT the issue is that, contrary to other expense is the same case,
A/ it doesn't automatically get back it's main categorie in the report
and
B/ it doesn't goes in alphabetical order, it goes were it wants

*****
How to reproduce (not sure, but it seems to be this):

- Choose a INCOME subcategory without any amount, within a INCOME category without any amount, and without any other category with any amount (in other word, no amount in main category neither in any of it's subcategory)
- Choose to Force monitoring THIS SUBcategory (do not force main category)
- Open budget report

This income subcategory doesn't stack and organize as the expense's cat' and subcat'.

here is an extract from budget CSV export (onscreen report show the same issue)

*****
WHAT WE HAVE :

Catégorie
Abonnement/factures
Abonnement/factures:Assurance décès
Abonnement/factures:Assurance
Abonnement/factures:Charges
Abonnement/factures:Eau
Abonnement/factures:Électricité & Gaz
Abonnement/factures:Internet
Abonnement/factures:Ménage
Abonnement/factures:Portable
Abonnements sport
Abonnements sport:Judo
Abonnements sport:Voile
Alimentation
Autres revenus:Assurance prêt ?????
Auto/moto
Auto/moto:Carburant
Auto/moto:Entretien/réparations
Crédits
Crédits:Remb. crédits conso
Crédits:Remb. prêt immobilier
Divers
Autres revenus:Dons et cadeaux ?????
Enfants
Enfants:Activité sportive/culturelle
Enfants:Frais de garde
Enfants:Frais divers
Enfants:Frais ville
Équipement du logement
Frais bancaires
Frais bancaires:Services / Abonnement
Frais professionnels

*****
EXPECTED :
Catégorie
Abonnement/factures
Abonnement/factures:Assurance décès
Abonnement/factures:Assurance
Abonnement/factures:Charges
Abonnement/factures:Eau
Abonnement/factures:Électricité & Gaz
Abonnement/factures:Internet
Abonnement/factures:Ménage
Abonnement/factures:Portable
Abonnements sport
Abonnements sport:Judo
Abonnements sport:Voile
Alimentation
Auto/moto
Auto/moto:Carburant
Auto/moto:Entretien/réparations
Autres revenus
Autres revenus:Assurance prêt
Autres revenus:Dons et cadeaux
Crédits
Crédits:Remb. crédits conso
Crédits:Remb. prêt immobilier
Divers
Enfants
Enfants:Activité sportive/culturelle
Enfants:Frais de garde
Enfants:Frais divers
Enfants:Frais ville
Équipement du logement
Frais bancaires
Frais bancaires:Services / Abonnement
Frais professionnels

*****
version 7.5.2 portable installation, windows 11

description: updated
Revision history for this message
HelloTheWorld (loic-dupont) wrote (last edit ):

It *might* be because the previous sub category is an income, in a main category that is an expense.

It would be weird if it's the reason, but it could be it.

See attachment.

Revision history for this message
HelloTheWorld (loic-dupont) wrote :

workaround : force the main cat itself, Autres revenus, to be monitored.

Maxime DOYEN (mdoyen)
Changed in homebank:
milestone: none → 5.7.3
Maxime DOYEN (mdoyen)
Changed in homebank:
assignee: nobody → Maxime DOYEN (mdoyen)
importance: Undecided → Medium
status: New → Confirmed
Maxime DOYEN (mdoyen)
summary: - unconstant sub-cat behavior (expense vs income) in budget report and
- budget CSV report
+ budget report forced displayed subcategories can have no parent
Maxime DOYEN (mdoyen)
Changed in homebank:
status: Confirmed → Fix Committed
Maxime DOYEN (mdoyen)
Changed in homebank:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.