-
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
[FW][FIX] account_group: Avoid parent_id recursion #155451
[FW][FIX] account_group: Avoid parent_id recursion #155451
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 |
e5fe39e
to
e753a35
Compare
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: a084666
e753a35
to
b8032fe
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 #155451 X-original-commit: a084666 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 task: opw-3665256 closes odoo/odoo#155451 X-original-commit: a084666ddaa8c6dcc941f47d7edfaaffb53de8df 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: #150171