report_webkit can't handle zip files in module addons

Bug #904363 reported by Geoff Gardiner
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
Unassigned

Bug Description

I am testing on the latest version of 6.0 but think that this is a problem on 6.1 as well:

If you have a zip file then you get errors when trying to create reports.

the key line is in webkit_report.py
    if [path and] os.path.exists(path)
says that the file must be in a path, which does not allow zip files.

Related branches

Revision history for this message
Jignesh Rathod(OpenERP) (jir-openerp) wrote :

Hello,

I have checked this issue with a stable and I got a osv excepton
"Webkit Report template not found !".

Steps to Produce.

1) Make a zip of modules account,report_webkit,report_webkit_sample
2) Install zip module.
3) Print web kit Report

I was faced this problem because report template not found.

Thank you!

affects: openobject-server → openobject-addons
Changed in openobject-addons:
assignee: nobody → Nicolas Bessi - Camptocamp (nbessi-c2c)
importance: Undecided → Low
Revision history for this message
Nicolas Bessi - Camptocamp (nbessi-c2c-deactivatedaccount) wrote :

Hello,

I will see if tools.file_open solve this problem.

Regards

Nicolas

Revision history for this message
Nicolas Bessi - Camptocamp (nbessi-c2c-deactivatedaccount) wrote :

PS:
bug will not be fixed before 16.01.2012, no time sorry...

Revision history for this message
Geoff Gardiner (geoff-gardiner) wrote :

I think that this bug report could be marked "status=confirmed", though, couldn't it? I've done that now, I think.

Changed in openobject-addons:
status: New → Confirmed
Changed in openobject-addons:
status: Confirmed → Fix Released
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.