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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
0
thg 7 25
|
413 | ||
|
0
thg 7 25
|
1050 | ||
|
1
thg 5 25
|
1528 | ||
|
1
thg 4 25
|
1536 | ||
|
1
thg 6 25
|
1026 |