Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
1341 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 8 20
3188
1
thg 10 18
3992
0
thg 10 15
3504
2
thg 8 25
1859
2
thg 11 24
2545