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
1273 Widoki

Hi,

When I validate an invoice, the following error appears: AssertionError: convert amount from unknown Currency.

I noticed that in the sale_order_line table, which is linked to the invoice, the currency_id was null instead of having a value. I manually set the correct value, and the invoice was then successfully validated.

I would like to prevent this issue from happening again, specifically avoiding a null value in the currency_id. What can I do to fix this, and what might be the reason why currency_id was null in the first place?

Awatar
Odrzuć
Najlepsza odpowiedź

You can look into Your company form to see if it has currency in it or not. It could be that problem or a problem related to a custom module.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
sie 20
3134
1
paź 18
3960
0
paź 15
3455
2
sie 25
1756
2
lis 24
2474