[UPD] code review
This commit is contained in:
@@ -7,9 +7,9 @@ class PurchaseReport(models.Model):
|
||||
date_planned = fields.Datetime(store=True)
|
||||
|
||||
def _select(self):
|
||||
select_str = super(PurchaseReport, self)._select()
|
||||
select_str = super()._select()
|
||||
return select_str + ", l.date_planned as date_planned"
|
||||
|
||||
def _group_by(self):
|
||||
group_by_str = super(PurchaseReport, self)._group_by()
|
||||
group_by_str = super()._group_by()
|
||||
return group_by_str + ", l.date_planned"
|
||||
|
||||
Reference in New Issue
Block a user