Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Direct acces to children account #189

Open
UmeSiyah opened this issue Nov 17, 2021 · 2 comments
Open

Direct acces to children account #189

UmeSiyah opened this issue Nov 17, 2021 · 2 comments

Comments

@UmeSiyah
Copy link

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

@sdementen
Copy link
Owner

I think you can also filter on the full/long name of the account.

@UmeSiyah
Copy link
Author

Oh thanks ! I didn't know for the fullname attribut.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants