Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
2727 Näkymät

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
Hylkää
Paras vastaus

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
2
marrask. 17
7665
2
elok. 15
10300
0
toukok. 15
3990
0
huhtik. 15
4458
0
syysk. 23
5124