[6.1] Mailing from template fails when signature is on and no plain text

Bug #1268654 reported by Jordi Llinares - KM Sistemas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenERP Community Backports (Addons)
New
Undecided
Unassigned

Bug Description

If you create a mailing template for which you enable user signature and use HTML body instead of plain text, the method 'generate_email' from the 'email_template' module raises an exception (TypeError: unsupported operand type(s) for +=: 'bool' and 'unicode') on line 339

    values['body_text'] += '\n\n' + signature

because this sentence is not encapsulated into a

    if mailbox_values['body_text']:

sentence (contrarily to OpenERP 6.0, where these conditionals were properly programmed).

Related branches

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.