Browse Source

[FIX] b_emc: Function misspelled

pull/134/head
Rémy Taymans 6 years ago
parent
commit
d637fe9e87
  1. 2
      beesdoo_easy_my_coop/__openerp__.py
  2. 2
      beesdoo_easy_my_coop/models/subscription_request.py

2
beesdoo_easy_my_coop/__openerp__.py

@ -16,7 +16,7 @@
# Check https://github.com/odoo/odoo/blob/master/openerp/addons/base/module/module_data.xml # Check https://github.com/odoo/odoo/blob/master/openerp/addons/base/module/module_data.xml
# for the full list # for the full list
'category': 'Cooperative management', 'category': 'Cooperative management',
'version': '9.0.1.1.0',
'version': '9.0.1.1.1',
# any module necessary for this one to work correctly # any module necessary for this one to work correctly
'depends': ['beesdoo_base', 'beesdoo_shift', 'easy_my_coop', 'easy_my_coop_eater'], 'depends': ['beesdoo_base', 'beesdoo_shift', 'easy_my_coop', 'easy_my_coop_eater'],

2
beesdoo_easy_my_coop/models/subscription_request.py

@ -20,7 +20,7 @@ class SubscriptionRequest(models.Model):
return partner_vals return partner_vals
def get_required_field(self): def get_required_field(self):
required_fields = super(SubscriptionRequest, self).get_required_fiels()
required_fields = super(SubscriptionRequest, self).get_required_field()
company = self.env['res.company']._company_default_get() company = self.env['res.company']._company_default_get()
if company.info_session_confirmation_required: if company.info_session_confirmation_required:
required_fields.append('info_session_confirmed') required_fields.append('info_session_confirmed')

Loading…
Cancel
Save