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