Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
1298 Visualizzazioni

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?

Avatar
Abbandona
Risposta migliore

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.

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
ago 20
3165
1
ott 18
3971
0
ott 15
3465
2
ago 25
1804
2
nov 24
2506