Browse Source

[IMP] removed unnecessary var declaration

pull/36/head
houssine 5 years ago
committed by robin.keunen
parent
commit
a4670423ec
  1. 1
      easy_my_coop_loan/models/loan.py

1
easy_my_coop_loan/models/loan.py

@ -77,7 +77,6 @@ class LoanIssue(models.Model):
@api.multi
def get_max_amount(self, partner):
max_amount = 0
lines = self.loan_issue_lines.filtered(
lambda r: r.partner_id == partner and r.state != 'cancelled')
already_subscribed = sum(line.amount for line in lines)

Loading…
Cancel
Save