Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
2832 มุมมอง

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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,


อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
พ.ย. 17
7768
2
ส.ค. 15
10439
0
พ.ค. 15
4085
0
เม.ย. 15
4562
0
ก.ย. 23
5209