Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
1389 Widoki

I've successfully authenticated on HMRC with my Government Gateway account and I've authorized Odoo through the wizard. When I try to click on Send to HMRC, I'm getting this error:


RPC_ERROR

Odoo Server Error

Traceback (most recent call last):

  File "/home/odoo/src/odoo/odoo/hmrc_vat_obligation.py", line 102, in _get_vat

    if vat.startswith(('GB', 'XI')):

AttributeError: 'bool' object has no attribute 'startswith'


The above server error caused the following client error:

null

Awatar
Odrzuć
Najlepsza odpowiedź

Hi,

The issue you're encountering with HMRC VAT submissions is likely due to the annual changes in HMRC's VAT API, which can break existing integrations unless the relevant addons, like Odoo's UK-Accounting Reports module, are updated. To resolve this, ensure that you're using the latest version of the addon, as HMRC's VAT API is updated every year. If you're using older addons, they may not be compatible with the latest HMRC changes.

Hope it helps.


Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
maj 17
4894
1
mar 15
5292
1
lip 25
1246
2
gru 23
2830
1
maj 23
2461