From 8440568f9c003067b4b11feb8e5ede07eff2dd29 Mon Sep 17 00:00:00 2001 From: houssine Date: Fri, 2 Aug 2019 20:22:59 +0200 Subject: [PATCH] [IMP] put class name in camel case --- easy_my_coop_be/models/coop.py | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/easy_my_coop_be/models/coop.py b/easy_my_coop_be/models/coop.py index 0f4afd1..d912681 100644 --- a/easy_my_coop_be/models/coop.py +++ b/easy_my_coop_be/models/coop.py @@ -2,12 +2,10 @@ from openerp import fields, models -class subscription_request(models.Model): +class SubscriptionRequest(models.Model): _inherit = 'subscription.request' - company_type = fields.Selection(selection_add=[ - ('scrl', 'SCRL'), - ('asbl', 'ASBL'), - ('sprl', 'SPRL'), - ('sa', 'SA') - ]) + company_type = fields.Selection([('scrl', 'SCRL'), + ('asbl', 'ASBL'), + ('sprl', 'SPRL'), + ('sa', 'SA')])