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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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?
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
RekisteröidyAiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
---|---|---|---|---|
|
1
huhtik. 24
|
1064 | ||
|
0
huhtik. 24
|
1087 | ||
|
2
tammik. 24
|
1209 | ||
|
1
elok. 24
|
582 | ||
|
0
huhtik. 24
|
746 |