Browse Source

[FIX] quick fix for non belgian localization(we should not take the

national number into account
pull/1/head
houssine 7 years ago
parent
commit
a805cdcb0e
  1. 2
      easy_my_coop/models/coop.py

2
easy_my_coop/models/coop.py

@ -309,6 +309,8 @@ class subscription_request(models.Model):
partner = partner[0]
if self.is_company and not partner.has_representative():
contact = False
if self.no_registre:
contact = partner_obj.search([('national_register_number','=',self.no_registre)])
if not contact:
contact_vals = {'name':self.name, 'first_name':self.firstname, 'last_name': self.lastname,

Loading…
Cancel
Save