Skip to Content
Menu
This question has been flagged
1 Atsakyti
2081 Rodiniai

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?

Portretas
Atmesti
Best Answer

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

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
rugp. 25
148
0
liep. 25
448
0
liep. 25
1078
1
geg. 25
1555
1
bal. 25
1571