[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:
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user