-
Notifications
You must be signed in to change notification settings - Fork 23.1k
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
[14.0] Many groups under with application(category_id) as Invoicing will crash odoo while opening users menu #72201
Comments
Which crash? The traceback? If JS, please report it with debug=assets mode enabled. |
@pedrobaeza it is not a issue from JS and no traceback on this case. It is only for the res.users menu. It is from the load_views and further investigating, it is from fields_get() in res.users. For the purpose of translation in Invoicing category, a combination of group id is made and for each combination a dynamic field is created. So if there are n groups under the Invoicing, then n! additional fields are created. The size of data becomes huge. |
I didn't say it was JS, just saying that if JS, do that thing. If it's not JS, then paste the Python traceback. |
no python traceback too. The size of data becomes huge with increase in number of groups inside the Invoicing category. If 10 new groups were added, then 3628800 new fields are added additionally |
Did you properly stack them, respecting the hierarchy? |
not in the runbot. but yes, when i tried in my local. These groups were like CRUD access to different models and top of it comes the billing group |
Not sure if this limitation is expected, but tagging the issue for letting Odoo team to further analyze. |
Impacted versions: 14.0
Steps to reproduce: Go to groups, create atleast 8 groups with application(category id ) as Invoicing (xml id:base.module_category_accounting_accounting). Then refresh the page and go to users.
Current behavior: Browser crashes because of large amount of data to load.
Expected behavior: It should load without any issue
Video/Screenshot link (optional): Database I have tested: https://8309272-14-0-all.runbot40.odoo.com
I have tested by creating 8 test groups.
Support ticket number submitted via odoo.com/help (optional):
The text was updated successfully, but these errors were encountered: