[FIX] rating: improvement for rating image display in kanban

Steps to reproduce:
- install project, studio
- activate ratings for projects and create a kanban view with the rating model
(trough studio)

Previous behavior:
some images in the kanban view are not displayed

Current behavior:
all images are displayed properly

opw-2205549

closes odoo/odoo#48462

X-original-commit: 4b5691dee5a397551ca92a9ac78571ce7f82f276
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
This commit is contained in:
jerome hanke (jhk)
2020-03-26 17:19:34 +00:00
parent a3fa70fd5f
commit 873dd73540
+1 -1
View File
@@ -68,7 +68,7 @@
<t t-name="kanban-box">
<div class="oe_kanban_global_click">
<div class="o_kanban_image">
<img t-attf-src="/rating/static/src/img/rating_#{record.rating.raw_value}.png" t-att-alt="record.rating.name"/>
<field name="rating_image" widget="image"/>
</div>
<div class="oe_kanban_details">
<strong>