[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 

Forward-port-of: 
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
This commit is contained in:
dispread 2023-09-25 13:48:37 +00:00 committed by GitHub
parent ac792e254d
commit 68a90c8ff8

View File

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