[FIX]is_current for activities had no been updated to new delegation mechanism

This commit is contained in:
Fabien Bourgeois 2016-06-27 22:30:04 +02:00
parent 8c92519692
commit 5aac6f9899

View File

@ -64,5 +64,5 @@ class GolemSeason(models.Model):
if old_default_season: if old_default_season:
old_default_season.is_default = False old_default_season.is_default = False
self.env['golem.member'].search([])._compute_is_current() self.env['golem.member'].search([])._compute_is_current()
self.env['product.template'].search([])._golem_compute_is_current() self.env['golem.activity'].search([])._compute_is_current()
return res return res