[7.0][email_template] Rendering of pdfs not readable when using Send Mail actions on SO or Invoice

Bug #1122155 reported by Grégoire Krieg (OpenERP)
36
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Committed
Medium
OpenERP R&D Addons Team 1
OpenERP Community Backports (Addons)
Status tracked in 7.0
7.0
New
Undecided
Unassigned

Bug Description

Used SaaS database for testing environnement on Monday 11/02/2013 16.30 GMT+1 (for you to know addons revisions)

1. Need to install email_template, sales, account_accountant
2. Need to head to Settings > Technical > Email > Templates
3. Open both following forms:
- Sales Order - Send by Email
- Invoice - Send by Email
and press the 'Add context action' button on top right of form view
4. Head out to SO or Invoice and in the read-only form view select More > Send Email (Sales Order or Invoice)

Be sure that you can access the email test you have sent.

Try to open the email's pdf attachement and you will receive a message saying it is corrupted. I did not expect this error and wanted to read my pdf Sale order or Invoice.

Also another related issue is that I did the Step 3 (pressing adding contect action button) with user preferences in French and then when switching to English the More action button on Sales Order or Invoice remaining in French (was not translated into English). Thought about eventually reporting this as another issue. Should I?

Related branches

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 1 (openerp-dev-addons1)
importance: Undecided → Medium
status: New → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Changed in openobject-addons:
status: In Progress → Fix Committed
Revision history for this message
Chandni Machchhar(OpenERP) (cac-openerp) wrote :

Hello,

     It has been fixed in https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1122155-chandni branch.

Revision Num: 8665
Revision ID : <email address hidden>

Thanks,
Chandni.

Revision history for this message
Francesco Apruzzese (opencode) wrote :

If I use this patch with preview I obtain an error. The patch in attachmnet corrects this problem.

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

Duplicates of this bug

Other bug subscribers

Patches

Remote bug watches

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