I'm really going to appreciate your help, I've searched a lot; I haven't found a solution though, it's something I really need.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- Project
- MRP
لقد تم الإبلاغ عن هذا السؤال
Hello @Steven Morales Fallas
There is no specific place in website where a button directly calls a python function.
but, you can go achieve it in the following ways:
1. Add button click event in js file
- Please refer to this link for how to add js in odoo: https://www.odoo.com/documentation/16.0/developer/reference/frontend/javascript_reference.html
2. You will need to write json rpc method in js for which you can call the python function
- Please refer to this link for how to add json rpc in odoo js: https://www.odoo.com/documentation/16.0/developer/reference/frontend/services.html?#rpc-service
I hope this will help you.
Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيلالمنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
---|---|---|---|---|
|
0
أكتوبر 19
|
2776 | ||
|
1
يونيو 24
|
2993 | ||
|
0
مايو 24
|
948 | ||
|
0
يناير 24
|
629 | ||
|
0
أغسطس 23
|
986 |