Browse Source
[FIX] fix var used before assignement
12.0-add-financial-risk
Houssine BAKKALI
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
easy_my_coop/models/account_invoice.py
|
@ -71,6 +71,7 @@ class account_invoice(models.Model): |
|
|
def get_membership_vals(self): |
|
|
def get_membership_vals(self): |
|
|
# flag the partner as an effective member |
|
|
# flag the partner as an effective member |
|
|
# if not yet cooperator we generate a cooperator number |
|
|
# if not yet cooperator we generate a cooperator number |
|
|
|
|
|
vals = {} |
|
|
if self.partner_id.member is False \ |
|
|
if self.partner_id.member is False \ |
|
|
and self.partner_id.old_member is False: |
|
|
and self.partner_id.old_member is False: |
|
|
sequence_id = self.get_sequence_register() |
|
|
sequence_id = self.get_sequence_register() |
|
|