c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #06217
[Bug 663700] Re: "filename" attribute not preserved when used with widget="image"
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
** Attachment added: "test.zip"
https://bugs.launchpad.net/openobject-server/+bug/663700/+attachment/1751042/+files/test.zip
** Changed in: openobject-server
Status: Invalid => Confirmed
--
"filename" attribute not preserved when used with widget="image"
https://bugs.launchpad.net/bugs/663700
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Server: Confirmed
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
References