← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 676301] Re: Email Template signature

 

** Patch added: "sign.patch"
   https://bugs.launchpad.net/bugs/676301/+attachment/1735774/+files/sign.patch

** Description changed:

  If "Use Signature" in email template is checked and user without
- signature send email, it get error.
+ signature send email, he/shee get error.
  
  bin/addons/poweremail/poweremail_template.py", line 945, in _generate_mailbox_item_from_template
  [2010-11-17 01:17:58,788][course3] ERROR:web-services:[55]:     mailbox_values['pem_body_text'] += sign
  [2010-11-17 01:17:58,788][course3] ERROR:web-services:[56]: TypeError: coercing to Unicode: need string or buffer, bool found
  
  I hope this simple patch fix this problem.

** Description changed:

  If "Use Signature" in email template is checked and user without
- signature send email, he/shee get error.
+ signature send email, he/she get error.
  
  bin/addons/poweremail/poweremail_template.py", line 945, in _generate_mailbox_item_from_template
  [2010-11-17 01:17:58,788][course3] ERROR:web-services:[55]:     mailbox_values['pem_body_text'] += sign
  [2010-11-17 01:17:58,788][course3] ERROR:web-services:[56]: TypeError: coercing to Unicode: need string or buffer, bool found
  
  I hope this simple patch fix this problem.

-- 
Email Template signature 
https://bugs.launchpad.net/bugs/676301
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in Power e-Mail for Open ERP: New

Bug description:
If "Use Signature" in email template is checked and user without signature send email, he/she get error.

bin/addons/poweremail/poweremail_template.py", line 945, in _generate_mailbox_item_from_template
[2010-11-17 01:17:58,788][course3] ERROR:web-services:[55]:     mailbox_values['pem_body_text'] += sign
[2010-11-17 01:17:58,788][course3] ERROR:web-services:[56]: TypeError: coercing to Unicode: need string or buffer, bool found

I hope this simple patch fix this problem.







References