Hi, everyone.
I'm looking for a solution that can register a checkbox action. I want to store when someone clicks on a checkbox and send that stored value by e-mail. Anyone has any idea how can I do this? Thanks :)
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi, everyone.
I'm looking for a solution that can register a checkbox action. I want to store when someone clicks on a checkbox and send that stored value by e-mail. Anyone has any idea how can I do this? Thanks :)
This problem should be solved using a combination of a controller and js code.
1: Create a mail template (if needed)
2: Create a controller endpoint. In this endpoint you want to retrieve the checkbox value and trigger the email template you created earlier.
(docs: https://www.odoo.com/documentation/14.0/developer/reference/addons/http.html)
3: Add JavaScript to your checkbox/form to send the value to the endpoint you have created
(docs: https://www.odoo.com/documentation/14.0/developer/reference/javascript/javascript_reference.html)
For anything more specific it would be required to see actual code
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيلالمنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
---|---|---|---|---|
GDPR checkbox for landing page
تم الحل
|
|
2
ديسمبر 23
|
1439 | |
|
5
مايو 16
|
10938 | ||
|
4
مايو 15
|
5196 | ||
|
1
يونيو 24
|
1534 | ||
|
1
أبريل 24
|
1567 |