[FIX] project: use correct field name for rating

- Description of the issue
  Get internal server error while render page at website side

- Current behavior before commit:
  name field does not exist in rating.rating model
  because of this page should not be render and gives internal server error

- Desired behavior after commit:
  set proper field res_name which is already exist in rating.rating model

Closes #26568
This commit is contained in:
Pragya Ladda
2018-08-24 15:48:26 +02:00
committed by jem-odoo
parent 0c482b07b6
commit 3c4c6b955d
@@ -160,7 +160,7 @@
<t t-foreach="ratings" t-as="rating">
<img t-attf-src='/rating/static/src/img/rating_#{int(rating.rating)}.png'
class="mt4 o_rating_image"
t-att-alt="rating.name"
t-att-alt="rating.res_name"
t-att-data-id="rating.id"
t-att-data-rating-date="rating.write_date"/>
<t t-call="project.portal_project_rating_popover"/>