|
|
@ -5,14 +5,16 @@ from openerp import fields, models |
|
|
|
class subscription_request(models.Model): |
|
|
|
_inherit = 'subscription.request' |
|
|
|
|
|
|
|
company_type = fields.Selection([('ei', 'Individual company'), |
|
|
|
('snc', 'Partnership'), |
|
|
|
('sa', 'Limited company (SA)'), |
|
|
|
('sarl', 'Limited liability company (Ltd)'), #noqa |
|
|
|
('sc', 'Cooperative'), |
|
|
|
('asso', 'Association'), |
|
|
|
('fond', 'Foundation'), |
|
|
|
('edp', 'Company under public law')]) |
|
|
|
company_type = fields.Selection(selection_add=[ |
|
|
|
('ei', 'Individual company'), |
|
|
|
('snc', 'Partnership'), |
|
|
|
('sa', 'Limited company (SA)'), |
|
|
|
('sarl', 'Limited liability company (Ltd)'), |
|
|
|
('sc', 'Cooperative'), |
|
|
|
('asso', 'Association'), |
|
|
|
('fond', 'Foundation'), |
|
|
|
('edp', 'Company under public law') |
|
|
|
]) |
|
|
|
|
|
|
|
def get_required_field(self): |
|
|
|
req_fields = super(subscription_request, self).get_required_field() |
|
|
|