Merge lp:~openerp-dev/openobject-addons/trunk-signature-jsh into lp:openobject-addons
Status: | Needs review |
---|---|
Proposed branch: | lp:~openerp-dev/openobject-addons/trunk-signature-jsh |
Merge into: | lp:openobject-addons |
Diff against target: |
101 lines (+10/-12) 5 files modified
crm_partner_assign/crm_partner_assign_data.xml (+1/-1) hr_recruitment/hr_recruitment_data.xml (+2/-2) mail/mail_followers.py (+2/-3) mail/tests/test_mail_features.py (+3/-4) portal/portal_demo.xml (+2/-2) |
To merge this branch: | bzr merge lp:~openerp-dev/openobject-addons/trunk-signature-jsh |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Thibault Delavallée (OpenERP) (community) | technical | Needs Fixing | |
Review via email: mp+215863@code.launchpad.net |
Description of the change
Modified 'mail' module to accept HTML tags as signature. The change is because of modification in 'signature' field of 'res.users'. Previously it was 'text' now 'html'. Modified test condition in which text of body is striped downed and compared to striped downed signature. For detaild explaination of test case kindly observe the following example.
Previous test case ('signature' is 'text') :
Is 'By Admin' In html2plaintext(
Now After change in signature field ('signature' is 'html) :
Is '<b>By Admin</b>' In html2plaintext(
To not break the test condition after changing 'signature' field observ following example :
Is html2plaintext(
Unmerged revisions
- 9344. By Amit Vora(OpenERP)
-
[MRG] merge with main branch
- 9343. By Sunil Sharma(OpenERP)
-
[mrg]:lp:openobject-addons
- 9342. By Mehul Mehta(OpenERP)
-
minor changes apply
- 9341. By Mehul Mehta(OpenERP)
-
[IMP] improved a signature in portal_demo file
- 9340. By Mehul Mehta(OpenERP)
-
[Merge] Merged with lp:openobject-addons
- 9339. By Amit Vora(OpenERP)
-
[IMP] improve code
- 9338. By Amit Vora(OpenERP)
-
[MRG] merge with main branch
- 9337. By Amit Vora(OpenERP)
-
[IMP] use safe for signature field
- 9336. By Amit Vora(OpenERP)
-
[MRG] merge with main branch
- 9335. By Jaysinh Shukla(OpenERP)
-
[IMP]:mail Unnecessary comments removed. Improved mail test case.
Hello,
You should grep signature and all addons and see if your change has an impact.
Notably, I would like you to check the following things : followup/ report/ account_ followup_ print.py: uses user signature -> how does it behave with html tags and things like that ? hr_evaluation. py: user signature seems to be used, so same question assign/ crm_partner_ assign_ data.xml: user signature is used in a pre, it wlil give some strange result
- account_
- hr_evaluation/
- crm_partner_
Best regards,