xml-xpath-translatable-item (XML021)#

An <xpath> selects an element by its translatable text.

What it does#

Reports <xpath expr="..."> using [contains(text(), ...)] or [text()=...].

Why is this bad?#

The text is translated, so the expression finds nothing for users with another language, and Odoo raises an error.