xml-field-bool-without-eval (XML023)#

A boolean field is set as text instead of with eval.

What it does#

Reports <field name="active">False</field> and the like for common boolean fields.

Why is this bad?#

The text is the string "False", which is true. Use <field name="active" eval="False" />.

Fix safety#

Safe for True. Unsafe for False: the stored value changes from true to false, which is the point, but check that nothing relied on it.