[FIX] fleet: show license plate on kanban view

The license plate was not shown on the view due to a wrong t-if value.

Taskid: 2289808
X-original-commit: 474322a7f5ee346b4d57b07818fd79801b93f574
This commit is contained in:
Kevin Baptiste
2020-07-09 11:16:47 +00:00
committed by Paul Morelle
parent 9d99e75453
commit 50976f3e12
+1 -1
View File
@@ -219,7 +219,7 @@
<div class="o_kanban_image" t-attf-style="background-image:url('#{kanban_image('fleet.vehicle', 'image_128', record.id.raw_value)}')"/>
<div class="oe_kanban_details">
<strong class="o_kanban_record_title">
<t t-if="license_plate"><field name="license_plate"/> :</t> <field name="model_id"/>
<t t-if="record.license_plate.raw_value"><field name="license_plate"/>:</t> <field name="model_id"/>
</strong>
<div class="o_kanban_tags_section">
<field name="tag_ids" widget="many2many_tags" options="{'color_field': 'color'}"/>