[FIX]GOLEM Resource Report : at least 1 resource is needed

This commit is contained in:
Fabien BOURGEOIS 2018-05-25 17:16:19 +02:00
parent 3353db163f
commit 41633d574f

View File

@ -25,7 +25,7 @@ class GolemResourceReportWizard(models.TransientModel):
"""GOLEM Report Wizard : Choose report parameters """
_name = "golem.resource.report.wizard"
resource_ids = fields.Many2many('golem.resource')
resource_ids = fields.Many2many('golem.resource', required=True)
date_start = fields.Date(required=True)
date_stop = fields.Date(required=True)