You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
# -*- coding: utf-8 -*-
# Copyright 2017-2018 Rémy Taymans <remytaymans@gmail.com> # 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
|