Skip to Content
Menu
This question has been flagged
2466 Views

I have written the code to send an email using email template in odoo10 and that email contain one link. What I want to do when I click on that link from my gmail it need to call to odoo function that will trigger another email template.

This is the code I have written in the first email template to create a link.

<a href="" style="background-color: #1abc9c; padding: 20px; text-decoration: none; color: #fff; border-radius: 5px; font-size: 16px;" class="o_default_snippet_text">Hello</a>

and when I link on this link from my gmail. I want to call  get_access_action().  

def get_access_action(self):

    

 

Avatar
Discard
Related Posts Replies Views Activity
2
Nov 24
25097
2
May 24
5519
3
Mar 24
4964
0
Mar 24
264
3
Feb 24
11421