forked from Yaltik/golem
[FIX]Payment occurence fix : bad loop
This commit is contained in:
parent
94dcc2aa7d
commit
9660aba19e
@ -44,4 +44,4 @@ class GolemPaymentSchedule(models.Model):
|
||||
def _compute_occurences(self):
|
||||
""" Computes number of occurences """
|
||||
for schedule in self:
|
||||
schedule.occurences = len(self.day_ids)
|
||||
schedule.occurences = len(schedule.day_ids)
|
||||
|
Loading…
Reference in New Issue
Block a user