Unable to upload image

Bug #644351 reported by Kinner Vachhani
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web Client
Fix Released
Undecided
Sananaz (Open ERP)

Bug Description

unable to upload an logo image in company configuration using webclient in firefox. Its working fine with google chrome.
It might be due to widget="image" normal file uploading is working.

Populate Bug detail
    openerp server version: 5.0.14
    bzr revision webclient : 2933

Regards,
Kinner Vachhani

Related branches

description: updated
Changed in openobject-client-web:
status: New → Confirmed
Changed in openobject-client-web:
status: Confirmed → In Progress
assignee: nobody → sma (Open ERP) (sma-tiny)
Revision history for this message
Sananaz (Open ERP) (sma-tiny) wrote :

Hello,

Its fixed in Stable version. Please update your code and notify us.

Revision-info:
2935 <email address hidden>

Thanks.

Changed in openobject-client-web:
status: In Progress → Fix Released
milestone: none → 5.0.15
Revision history for this message
Kinner Vachhani (kinner-vachhani) wrote :

Thanks for fixing bug and being quick in solution. But filters are not working with webclient.

Bug reproduce method

.py file

    'photo': fields.binary('photo', filters='*.jpg, *.png'),

xml file

    <field name="photo" widget="image" string="Upload your photo"/>

It should only show files with jgp and png extension but its showing all files, its working in gtk client.

Regards,
Kinner Vachhani
Techreceptives

Changed in openobject-client-web:
status: Fix Released → Incomplete
Changed in openobject-client-web:
status: Incomplete → Fix Released
Revision history for this message
Xavier (Open ERP) (xmo-deactivatedaccount) wrote :

1. "Incomplete" status is not for an incomplete fix but for an incomplete report (equivalent to "needs more information"), don't set it when you don't agree with the fix.

2. The behavior you ask for is *not possible* on the web client (unless we replace our input fields by Flash input fields, maybe, and I'm not even sure about that): while the input[@type=file] element has an accept attribute (which, I want to add, asks for a list of MIME types, not globs) I do not know of any web browser available which cares about this property: I don't believe IE uses it, and I've personally tested Firefox (3.0, 3.6 and 4.0b2), Chrome 6, Safari 5 and Webkit (latest trunk, revision 68242). None of them takes any account of the @accept attribute.

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.