Browse Source

[FIX] remove self

pull/1/head
houssine 7 years ago
parent
commit
557600510c
  1. 4
      easy_my_coop/wizard/create_subscription_from_partner.py

4
easy_my_coop/wizard/create_subscription_from_partner.py

@ -53,8 +53,8 @@ class PartnerCreateSubscription(models.TransientModel):
@api.model
def _get_bank_account(self):
partner = self._get_partner()
if len(self.partner.bank_ids) > 0:
return self.partner.bank_ids[0]
if len(partner.bank_ids) > 0:
return partner.bank_ids[0]
return None
@api.model

Loading…
Cancel
Save