c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #24418
[Bug 783841] Re: image of a binary functional field not displayed on tree view
** Summary changed:
- image of a binary functional field doesn't on tree view
+ image of a binary functional field not displayed on tree view
** Description changed:
I have an OpenErp's Object with 3 functionnal fields, I have declared like that :
'myfield1': fields.function(_get_status, type='binary', method=True, store=False),
The _get_status method compute some stuf and return the file content of
a .png image, encoded in base64.
Those fields are perfectly working in form view, when declared like this in the view :
- <field name="myfield1" img_width="30" img_height="30" width="30" height="30" widget="image" nolabel="1"/>
+ <field name="myfield1" img_width="30" img_height="30" width="30" height="30" widget="image" nolabel="1"/>
- But the same fields don't work with tree view : I have the content of
- the file, but not the image ! (and "unknown" in the column title....)
+ But the same fields aren't displayed in the tree view : the image is
+ replaced with the content of the file (and "unknown" in the column
+ title, in place of the name field....)
--
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/783841
Title:
image of a binary functional field not displayed on tree view
Status in OpenERP Web Client:
New
Bug description:
I have an OpenErp's Object with 3 functionnal fields, I have declared like that :
'myfield1': fields.function(_get_status, type='binary', method=True, store=False),
The _get_status method compute some stuf and return the file content
of a .png image, encoded in base64.
Those fields are perfectly working in form view, when declared like this in the view :
<field name="myfield1" img_width="30" img_height="30" width="30" height="30" widget="image" nolabel="1"/>
But the same fields aren't displayed in the tree view : the image is
replaced with the content of the file (and "unknown" in the column
title, in place of the name field....)
References