تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
2035 أدوات العرض

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
يوليو 25
413
0
يوليو 25
1050
1
مايو 25
1528
1
أبريل 25
1538
1
يونيو 25
1026