Allow dashboard V2 model-level payload calls
This commit is contained in:
parent
6fc7006b34
commit
45a012b828
@ -180,6 +180,7 @@ class McsOperatingDashboard(models.Model):
|
|||||||
OperatingSystemSetup(self.env).run()
|
OperatingSystemSetup(self.env).run()
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
@api.model
|
||||||
def get_ceo_dashboard_v2_data(self):
|
def get_ceo_dashboard_v2_data(self):
|
||||||
today = fields.Date.context_today(self)
|
today = fields.Date.context_today(self)
|
||||||
month_start = today.replace(day=1)
|
month_start = today.replace(day=1)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user