[TYPO]
This commit is contained in:
parent
26c592204b
commit
6e30c39569
@ -43,10 +43,8 @@ class GolemPaymentSchedule(models.Model):
|
|||||||
name = fields.Char(required=True)
|
name = fields.Char(required=True)
|
||||||
day_ids = fields.Many2many('golem.payment.schedule.day', string='Days')
|
day_ids = fields.Many2many('golem.payment.schedule.day', string='Days')
|
||||||
occurences = fields.Integer(compute='_compute_occurences')
|
occurences = fields.Integer(compute='_compute_occurences')
|
||||||
|
|
||||||
season_id = fields.Many2one('golem.season', 'Season', required=True)
|
season_id = fields.Many2one('golem.season', 'Season', required=True)
|
||||||
|
|
||||||
|
|
||||||
@api.depends('day_ids')
|
@api.depends('day_ids')
|
||||||
def _compute_occurences(self):
|
def _compute_occurences(self):
|
||||||
""" Computes number of occurences """
|
""" Computes number of occurences """
|
||||||
|
Loading…
Reference in New Issue
Block a user