Skip to Content
Menu
This question has been flagged
1 Reply
1262 Views
2020-03-24 18:25:17,351 2105 ERROR pragmatic-dev-entremes-diveco-master-947747 odoo.addons.website.models.ir_http: 500 Internal Server Error:

Traceback (most recent call last):
  File "/home/odoo/src/odoo/odoo/addons/base/models/ir_http.py", line 203, in _dispatch
    result = request.dispatch()
  File "/home/odoo/src/odoo/odoo/http.py", line 835, in dispatch
    r = self._call_function(**self.params)
  File "/home/odoo/src/odoo/odoo/http.py", line 346, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/home/odoo/src/odoo/odoo/service/model.py", line 97, in wrapper
    return f(dbname, *args, **kwargs)
  File "/home/odoo/src/odoo/odoo/http.py", line 339, in checked_call
    result = self.endpoint(*a, **kw)
  File "/home/odoo/src/odoo/odoo/http.py", line 941, in __call__
    return self.method(*args, **kw)
  File "/home/odoo/src/odoo/odoo/http.py", line 519, in response_wrap
    response = f(*args, **kw)
  File "/home/odoo/src/odoo/addons/website_sale/controllers/main.py", line 677, in address
    errors, error_msg = self.checkout_form_validate(mode, kw, pre_values)
  File "/home/odoo/src/odoo/addons/website_sale/controllers/main.py", line 564, in checkout_form_validate
    data["vat"] = Partner.fix_eu_vat_number(data.get("country_id"), data.get("vat"))
AttributeError: 'res.partner' object has no attribute 'fix_eu_vat_number'

2020-03-24 18:25:17,480 2105 INFO pragmatic-dev-entremes-diveco-master-947747 werkzeug: 181.54.107.133 - - [24/Mar/2020 18:25:17] "POST /es_CO/shop/address HTTP/1.0" 500 - 131 0.077 0.130
Oscar • 1 min
Avatar
Discard
Best Answer

Hi, Alieth

Seems like "base_vat" is not installed at your Odoo. As "fix_eu_vat_number" method belongs to "base_vat" due to this you are getting this issue.

So please install this module "base_vat" in order to fix this issue.

Thanks,
Ashish Singh (Team Lead)
Webkul Software Private Limited
Avatar
Discard