Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

3

WYSIWYG Widget for Version 7

By
Alex Malone
on 4/16/13, 1:15 PM 5,353 views

Hi folks,

I am looking for information on wysiwyg editors for version 7 forms. When working with version 6 we had to develop our own widget for wysiwyg text editing on our email module and I am hoping to avoid doing the same now that we are converting all our work to version 7.

Now, I've been ploughing through the online demo for inspiration for our screen layout and I came across a wysiwyg text box that would just about fulfil our needs.

On the online demo, go to:

Project -> Tasks -> Edit a Task.

On this form view the description field has a proper text editor. I would like to use this in a number of places within our own system. So, I went off and looked at the project module within the OpenERP addons trunk. The behaviour of the online demo does not match the behaviour of the module within the code repository. Fair enough I thought, I'd just look in other modules to see what modifies the project task view.

Well, I've hit a wall. I cannot find anything within the standard OpenERP addons trunk that adds the WSIWYG editor to project tasks.

From some further investigation it looks as if OpenERP are using a 3rd party app from Elico Corp. Elico originally released a wysiwyg widget for version 6.1 but I can't find a version 7 alternative and, to be honest, I'd rather use an officially supported widget from OpenERP.

If anyone knows a decent way to get a wysiwyg editor working in version 7 I'd love to know.

Many thanks!

1

Fabien Pinckaers (fp)

--Fabien Pinckaers (fp)--
6598
| 6 8 8
fsdsdfsdf, Belgium
--Fabien Pinckaers (fp)--

Odoo Founder & CEO

Fabien Pinckaers (fp)
On 4/17/13, 3:28 AM

two solutions:

use <field name="xxx" widget="html"/> to get wysiwyg, or
use the pad module to have collaborative wysiwyg

The latter solution requires an etherpad server, example in project_pad module

Fantastic, thank you very much for the quick responses!

The standard html widget, whilst quite limited in functionality, is a good place for us to start. Etherpad looks great but reliance on an Etherpad server means its a no-go for us as some of our customers have OpenERP sitting within a closed network so it wouldn't work. However, as it is open source we might look at customising it and removing the collaboration features as they aren't needed.

Thanks again folks!

Alex Malone
on 4/17/13, 9:32 AM
0

It looks like the pad module which adds EtherPad support

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 4/16/13, 1:15 PM
Seen: 5353 times
Last updated: 3/16/15, 8:10 AM