Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
3 Відповіді
7154 Переглядів

I created Email template and one Custom Email button to send the mail alert to the customer while clicking on the button .

  • My issue : is while clicking the Button I got odoo warning: 
    Sender email is missing or empty after template rendering. Specify one to deliver your message

Аватар
Відмінити

Check whether you configured outgoing mail server and specified sender in mail template ?

Найкраща відповідь

Most of the time we need to send an email after successfully completion of some tasks or event. I have a complete code which sends email on button click.To send an email in odoo first of all we need create email template. We can create this email template using following two ways.

Read more how to send email on button click:

http://learnopenerp.blogspot.com/2017/08/odoo-how-to-send-email-on-button-click.html

Аватар
Відмінити
Найкраща відповідь

This error means that a user, from who, you are sending a message, lacks e-mail address. You should do one of the followings:

  1. Send a message from any standard user which for sure has an email address. Let say, 'admin@yourcompany.com' using sudo().message_post

  2. Add a try whether a user has a proper email address in your funciton, and if no raise popup to enter this data

Аватар
Відмінити