From 8a8c2e613ec7d74e511d7e81b37d430c7bfde6ad Mon Sep 17 00:00:00 2001 From: Jose Luis Date: Tue, 14 May 2019 20:18:29 +0200 Subject: [PATCH] [FIX] Default date in Kellys Report --- kellys_daily_report/wizard/kellys_daily_pdf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kellys_daily_report/wizard/kellys_daily_pdf.py b/kellys_daily_report/wizard/kellys_daily_pdf.py index a3557fd76..ef2801e82 100644 --- a/kellys_daily_report/wizard/kellys_daily_pdf.py +++ b/kellys_daily_report/wizard/kellys_daily_pdf.py @@ -31,7 +31,7 @@ class KellysWizard(models.TransientModel): def _get_default_habitaciones(self): return self.calculalimpiar(datetime.now()) - date_start = fields.Date("Fecha del listado", default=datetime.now()) + date_start = fields.Date("Fecha del listado", default=date.today()) habitaciones = fields.Many2many('kellysrooms', string="Limpieza:", default=_get_default_habitaciones) order = fields.Selection([