[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#5904 Forward-port-of: odoo/documentation#5899 Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
This commit is contained in:
parent
08bf0d63fe
commit
80c084c23f
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user