← Back to team overview

openerp-dev-web team mailing list archive

[Bug 735933] Re: widget="html" not working in web-client 6.0

 

wow... what a great way to fix... first mark it invalid then some one
from community will provide the PATCH... check again and apply the patch
without giving any credit to patch maker... and release the fix.... nice
fix and release policy...

Cheers,
Parthiv

-- 
You received this bug notification because you are a member of OpenERP
SA's Web Client R&D, which is a bug assignee.
https://bugs.launchpad.net/bugs/735933

Title:
  widget="html" not working in web-client 6.0

Status in OpenERP Web Client:
  Fix Committed

Bug description:
  widget="html" for text field in not working and it is giving error as below
  <type 'exceptions.AttributeError'>: 'HtmlView' object has no attribute 'get_value'
        args = ("'HtmlView' object has no attribute 'get_value'",)
        message = "'HtmlView' object has no attribute 'get_value'" 

  I have make change in res.partner form comment field 
  <field colspan="4" name="comment" nolabel="1" widget="html"/> 

  and giving the error as above.

  I think there is some half development for the Html widget.
  i have checked for the method in
  web_client/addons/openerp/widgets/form/_form.py
  in the "class HtmlView(TinyWidget): "
  there no method named get_value() not even in base class TinyWidget . 

  web browser :
   FireFox 3.6.10
  Google Chrome 5.0.375.70

  Operating System :
  Ubuntu 10.10

  bzr revno 
  4535