[IMP] rating: changed duplicate field label in the same model

This commit is contained in:
Kinjal Mehta
2018-01-04 17:56:56 +05:30
parent c90348d482
commit 3000e61d69
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ class Rating(models.Model):
('satisfied', 'Satisfied'),
('not_satisfied', 'Not satisfied'),
('highly_dissatisfied', 'Highly dissatisfied'),
('no_rating', 'No Rating yet')], string='Rating', store=True, compute='_compute_rating_text', readonly=True)
('no_rating', 'No Rating yet')], string='Rating Text', store=True, compute='_compute_rating_text', readonly=True)
feedback = fields.Text('Comment', help="Reason of the rating")
message_id = fields.Many2one('mail.message', string="Linked message", help="Associated message when posting a review. Mainly used in website addons.", index=True)
access_token = fields.Char('Security Token', default=new_access_token, help="Access token to set the rating of the value")
+1 -1
View File
@@ -132,7 +132,7 @@
<field name="arch" type="xml">
<search string="Ratings">
<field name="rated_partner_id"/>
<field name="rating"/>
<field name="rating" string="Rating"/>
<field name="partner_id"/>
<field name="res_name" filter_domain="[('res_name','ilike',self)]"/>
<field name="res_id"/>