Allow dashboard V2 model-level payload calls

This commit is contained in:
metatroncubeswdev 2026-08-30 10:59:58 -04:00
parent 6fc7006b34
commit 45a012b828

View File

@ -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)