跳至內容
選單
此問題已被標幟
1 回覆
2028 瀏覽次數

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
7月 25
412
0
7月 25
1049
1
5月 25
1526
1
4月 25
1535
1
6月 25
1026