Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
2054 Представления

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?

Аватар
Отменить
Лучший ответ

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
июл. 25
416
0
июл. 25
1058
1
мая 25
1539
1
апр. 25
1545
1
июн. 25
1029