콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
1624 화면

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


아바타
취소
베스트 답변

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

아바타
취소
작성자

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

베스트 답변

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

아바타
취소
작성자

Any idea how to fix it?

관련 게시물 답글 화면 활동
1
5월 25
1005
3
11월 24
3338
0
8월 24
1011
2
3월 25
3277
0
12월 24
919