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

I want to overide to make custom treatments after creating the command on the payment page. Is there a way to do it? Is it done in any of the other addons?

Thank you in advance 

아바타
취소
베스트 답변

Hi,

The pay now button is triggered from the js file payment_form.js in the payment module.Inside this file, you can see the redirection to route '/payment/transaction' which is in portal.py file in the payment module, which continues the transaction.
Depending on what customisation you want, you can choose whether to edit the js or python.


Hope it helps

아바타
취소
작성자 베스트 답변

Hello Antoine Vandevenne, i am working with odoo 16 and i am talking about the /shop/payment page

아바타
취소
베스트 답변

Hi Hippolyte, which payment page are you talking about (what is the URL)? And in which version of Odoo?

아바타
취소
관련 게시물 답글 화면 활동
1
7월 25
2030
0
4월 24
1837
2
1월 24
1925
1
8월 24
1308
0
4월 24
1548