← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Hello Antoine Morit,

You are right. The image is displayed correctly in form view but not in
tree view.

I have attached video to confirm.

Thank you.

** Attachment added: "image_error.ogv"
   https://bugs.launchpad.net/openobject-client-web/+bug/783841/+attachment/2253773/+files/image_error.ogv

** Changed in: openobject-client-web
   Importance: Undecided => Low

** Changed in: openobject-client-web
       Status: New => Confirmed

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

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client-web/+bug/783841/+subscriptions


References