diff --git a/addons/website_forum/__openerp__.py b/addons/website_forum/__openerp__.py index 9b1f26d21b7..8e71054e565 100644 --- a/addons/website_forum/__openerp__.py +++ b/addons/website_forum/__openerp__.py @@ -41,7 +41,8 @@ Ask questions, get answers, no distractions 'static/src/xml/*.xml' ], 'demo': [ - 'data/forum_demo.xml' + 'data/forum_demo.xml', + 'data/question_improvement.yml', ], 'css': ['static/src/css/website_forum.css'], 'installable': True, diff --git a/addons/website_forum/data/question_improvement.yml b/addons/website_forum/data/question_improvement.yml new file mode 100644 index 00000000000..2526824a9a0 --- /dev/null +++ b/addons/website_forum/data/question_improvement.yml @@ -0,0 +1,8 @@ + +- + Admin User Edit a Question asked by demo user to improve typo +- + !python {model: website.forum.post}: | + self.write(cr, ref('base.user_root'), [ref('website_forum.question_5')],{ + 'name': 'CMS Replacement For ERP and ECommerce ?', + }) \ No newline at end of file