[TYPO]GOLEM Season print...

This commit is contained in:
Fabien Bourgeois 2016-08-03 16:32:51 +02:00
parent e161912f68
commit fecb073801
1 changed files with 0 additions and 1 deletions

View File

@ -78,7 +78,6 @@ class GolemSeason(models.Model):
@api.returns('self', lambda rec: rec.id)
def create(self, values):
""" If the season if the first one created, it must be by default """
print values
if self.search_count([]) == 0:
values['is_default'] = True
return super(GolemSeason, self).create(values)