mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX] Default date in Kellys Report
This commit is contained in:
@@ -31,7 +31,7 @@ class KellysWizard(models.TransientModel):
|
|||||||
def _get_default_habitaciones(self):
|
def _get_default_habitaciones(self):
|
||||||
return self.calculalimpiar(datetime.now())
|
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:",
|
habitaciones = fields.Many2many('kellysrooms', string="Limpieza:",
|
||||||
default=_get_default_habitaciones)
|
default=_get_default_habitaciones)
|
||||||
order = fields.Selection([
|
order = fields.Selection([
|
||||||
|
|||||||
Reference in New Issue
Block a user