Skip to content
Snippets Groups Projects
Commit 2148529a authored by migodoo's avatar migodoo
Browse files

[fix] migration script

parent fe6306c7
No related branches found
No related tags found
No related merge requests found
...@@ -36,7 +36,7 @@ class ScopMonthTimesheet(models.Model): ...@@ -36,7 +36,7 @@ class ScopMonthTimesheet(models.Model):
return self.env["res.company"]._ur_default_get() return self.env["res.company"]._ur_default_get()
year = fields.Selection( year = fields.Selection(
selection=get_years(), string="Année", default=fields.Date.today().year selection=get_years(), string="Année", default=str(fields.Date.today().year)
) )
month = fields.Selection(selection=MONTHS, string="Mois") month = fields.Selection(selection=MONTHS, string="Mois")
company_id = fields.Many2one( company_id = fields.Many2one(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment