c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #24416
[Bug 783841] [NEW] image of a binary functional field doesn't on tree view
Public bug reported:
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 don't work with tree view : I have the content of
the file, but not the image ! (and "unknown" in the column title....)
** Affects: openobject-client-web
Importance: Undecided
Status: New
** Tags: image widget
--
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 doesn't 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 don't work with tree view : I have the content of
the file, but not the image ! (and "unknown" in the column title....)
Follow ups
References