[IMP] web: rename properties 'view in kanban' label

Purpose:
--------
Rename the label "view in kanban" to "display in cards" in the properties
definition popover. The rationale is that the related enterprise PR allows
to display the `article_properties` in the popover of the `item calendar`,
using the kanban properties widget.
Therefore, checking the now called "display in cards" checkbox now allows
to show the property in the kanban cards and in the calendar popovers.

Task-3239985

Part-of: odoo/odoo#121608
This commit is contained in:
Adrien Schoffeniels
2023-07-13 14:47:00 +02:00
parent 5511ffe03b
commit a084c5f156
@@ -157,7 +157,10 @@
/>
</div>
<div t-if="!props.hideKanbanOption" class="o_field_property_definition_kanban d-contents mb-3 mb-sm-0">
<label t-att-for="getUniqueDomID('kanban')" class="o_form_label align-self-center text-900">View In Kanban</label>
<label t-att-for="getUniqueDomID('kanban')" class="o_form_label align-self-center text-900">
Display in Cards
<sup class="text-info" title="Whether or not this Property Field is displayed in the Calendar, Cards &amp; Kanban views">?</sup>
</label>
<CheckBox
id="getUniqueDomID('kanban')"
value="props.propertyDefinition.view_in_kanban"