While developing a new module dependant on spreadsheet_oca I've noticed that the editor fails to open when the breadcrumbs are 4+ depth.
Module
spreadsheet_oca
Describe the bug
If on a given situation, we try to access the editor, and at that particular moment the breadcrumbs are 4+ depth, we get an Owl error "Error: Component is destroyed"
To Reproduce
Affected versions: at least v18 and v19
Steps to reproduce the behavior (on spreadsheet_oca vanilla is really hard to detect, so I'll manually create a field for the sake of replicating this problem):
- Manually create a m2o field for the spreadsheet.spreadsheet model, make it a relational to spreadsheet.spreadsheet itlself
- Add that field to the form view and create any relation, any record would do.
- Use the internal link for accessing the related record
- Once the breadcrumbs depth is 4+ depth, try to use the Edit smart button, this will trigger the error (Error: Component is destroyed) and you won't be able to access the editor interface
Expected behavior
Being able to access the editor's interface no matter the depth of the breadcrumbs
While developing a new module dependant on spreadsheet_oca I've noticed that the editor fails to open when the breadcrumbs are 4+ depth.
Module
spreadsheet_oca
Describe the bug
If on a given situation, we try to access the editor, and at that particular moment the breadcrumbs are 4+ depth, we get an Owl error "Error: Component is destroyed"
To Reproduce
Affected versions: at least v18 and v19
Steps to reproduce the behavior (on spreadsheet_oca vanilla is really hard to detect, so I'll manually create a field for the sake of replicating this problem):
Expected behavior
Being able to access the editor's interface no matter the depth of the breadcrumbs