Browse Source

[FIX] fix selection field

12.0-add-financial-risk
houssine 5 years ago
parent
commit
7d28cdb7ca
  1. 2
      easy_my_coop_ch/models/coop.py
  2. 2
      easy_my_coop_fr/models/coop.py

2
easy_my_coop_ch/models/coop.py

@ -4,7 +4,7 @@ from odoo import fields, models
class SubscriptionRequest(models.Model):
_inherit = 'subscription.request'
company_type = fields.Selection(selection_add=[
company_type = fields.Selection([
('ei', 'Individual company'),
('snc', 'Partnership'),
('sa', 'Limited company (SA)'),

2
easy_my_coop_fr/models/coop.py

@ -4,7 +4,7 @@ from odoo import fields, models
class SubscriptionRequest(models.Model):
_inherit = 'subscription.request'
company_type = fields.Selection(selection_add=[
company_type = fields.Selection([
('asso', 'Association'),
('eurl', 'EURL / Entreprise individuelle'),
('sarl', 'SARL'),

Loading…
Cancel
Save