← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 663700] Re: "filename" attribute not preserved when used with widget="image"

 

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

-- 
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 OpenObject Server:
  Invalid

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