← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 783841] Re: image of a binary functional field not displayed on tree view

 

I confirm this bug.

-- 
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