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.

13 lines
547 B

5 years ago
  1. # © 2019 Le Filament (<http://www.le-filament.com>)
  2. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
  3. from odoo import http, _
  4. from odoo.http import request
  5. from odoo.addons.website_sale.controllers.main import WebsiteSale
  6. from odoo.addons.website_sale_delivery.controllers.main import WebsiteSaleDelivery
  7. class VracoopWebsiteSale(WebsiteSale):
  8. def _get_mandatory_billing_fields(self):
  9. res = super(VracoopWebsiteSale, self)._get_mandatory_billing_fields()
  10. return ["name", "email", "phone", "country_id"]