Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
2718 Vistas

I would like to customize the emails I send by referencing variables, such as instead of manually writing my name in the email, being able to reference a variable that auto-completes the name of each odoo user within my organization.

I would also like to know the method to reference the variables created with Odoo Studio v16.

Greetings

Avatar
Descartar
Mejor respuesta

Hi 

I don't know if you managed to get the answer to your question.

Here's the video that helped me: https://www.youtube.com/watch?v=VQJodqSE5DM

If I start an email with 

Hi Valued Customer,

First, I create a field called "First Name" using Studio.  The studio field is then x_studio_first_name.  

If in the Contacts, the person's first name is John.

Then the code behind is:

Hi Valued Customer, ,


And the results should be

Hi John,


Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
nov 17
7655
2
ago 15
10285
0
may 15
3982
0
abr 15
4446
0
sept 23
5116