Browse Source

[FIX] fix var used before assignement

12.0-add-financial-risk
Houssine BAKKALI 5 years ago
committed by GitHub
parent
commit
a103acb35c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      easy_my_coop/models/account_invoice.py

1
easy_my_coop/models/account_invoice.py

@ -71,6 +71,7 @@ class account_invoice(models.Model):
def get_membership_vals(self):
# flag the partner as an effective member
# if not yet cooperator we generate a cooperator number
vals = {}
if self.partner_id.member is False \
and self.partner_id.old_member is False:
sequence_id = self.get_sequence_register()

Loading…
Cancel
Save