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

Hi peeps.


Im losing my mind today. I use stripe and when a payment comes through it should get registered since the payment is done. The problem is that the customers gets redirected to and error page that says "Only invoices could be printed". The payment comes through in stripe but the invoice remains unpaid in odoo. When i go to manually register the payment i get the same error.

Anyone knows what is this all about?


Thanks in advance


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

Should be invoice linking issue with Payment Transaction. Need to check with data.

Ảnh đại diện
Huỷ bỏ
Tác giả

Well, thats what i thought but it does the same if i create an invoice manually and try to pay it manually

Câu trả lời hay nhất

Hi,

Under the account module the "_render_qweb_pdf" function will called base don that function we get the Usererror
that checks whether the invoice type is an entry or not

if any(x.move_type == 'entry' for x in invoices):
                raise UserError(_("Only invoices could be printed."))

if the invoices move_type comes entry then that will generate the popup with the Usererror


Hope it helps

Ảnh đại diện
Huỷ bỏ
Tác giả

Any idea how to fix it?

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 5 25
898
3
thg 11 24
3186
0
thg 8 24
944
2
thg 3 25
3190
0
thg 12 24
856