From 5eb0e93eb3735b43b0b5057dbea5397f6f46e80e Mon Sep 17 00:00:00 2001 From: "Turkesh Patel (Open ERP)" Date: Tue, 25 Feb 2014 16:12:42 +0530 Subject: [PATCH] [IMP] improved templates. bzr revid: tpa@tinyerp.com-20140225104242-zuf5v70jqpgm60tf --- addons/website_forum/models/website_forum.py | 2 +- addons/website_forum/views/website_forum.xml | 161 +++++++++---------- 2 files changed, 80 insertions(+), 83 deletions(-) diff --git a/addons/website_forum/models/website_forum.py b/addons/website_forum/models/website_forum.py index a7a14f1267c..5c93a834ec1 100644 --- a/addons/website_forum/models/website_forum.py +++ b/addons/website_forum/models/website_forum.py @@ -52,7 +52,7 @@ class Post(osv.Model): 'forum_id': fields.many2one('website.forum', 'Forum'), 'name': fields.char('Topic', size=64), - 'content': fields.html('Contents', help='Automatically sanitized HTML contents'), + 'content': fields.text('Contents', help='contents'), 'create_date': fields.datetime('Asked on', select=True, readonly=True), 'create_uid': fields.many2one('res.users', 'Asked by', select=True, readonly=True ), diff --git a/addons/website_forum/views/website_forum.xml b/addons/website_forum/views/website_forum.xml index 896d27542d6..694c9e436ca 100644 --- a/addons/website_forum/views/website_forum.xml +++ b/addons/website_forum/views/website_forum.xml @@ -151,7 +151,7 @@