xml-deprecated-oe-chatter (XML015)#
A form uses <div class="oe_chatter"> instead of <chatter/>.
Applies to Odoo 18.0 and later.
What it does#
Reports <div class="oe_chatter"> in modules for Odoo 18.0 and later.
Why is this bad?#
Odoo 18.0 added the <chatter/> tag for form views. See
odoo/odoo#156463.
Fix safety#
Safe for the standard block: the followers, activities and messages fields
(message_follower_ids, activity_ids, message_ids), with or without
their mail_* widgets, become <chatter/>. Unsafe when the block has only
some of them, as <chatter/> shows what the model supports, or when an
xpath of the module looks for oe_chatter. No fix for a block with options,
groups or other content.