Odoo 14 CE Seeking for an Odoo Expert | Fix Error trigged by OCA MODULE
Budget: $10 – $30 USD
- Odoo 14 CE
- Module: l10n_en_fiscalcode
- Module Version: 14.0.1.0.2
(This module extends the functionality of partner allowing you to compute its Italian fiscal code.)
https://github.com/OCA/l10n-italy/tree/14.0/l10n_it_fiscalcode
When creating contacts in Odoo 14 CE with OCA Codice Fiscale Module Installed the following error in the tax code calculation masks (in Italian called: Codice Fiscale) is trigged:
- Odoo 14 CE
- Module: l10n_en_fiscalcode
- Module Version: 14.0.1.0.2
(This module extends the functionality of partner allowing you to compute its Italian fiscal code.)
https://github.com/OCA/l10n-italy/tree/14.0/l10n_it_fiscalcode
When creating contacts in Odoo 14 CE with OCA Codice Fiscale Module Installed the following error in the tax code calculation masks (in Italian called: Codice Fiscale) is trigged:
Error:
Odoo Server Error
Traceback (most recent call last):
File "/opt/odoo14/odoo/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
result = request.dispatch()
File "/opt/odoo14/odoo/odoo/http.py", line 683, in dispatch
result = self._call_function(**self.params)
File "/opt/odoo14/odoo/odoo/http.py", line 359, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo14/odoo/odoo/service/model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo14/odoo/odoo/http.py", line 347, in checked_call
result = self.endpoint(*a, **kw)
File "/opt/odoo14/odoo/odoo/http.py", line 912, in __call__
return self.method(*args, **kw)
File "/opt/odoo14/odoo/odoo/http.py", line 531, in response_wrap
response = f(*args, **kw)
File "/opt/odoo14/odoo/addons/web/controllers/main.py", line 1398, in call_button
action = self._call_kw(model, method, args, kwargs)
File "/opt/odoo14/odoo/addons/web/controllers/main.py", line 1386, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/opt/odoo14/odoo/odoo/api.py", line 399, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/opt/odoo14/odoo/odoo/api.py", line 386, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "/opt/odoo14/odoo-custom-addons/OCA/l10n-italy/l10n_it_fiscalcode/wizard/compute_fc.py", line 195, in compute_fc
c_f = build(
Exception
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/opt/odoo14/odoo/odoo/http.py", line 639, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo14/odoo/odoo/http.py", line 315, in _handle_exception
raise exception.with_traceback(None) from new_cause
NameError: name 'build' is not defined
It should not be a problem of the module itself but more a problem related to the Odoo 14 CE installation and to the pip install codicefiscale https://pypi.org/project/codicefiscale/ not properly installed in the right place. Maybe installed with Root user instead with the odoo14 user and not in the right place virualenv.
However checking virtualenv it seems to be there:
(odoo-venv) odoo14@odoo14:~$ pip install codicefiscale
Requirement already satisfied: codicefiscale in ./odoo-venv/lib/python3.8/site-packages (0.9)
(odoo-venv) odoo14@odoo14:~$
——————————————————
You should find and fix the problem.
More jobs for you to follow as an Odoo developer and Odoo WEBSITE ecommerce developper.
Thanks
- Module: l10n_en_fiscalcode
- Module Version: 14.0.1.0.2
(This module extends the functionality of partner allowing you to compute its Italian fiscal code.)
https://github.com/OCA/l10n-italy/tree/14.0/l10n_it_fiscalcode
When creating contacts in Odoo 14 CE with OCA Codice Fiscale Module Installed the following error in the tax code calculation masks (in Italian called: Codice Fiscale) is trigged:
- Odoo 14 CE
- Module: l10n_en_fiscalcode
- Module Version: 14.0.1.0.2
(This module extends the functionality of partner allowing you to compute its Italian fiscal code.)
https://github.com/OCA/l10n-italy/tree/14.0/l10n_it_fiscalcode
When creating contacts in Odoo 14 CE with OCA Codice Fiscale Module Installed the following error in the tax code calculation masks (in Italian called: Codice Fiscale) is trigged:
Error:
Odoo Server Error
Traceback (most recent call last):
File "/opt/odoo14/odoo/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
result = request.dispatch()
File "/opt/odoo14/odoo/odoo/http.py", line 683, in dispatch
result = self._call_function(**self.params)
File "/opt/odoo14/odoo/odoo/http.py", line 359, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo14/odoo/odoo/service/model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo14/odoo/odoo/http.py", line 347, in checked_call
result = self.endpoint(*a, **kw)
File "/opt/odoo14/odoo/odoo/http.py", line 912, in __call__
return self.method(*args, **kw)
File "/opt/odoo14/odoo/odoo/http.py", line 531, in response_wrap
response = f(*args, **kw)
File "/opt/odoo14/odoo/addons/web/controllers/main.py", line 1398, in call_button
action = self._call_kw(model, method, args, kwargs)
File "/opt/odoo14/odoo/addons/web/controllers/main.py", line 1386, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/opt/odoo14/odoo/odoo/api.py", line 399, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/opt/odoo14/odoo/odoo/api.py", line 386, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "/opt/odoo14/odoo-custom-addons/OCA/l10n-italy/l10n_it_fiscalcode/wizard/compute_fc.py", line 195, in compute_fc
c_f = build(
Exception
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/opt/odoo14/odoo/odoo/http.py", line 639, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo14/odoo/odoo/http.py", line 315, in _handle_exception
raise exception.with_traceback(None) from new_cause
NameError: name 'build' is not defined
It should not be a problem of the module itself but more a problem related to the Odoo 14 CE installation and to the pip install codicefiscale https://pypi.org/project/codicefiscale/ not properly installed in the right place. Maybe installed with Root user instead with the odoo14 user and not in the right place virualenv.
However checking virtualenv it seems to be there:
(odoo-venv) odoo14@odoo14:~$ pip install codicefiscale
Requirement already satisfied: codicefiscale in ./odoo-venv/lib/python3.8/site-packages (0.9)
(odoo-venv) odoo14@odoo14:~$
——————————————————
You should find and fix the problem.
More jobs for you to follow as an Odoo developer and Odoo WEBSITE ecommerce developper.
Thanks