Merge lp:kmsistemas-openerp-addons into lp:ocb-addons/6.1
Proposed by
Jordi Llinares - KM Sistemas
Status: | Work in progress |
---|---|
Proposed branch: | lp:kmsistemas-openerp-addons |
Merge into: | lp:ocb-addons/6.1 |
Diff against target: |
15 lines (+4/-1) 1 file modified
email_template/email_template.py (+4/-1) |
To merge this branch: | bzr merge lp:kmsistemas-openerp-addons |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Pedro Manuel Baeza | code review | Needs Fixing | |
Review via email: mp+201461@code.launchpad.net |
Description of the change
[FIX] Fix of bug lp:1268654, where generate_email threw an exception when an email with user signature was generated from a template with no plain text body.
To post a comment you must log in.
Unmerged revisions
- 6827. By Jordi Llinares - KM Sistemas
-
Fixes signature addition bug when there's no plain text body in generate_email.
Hi, Jordi, thank you very much for pointing out the problem and its solution.
For the next time, please make the MP with an specific branch for solving the bug, because in this way, you get all the bugs that you have declared as related, as you can see here with "Bug #1256619: [6.1] report_ stock_inventory wrongly declared column & SQL", that was previously reported and solved, but with the same branch.
BTW, I think it's safer to put 'if values. get('body_ text')' and 'if values. get('body_ html')' to avoid errors when a value is not present in the dictionary.
Regards.