You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The extra setup probably affects any o2m whose edition view itself
contains an o2m, but most likely to blow up entirely on models with
some sort of tree structure (parent/child relationship): the SSF
eagerly loads and setups the o2m's view, and the o2m's o2m's, ... ad
infinitam.
A better / cleaner fix would be to set up the subview on-demand (and
possibly cache it), but the rest of the o2m stuff is unlikely to work
correctly recursively so just don't recurse the o2m view setup at all
for now.
fixesodoo#31458
Steps to reproduce:
Make a model having both a one2many & many2one to itself.
Current behavior:
RecursionError when using the Form view emulator even both fields are readonly.
branch adding a test depicting this issue:
master...odoo-dev:master-form-recursive-o2m-las
The text was updated successfully, but these errors were encountered: