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

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 ???

อวตาร
ละทิ้ง

It is object.user_id.email

คำตอบที่ดีที่สุด

Hi;

Try with: object.res_users.email

อวตาร
ละทิ้ง
ผู้เขียน

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:

ผู้เขียน

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

คำตอบที่ดีที่สุด

It is object.user_id.email

อวตาร
ละทิ้ง
ผู้เขียน

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 ตอบกลับ มุมมอง กิจกรรม
Is there any object list/manual/method? แก้ไขแล้ว
1
มี.ค. 15
6096
1
พ.ค. 24
1438
3
มิ.ย. 23
11961
2
พ.ย. 23
2763
1
มิ.ย. 23
2381