[IMP] website_blog: updated models
authorThibault Delavallée <tde@openerp.com>
Fri, 11 Oct 2013 12:58:32 +0000 (14:58 +0200)
committerThibault Delavallée <tde@openerp.com>
Fri, 11 Oct 2013 12:58:32 +0000 (14:58 +0200)
commitc639b7aad61eb073b775712763b4f55213065f85
treeccf55df20c3f10366b4b307ba6eda6e9f71c4855
parent97000840748309a91c322e86760ac9142390bfb5
[IMP] website_blog: updated models

- removed template field from category. This field was coming from the old document_page module. However
it has been decided to not keep the template feature on categories. Previously there was an onchange
in the document_page form view, allowign to define a template on the page category that will be a default
value for the page content. It has been decided to drop that feature because of the complexity to manage
snippets / html in the category without adding a category editor in the website front-end.
- updated data/demo/views accordingly
- to replace the template feature, it will be possible to duplicate a blog post directly in the front-end.
This will come in a future patch. However the copy method of blog_post has already been fixed to avoid
duplicating website_message_ids, and to reset website_published (_datetime) fields.

bzr revid: tde@openerp.com-20131011125832-dou1ep9ey2ffwa7s
addons/website_blog/data/website_blog_data.xml
addons/website_blog/data/website_blog_demo.xml
addons/website_blog/models/website_blog.py
addons/website_blog/views/website_blog_classic.xml