Browse Source

[FIX] return acc_number field as default value

pull/1/head
houssine 7 years ago
parent
commit
14af6801f7
  1. 2
      easy_my_coop/wizard/create_subscription_from_partner.py

2
easy_my_coop/wizard/create_subscription_from_partner.py

@ -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

Loading…
Cancel
Save