In recruitment, clicking on configuration > job positions > kanban view leads to an odoo client error. The qweb template cannot evaluate the condition on the client side. With this commit, the ternary condition is properly evaluated. Also, an unnecessary t-attf is removed. Closes #26486