Browse Source

[FIX] fix typo and set back selection_add

12.0-add-financial-risk
houssine 5 years ago
parent
commit
ae29f4219d
  1. 2
      easy_my_coop_ch/models/coop.py
  2. 2
      easy_my_coop_fr/models/coop.py
  3. 2
      easy_my_coop_fr/models/partner.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([
company_type = fields.Selection(selection_add=[
('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([
company_type = fields.Selection(selection_add=[
('asso', 'Association'),
('eurl', 'EURL / Entreprise individuelle'),
('sarl', 'SARL'),

2
easy_my_coop_fr/models/partner.py

@ -4,7 +4,7 @@ from odoo import fields, models
class ResPartner(models.Model):
_inherit = 'res.partner'
gal_form = fields.Selection(selection_add=[
legal_form = fields.Selection(selection_add=[
('asso', 'Association'),
('eurl', 'EURL / Entreprise individuelle'),
('sarl', 'SARL'),

Loading…
Cancel
Save