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

Why excluding Parent accounts in search() ?? #9

Open
mohamedhagag opened this issue Mar 15, 2018 · 2 comments
Open

Why excluding Parent accounts in search() ?? #9

mohamedhagag opened this issue Mar 15, 2018 · 2 comments

Comments

@mohamedhagag
Copy link

mohamedhagag commented Mar 15, 2018

args += [('user_type_id.type', '!=', 'view')]

this causes the trial balance to ignore parent accounts and the report is financially not accepted by accountants.

and how to activate the show_parent in the context ?!! there's no option anywhere

why did we have this exclusion ?

@mohamedhagag
Copy link
Author

OK got it, to avoid creating transactions on a view account.
but this kills the reports, instead we should create domains in the views as it was in v.8 .

@omalbastin
Copy link

@mohamedhagag you can use the context key show_parent_account to get the parent record. But I believe we need to specify it in the action context

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