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