Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
2 Antworten
12880 Ansichten

Dear All,

We are using Odoo 8.0. We have about 10 users in sales team and each user have their individual mail ids. Whenever a quotation  or invoice is sent, the mail need to go from individual mail ids. We have configured admin@ourdomain.com in outgoing mail server and the connection test is successful. Currently, when the mail is sent by any user, it uses admin@ourdomain.com as the email id and the same email id appears for the recipient of the emails.

I would appreciate any help in resolving the issue.

Regards,

Sudheendra

Avatar
Verwerfen
Beste Antwort

Hi,

use : ${user.partner_id.email | safe}

bye

Avatar
Verwerfen

@Cyril, what does "safe" signify?

Hi, user.partner_id.email | safe == user.partner_id.email or false, this will return false if there is no value for the first variable. bye

Beste Antwort

hai you can set the out going mail id easily via email templates

settings->technical->email->templates

there search for your template and edit it

edit the template, on email configuration page you can see the outgoing mail option give the query there like

${(object.user_id.email or object.company_id.email or 'noreply@localhost')|safe}

this will send mail from usermail or company mail or localhost

enjoy odoo

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
1
März 25
4384
0
Apr. 15
3483
0
Feb. 17
3917
2
März 16
9683
1
Feb. 16
5903