This commit is contained in:
michel 2018-02-09 14:34:39 +01:00
parent 1531a3c7b8
commit a36a3952d0

View File

@ -46,4 +46,4 @@ class GolemMember(models.Model):
@api.depends('invoice_ids')
def _compute_state_of_last_invoice(self):
for member in self:
if mem.invoice_ids.state == 'open':
if self.invoice_ids.state == 'open':