"filename" attribute not preserved when used with widget="image"

Bug #663700 reported by Parthiv Patel
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo GTK Client (MOVED TO GITHUB)
Fix Released
Low
OpenERP sa GTK client R&D
Odoo Web Client
Won't Fix
Undecided
Unassigned

Bug Description

In Stable server Revno. 2144

to store the name of binary field a following syntax is used,

<field name="my_file_name">
<field name="my_file" filename="my_file_name" />

where : my_file_name is fields.char , my_file is a fields.binary.

in this case my_file_name is storing the file name of what ever file has been uploaded in "my_file".

but when used like this :

<field name="my_file_name">
<field name="my_file" filename="my_file_name" widget="image" />

file name is not getting stored in "my_file_name" field.

possibly issue from server !!!

Regards,
Parthiv

Related branches

description: updated
summary: - "filename" attribut not preserved when used with widget="image"
+ "filename" attribute not preserved when used with widget="image"
Revision history for this message
Somesh Khare (somesh.khare) wrote :

Hello Parthiv,

I have checked it in both stable/trunk and it is working fine at my end. Please update your code and let us know if you are still facing this problem.

Thanks.

Changed in openobject-server:
status: New → Invalid
Revision history for this message
Tech Receptives (techreceptives) wrote :

Hi SKH,

I am still able to reproduce the bug using stable server version 2146 and web client version 2949.

I am attaching a module also so you can do a "better" testing and let me know whether this bug is invalid or i am doing something wrong.

Regards,
Parthiv

Changed in openobject-server:
status: Invalid → Confirmed
Revision history for this message
Somesh Khare (somesh.khare) wrote :

Hello Parthiv,

I have checked the issue with the latest server revision number 2156 and the Webclient revision number 2949. I installed your module "Test" and it is working normally. I am attaching the screenshots which I took after running your module. The Screenshots include,

1. GTK Client Test Module
2. WEB Client Test Module
3. Test (test.test) database which shows the filename attributes.

Please update your code with the latest code and let us know if the issue still exist at your end.

Thanks.

Changed in openobject-server:
status: Confirmed → Invalid
Revision history for this message
Somesh Khare (somesh.khare) wrote :
Revision history for this message
Somesh Khare (somesh.khare) wrote :
Revision history for this message
Somesh Khare (somesh.khare) wrote :
Revision history for this message
Tech Receptives (techreceptives) wrote :

Hello,

Can you please check this video so you can have a clear idea what i want you to see.

http://www.youtube.com/watch?v=ILZhsgs_utQ

Regards,
Parthiv

Changed in openobject-server:
status: Invalid → Confirmed
affects: openobject-server → openobject-client
Changed in openobject-client-web:
status: New → Confirmed
importance: Undecided → Medium
Changed in openobject-client:
importance: Undecided → Medium
assignee: nobody → OpenERP sa GTK client R&D (openerp-dev-gtk)
Changed in openobject-client-web:
assignee: nobody → OpenERP SA's Web Client R&D (openerp-dev-web)
Changed in openobject-client:
status: Confirmed → In Progress
Revision history for this message
Ravi Gadhia (OpenERP) (rga-openerp) wrote :

hello,
       It has been fixed in lp:~openerp-dev/openobject-client/trunk-dev-client and will merge soon with trunk client

Thanks

Changed in openobject-client-web:
status: Confirmed → Fix Released
Changed in openobject-client:
status: In Progress → Fix Released
Changed in openobject-client-web:
status: Fix Released → Confirmed
Changed in openobject-client:
importance: Medium → Low
Changed in openobject-client-web:
importance: Medium → Low
Revision history for this message
Christophe Combelles (ccomb) wrote :

Hi, this bug is still in the latest 6.0 branch, and has not been merged yet.
I've just tried the trunk branch and it works. Could you please merge?

Revision history for this message
Christophe Combelles (ccomb) wrote :

Actually, I've seen it work only once on the web client trunk but I cannot see it work anymore. The filename field corresponding to a binary field displayed with an image widget is never updated :

Something like this :
<field name="picture" filename="filename" widget="image"/>
<field name="filename" />

Revision history for this message
Vinay Rana (OpenERP) (vra-openerp) wrote :

This bug is being closed as Won't Fix in the OpenERP Web Client project, as it is not going to be developed further after the 6.0 series. It will be replaced in 6.1 by a newer and better web frontend known as the OpenERP Web project[1], so further R&D efforts on the 6.0 project would be wasted.
Bugs affecting customers in production of course continue to be handled via the OpenERP Enterprise (OPW) maintenance service.
You can find more details about this in the Bug Management FAQ[2].

Changed in openobject-client-web:
assignee: OpenERP R&D Web Team (openerp-dev-web) → nobody
importance: Low → Undecided
status: Confirmed → Won't Fix
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.