Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
4974 Vizualizări

Hello, I created an Openerp 7 eMail Server Action for an opportunity. The action gets executed when the Opportunity Next Action Date is past due for followup. I add info from the Opportunity's object into the email using fields like

object.partner_id.name Oject.name object.title_action

My question is, I want to send this email to the Salesperson assigned to this opportunity by placing the salespersons object email address into the "To:" field of the eMail Server Action. We have the Salesperson name assigned to the Opportunity. I can not figure out how the object field for the Salespersons email address. Is this not possible?

something like object.salesperson.email ???

Imagine profil
Abandonează

It is object.user_id.email

Cel mai bun răspuns

Hi;

Try with: object.res_users.email

Imagine profil
Abandonează
Autor

This does not work. When I place object.res_users.email in the "Email Address" field under the "Email Configuration" tab the following garbage is inserted by server action:

Autor

"\"[[ object res users email ]]\"" <"[[ object.res_users.email ]]"@mail.xxxxxx.com&gt;

Cel mai bun răspuns

It is object.user_id.email

Imagine profil
Abandonează
Autor

Does not work. The following garbage is inserted by the server action: "\"[[ object user id email ]]\"" <"[[ object.user_id.email ]]"@mail.xxxxxx.com&gt;

Related Posts Răspunsuri Vizualizări Activitate
1
mar. 15
5863
1
mai 24
1296
3
iun. 23
11328
2
nov. 23
2566
1
iun. 23
2187