# -*- coding: utf-8 -*- # Copyright 2017-2018 Rémy Taymans # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from openerp.addons.website_portal_extend.controllers.main import ExtendWebsiteAccountController class BeesdooAccountWebsiteController(ExtendWebsiteAccountController): mandatory_billing_fields = [ "phone", "city", "country_id", "street", "zipcode", ] optional_billing_fields = [ "state_id", ] def _set_mandatory_fields(self, data): """This is not useful as the field 'company_name' is not present anymore. """ pass