refactor: replace group_operator with aggregator for rating field in google_map_review model
This commit is contained in:
parent
16d00ab012
commit
8e78de8c9b
@ -51,7 +51,7 @@ class GoogleMapReview(models.Model):
|
||||
author_name = fields.Char(string='Reviewer', index=True)
|
||||
rating = fields.Float(
|
||||
string='Average Rating',
|
||||
group_operator='avg',
|
||||
aggregator='avg',
|
||||
digits=(16, 1),
|
||||
help='Star rating 1–5.',
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user