[FW][FIX] developer/tutorials: wrong kanban view example

Pretty sure the previous wasnt the intended result as it would show the "this is new" in a new kanban card. This just groups it with the property it belongs to.

closes odoo/documentation#5905

Forward-port-of: odoo/documentation#5899
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
This commit is contained in:
dispread 2023-09-25 14:09:51 +00:00 committed by GitHub
parent c661dad1f8
commit 1b251dbd1f

View File

@ -83,9 +83,9 @@ conditionally, we can use the ``t-if`` directive (see :ref:`reference/qweb/condi
<t t-name="kanban-box">
<div class="oe_kanban_global_click">
<field name="name"/>
</div>
<div t-if="record.state.raw_value == 'new'">
This is new!
<div t-if="record.state.raw_value == 'new'">
This is new!
</div>
</div>
</t>
</templates>