You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Me han recomendado abrir un issue aquí. Ante nada perdón, ya que no soy técnico, por lo que si necesitáis más información decidme.
Al instalar el libro de IVA en 17.0, he identificado que, si en el periodo que intento generar un libro de IVA hay una factura que tenga el impuesto DUA aplicado, me produce el siguiente error:
`RPC_ERROR
Odoo Server Error
Traceback (most recent call last):
File "/home/odoo/src/odoo/odoo/http.py", line 1783, in _serve_db
return service_model.retrying(self._serve_ir_http, self.env)
File "/home/odoo/src/odoo/odoo/service/model.py", line 133, in retrying
result = func()
File "/home/odoo/src/odoo/odoo/http.py", line 1810, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
File "/home/odoo/src/odoo/odoo/http.py", line 2014, in dispatch
result = self.request.registry['ir.http']._dispatch(endpoint)
File "/home/odoo/src/odoo/addons/website/models/ir_http.py", line 235, in _dispatch
response = super()._dispatch(endpoint)
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_http.py", line 222, in _dispatch
result = endpoint(**request.params)
File "/home/odoo/src/odoo/odoo/http.py", line 759, in route_wrapper
result = endpoint(self, *args, **params_ok)
File "/home/odoo/src/odoo/addons/web/controllers/dataset.py", line 28, in call_button
action = self._call_kw(model, method, args, kwargs)
File "/home/odoo/src/odoo/addons/web/controllers/dataset.py", line 20, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/home/odoo/src/odoo/odoo/api.py", line 468, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/home/odoo/src/odoo/odoo/api.py", line 453, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "/home/odoo/src/user/l10n_es_aeat/models/l10n_es_aeat_report.py", line 346, in button_calculate
res = self.calculate()
File "/home/odoo/src/user/l10n_es_vat_book/models/l10n_es_vat_book.py", line 207, in calculate
self._calculate_vat_book()
File "/home/odoo/src/user/l10n_es_vat_book/models/l10n_es_vat_book.py", line 470, in _calculate_vat_book
rec.create_vat_book_lines(lines, map_lines[:1].book_type, taxes)
File "/home/odoo/src/user/l10n_es_vat_book/models/l10n_es_vat_book.py", line 404, in create_vat_book_lines
tax_line.pop("other_tax_ids")
KeyError: 'other_tax_ids'
The above server error caused the following client error:
RPC_ERROR: Odoo Server Error
RPC_ERROR
at makeErrorFromResponse (/web/assets/96d4c34/web.assets_web.min.js:2893:163)
at XMLHttpRequest. (/web/assets/96d4c34/web.assets_web.min.js:2897:13)`
Sin embargo, si el periodo no incluye ninguna factura con DUA, genera el libro sin ningún problema.
Espero que sea suficiente para identificar el fallo.
Gracias,
The text was updated successfully, but these errors were encountered:
Buenos días, después de hacer un post en el foro: https://www.aeodoo.org/en/forum/general-1/error-despues-de-instalar-libro-de-iva-en-odoo-17-1679
Me han recomendado abrir un issue aquí. Ante nada perdón, ya que no soy técnico, por lo que si necesitáis más información decidme.
Al instalar el libro de IVA en 17.0, he identificado que, si en el periodo que intento generar un libro de IVA hay una factura que tenga el impuesto DUA aplicado, me produce el siguiente error:
`RPC_ERROR
Odoo Server Error
Traceback (most recent call last):
File "/home/odoo/src/odoo/odoo/http.py", line 1783, in _serve_db
return service_model.retrying(self._serve_ir_http, self.env)
File "/home/odoo/src/odoo/odoo/service/model.py", line 133, in retrying
result = func()
File "/home/odoo/src/odoo/odoo/http.py", line 1810, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
File "/home/odoo/src/odoo/odoo/http.py", line 2014, in dispatch
result = self.request.registry['ir.http']._dispatch(endpoint)
File "/home/odoo/src/odoo/addons/website/models/ir_http.py", line 235, in _dispatch
response = super()._dispatch(endpoint)
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_http.py", line 222, in _dispatch
result = endpoint(**request.params)
File "/home/odoo/src/odoo/odoo/http.py", line 759, in route_wrapper
result = endpoint(self, *args, **params_ok)
File "/home/odoo/src/odoo/addons/web/controllers/dataset.py", line 28, in call_button
action = self._call_kw(model, method, args, kwargs)
File "/home/odoo/src/odoo/addons/web/controllers/dataset.py", line 20, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/home/odoo/src/odoo/odoo/api.py", line 468, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/home/odoo/src/odoo/odoo/api.py", line 453, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "/home/odoo/src/user/l10n_es_aeat/models/l10n_es_aeat_report.py", line 346, in button_calculate
res = self.calculate()
File "/home/odoo/src/user/l10n_es_vat_book/models/l10n_es_vat_book.py", line 207, in calculate
self._calculate_vat_book()
File "/home/odoo/src/user/l10n_es_vat_book/models/l10n_es_vat_book.py", line 470, in _calculate_vat_book
rec.create_vat_book_lines(lines, map_lines[:1].book_type, taxes)
File "/home/odoo/src/user/l10n_es_vat_book/models/l10n_es_vat_book.py", line 404, in create_vat_book_lines
tax_line.pop("other_tax_ids")
KeyError: 'other_tax_ids'
The above server error caused the following client error:
RPC_ERROR: Odoo Server Error
RPC_ERROR
at makeErrorFromResponse (/web/assets/96d4c34/web.assets_web.min.js:2893:163)
at XMLHttpRequest. (/web/assets/96d4c34/web.assets_web.min.js:2897:13)`
Sin embargo, si el periodo no incluye ninguna factura con DUA, genera el libro sin ningún problema.
Espero que sea suficiente para identificar el fallo.
Gracias,
The text was updated successfully, but these errors were encountered: