← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Here are others informations I just found :

the widget for ckeditor is "text_html".
if you use that in a view, it'll show a standard textarea.
if you use that in a view and you activate ckeditor (see my previous post), it'll show a textarea, and the html will contains references to ckeditor (event 'onpageshow()' in <body>), but the user sees nothing about ckeditor.

So what is the status of 'html' and 'text_html' widgets ?

Thanks,
Michel

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

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

Status in OpenERP Web Client:
  Confirmed

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



References