[account_followup] wrong sender for email

Bug #446520 reported by Alexis de Lattre
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Status tracked in Trunk
5.0
Fix Released
Undecided
Mantavya Gajjar (Open ERP)
Trunk
Fix Released
Undecided
Mantavya Gajjar (Open ERP)

Bug Description

The bug is currently present in the 5.0-stable branch of "openobject-addons/account_followup" (probably also in trunk, but I haven't checked).

In the file account_followup/wizard/wizard_followup_print.py, line 165, there is

 src = tools.config.options['smtp_user']

it's a mistake, it should be :

 src = tools.config.options['email_from']

In fact, "src" must contain the From email address of the mail sent to the customer to remind him his invoices (cf line 206 : tools.email_send(src,dest,sub,body)) ... but the "smtp_user" variable is the login used when openerp connectes to the SMTP server (in case the SMTP server requires authentication). Obsiously, it must be replaced by the "email_from" configuration parameter !

Thanks in advance for applying the fix in bzr.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.