Skip to content

[19.0][IMP] base_view_inheritance_extension: better error messages for non-locatable nodes#3607

Open
hbrunn wants to merge 1 commit intoOCA:19.0from
hbrunn:19.0-base_view_inheritance_extension-error-locate-node
Open

[19.0][IMP] base_view_inheritance_extension: better error messages for non-locatable nodes#3607
hbrunn wants to merge 1 commit intoOCA:19.0from
hbrunn:19.0-base_view_inheritance_extension-error-locate-node

Conversation

@hbrunn
Copy link
Copy Markdown
Member

@hbrunn hbrunn commented May 6, 2026

before this, having a wrong xpath or similar looked like this:

AttributeError: 'NoneType' object has no attribute 'get'

now it's

Element '<nonexistent />' cannot be located in parent view

View error context:
{'file': '...',
 'line': 1,
 'name': '...',
 'view': ir.ui.view(42,),
 'view.model': False,
 'view.parent': ir.ui.view(4242,),
 'xmlid': '...'}

@OCA-git-bot OCA-git-bot added series:19.0 mod:base_view_inheritance_extension Module base_view_inheritance_extension labels May 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:base_view_inheritance_extension Module base_view_inheritance_extension series:19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants