You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
836 B

  1. # -*- coding: utf-8 -*-
  2. from openerp import api, fields, models, _
  3. class subscription_request(models.Model):
  4. _inherit = 'subscription.request'
  5. # company_type = fields.Selection([('asso','Association'),
  6. # ('eurl','EURL / Entreprise individuelle'),
  7. # ('sarl','SARL'),
  8. # ('sa','SA / SAS')])
  9. # def get_required_field(self):
  10. # required_fields = super(subscription_request,self).get_required_field()
  11. # if 'iban' in required_fields:
  12. # required_fields.remove('iban')
  13. #
  14. # return required_fields
  15. def check_belgian_identification_id(self, nat_register_num):
  16. #deactivate number validation for french localization
  17. return True