Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
2067 Visualizzazioni

On odoo18 community version, how to add a custom button (XXX) next to the Validate button on the Odoo POS checkout page?

The button also need to pass the total payment amount as a parameter to an intranet link when clicking the XXX button?

Avatar
Abbandona
Risposta migliore

Hi,
You can create a server action that executes the webhook call and this action can be called from the newly introduced button click.

* Add new button in the needed position, which can be done by inheriting the view
* create a server action, that executes webhook
* call the server action from button click

For more info, see: https://youtu.be/9KWuFFd7tEw?t=1037
Thanks

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
ago 25
70
0
lug 25
435
0
lug 25
1067
1
mag 25
1552
1
apr 25
1562