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
[FW][FIX] account_group: Avoid parent_id recursion #156321
[FW][FIX] account_group: Avoid parent_id recursion #156321
Conversation
@BHanq @william-andre cherrypicking of pull request #150171 failed. stdout:
stderr:
Either perform the forward-port manually (and push to this branch, proceeding as usual) or close this PR (maybe?). In the former case, you may want to edit this PR message as well. More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port |
Issue: Infinite loop in Trial Balance. Analyze: The infinite loop is due to account_reports.models.account_report.AccountReport.get_account_codes `while group:` loop if a recursion exist in group.parent_id there is an infinite loop. Fix: Ensure the no recursion constrains on parent_id in account_reports. Related task: opw-3665256 X-original-commit: b57bc9c
24c7747
to
4d733de
Compare
robodoo r+ |
Issue: Infinite loop in Trial Balance. Analyze: The infinite loop is due to account_reports.models.account_report.AccountReport.get_account_codes `while group:` loop if a recursion exist in group.parent_id there is an infinite loop. Fix: Ensure the no recursion constrains on parent_id in account_reports. Related task: opw-3665256 closes #156321 X-original-commit: b57bc9c Signed-off-by: William André (wan) <wan@odoo.com> Signed-off-by: Benjamin Hanquin (beha) <beha@odoo.com>
Issue:
Infinite loop in Trial Balance.
Analyze:
The infinite loop is due to
account_reports.models.account_report.AccountReport.get_account_codes
while group:
loop if a recursion exist in group.parent_id there is an infinite loop.Fix:
Ensure the no recursion constrains on parent_id in account_reports.
Related tasks:
opw-3665256
opw-3700368
Forward-Port-Of: #155451
Forward-Port-Of: #150171