Skip to content
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

V18 <div class="oe_chatter"> to <chatter/> #523

Closed
rjaraspearhead opened this issue Jan 28, 2025 · 1 comment
Closed

V18 <div class="oe_chatter"> to <chatter/> #523

rjaraspearhead opened this issue Jan 28, 2025 · 1 comment

Comments

@rjaraspearhead
Copy link

Is your feature request related to a problem?
Yes, the issue arises with the migration to Odoo 18, where the use of the

tag has been replaced with the tag to handle the Chatter component in views. The current pre-commit hook does not detect the deprecated usage of
in XML files, which could lead to compatibility issues with Odoo 18.
Reference: odoo/odoo#156463 explains this change in detail.

Describe the solution you'd like
I propose enhancing the pre-commit hook to detect and raise a warning or error when

is used instead of . This will help developers identify and fix deprecated code patterns before committing, ensuring compatibility with Odoo 18.
Specifically, the hook should:

Identify instances of

in XML files.
Provide a clear message suggesting the use of instead.
Optionally, provide a quick fix or automated replacement for the deprecated tag.

@moylop260
Copy link
Collaborator

Reported correctly in the project:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants