|
@ -6,6 +6,11 @@ from openerp import api, fields, models, _ |
|
|
class subscription_request(models.Model): |
|
|
class subscription_request(models.Model): |
|
|
_inherit = 'subscription.request' |
|
|
_inherit = 'subscription.request' |
|
|
|
|
|
|
|
|
|
|
|
company_type = fields.Selection([('asso','Association'), |
|
|
|
|
|
('eurl','EURL / Entreprise individuelle'), |
|
|
|
|
|
('sarl','SARL'), |
|
|
|
|
|
('sa','SA / SAS')]) |
|
|
|
|
|
|
|
|
def get_required_field(self): |
|
|
def get_required_field(self): |
|
|
required_fields = super(subscription_request,self).get_required_field() |
|
|
required_fields = super(subscription_request,self).get_required_field() |
|
|
# if 'no_registre' in required_fields: |
|
|
# if 'no_registre' in required_fields: |
|
|