piecash
piecash copied to clipboard
Direct acces to children account
Hello,
I use your package to import a csv from my bank to gnucash (I also do some cleaning etc.) and on my work I asked myself if you thought to implemente a direct acces to a children account.
book.account(name="Expenses:Auto:Repair and Maintenance")
-> Account<Expenses:Auto:Repair and Maintenance[EUR]>
instead of book.account(name="Expenses").children(name="Auto").children(name="Repair and Maintenance")
Because in my book I have some account with the same name but different root.
Exemple :
Account<Expenses:Auto BMW:Repair and Maintenance[EUR]>
Account<Expenses:Auto AUDI:Repair and Maintenance[EUR]>
so book.account(name="Repair and Maintenance")
will not work.
thanks
I think you can also filter on the full/long name of the account.
Oh thanks ! I didn't know for the fullname attribut.