c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #29438
[Bug 663700] Re: "filename" attribute not preserved when used with widget="image"
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" />
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/663700
Title:
"filename" attribute not preserved when used with widget="image"
Status in OpenERP GTK Client:
Fix Released
Status in OpenERP Web Client:
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client/+bug/663700/+subscriptions
References