Browse Source

[FIX] fix wrong attribute name

12.0-small-changes
houssine 5 years ago
committed by robin.keunen
parent
commit
90f6bd776f
  1. 2
      easy_my_coop/models/coop.py

2
easy_my_coop/models/coop.py

@ -502,7 +502,7 @@ class SubscriptionRequest(models.Model):
'out_inv_comm_algorithm': 'random', 'out_inv_comm_algorithm': 'random',
'lang': self.lang, 'lang': self.lang,
'birthdate_date': self.birthdate, 'birthdate_date': self.birthdate,
'parent_id': self.partner.id,
'parent_id': self.partner_id.id,
'representative': True, 'representative': True,
'function': self.contact_person_function, 'function': self.contact_person_function,
'type': 'representative', 'type': 'representative',

Loading…
Cancel
Save