Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
7927 Tampilan

What are the variables for the OpenERP User in an eMail Template? I want to create eMail Templates with an individual signature. Therefore I need the following variables: - User Name - User Phone - User Fax - User eMail

Avatar
Buang
Jawaban Terbai

Greetings Robert,

Email templates come out of the box with the "Dynamic Value Builder" which you can use to generate the placeholders.

When you refer to the user who is in charge or has generates the sales order you are usually referring to the Salesperson which can be found in the Dynamic Value Builder

This is the placeholder for accessing the data on the user responsible for the sale ${object.user_id}

Here you can just append signature ${object.user_id.signature} and get the signature stored on the res.user obejct (Settings->Users)

If you would like to include more information about the user like email and other things you would have to make a link towards the partner in your system that is linked to the res.user object by using ${object.user_id.partner_id}

This will point towards the partner and all the informations are available by appending "email, phone" and whatever is defined on the res.partner object

Hope this helps!

Avatar
Buang

the object is the business object on which you attach a message (beeing a SalesOrder or a Lead/Opportunity,...) but what would be the placeholder for the current logged on user?

Post Terkait Replies Tampilan Aktivitas
0
Jan 25
1195
1
Sep 22
1322
2
Jul 22
4709
0
Mei 20
2708
3
Mar 15
10549