Odoo Help


Working with the Website Blog module

Lucas Huber
on 5/12/16, 11:30 AM 1,735 views

Is there anybody using the blog module and is happy with it? How do you use it?

In my case I like the outcome, but the creation of a blog post is a real hassle. Normally I use a text program to write a blog and copy and paste it into the web application. But this does not work in Odoo, or results in sometimes strange behavior. For example I can't paste text into a table. With a normal Odoo webpage I do often use the HTML editor as workaround or to fix wrong layouts. But the blog module does not allow the use of the HTML editor. So I have to retype any table word by word into my blog and broken layouts are sometimes impossible to fix.

Any suggestions are welcome to improve this situation. 

Jérémy Kersten (jke)
On 5/12/16, 12:37 PM


You cannot use the html editor because it is an html field on blog post model and not an ir.ui.view.

But if your really want paste your html code directly or just text, you can always add the field 'content' in the form view (of model blog post) in the backend. 

Thanks a lot Jérémy, this is very good solution

Lucas Huber
on 5/13/16, 5:06 AM
Lucas Huber
On 5/13/16, 5:13 AM

I did ad the content field to the blog.post model form view "blog.post.form" but strangely the html field does always over shoot the width of the form sheet. It is still usable but not nice. I don't have an idea why, because I often use html fields and never experierenced such behavior.

     <page name="content" string="Blog content">
             <field name="content" style="width: 600px"/>
     <page name="technical" string="Technical" groups="base.group_no_one">
           <group string="Technical" groups="base.group_no_one">
                 <field name="write_uid" context="{'default_groups_ref': ['base.group_user',                 'base.group_partner_manager', 'base.group_website_designer']}"/>    
                 <field name="write_date"/>

I did try to avoid this in adding style="width: 600px" or widget="html".

About This Community

This platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

3 follower(s)


Asked: 5/12/16, 11:30 AM
Seen: 1735 times
Last updated: 3/1/17, 11:57 AM