Commit Graph

53 Commits

Author SHA1 Message Date
ddm a5d3a653b9 [FIX] SEO for blog posts
bzr revid: ddm@openerp.com-20131017104053-shrwu5ariisq7ub5
2013-10-17 12:40:53 +02:00
Thibault Delavallée c639b7aad6 [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
2013-10-11 14:58:32 +02:00
Thibault Delavallée 84faec66c3 [MOV] website_blog: module organization cleaning. Files have been moved accordingly to the new organization
we would like to impose in OpenERP addons :
- model-related files: in models directory
- data/demo files: in data directory
- renamed sexurity/website_mail.xml to website_blog.xml, to avoid confusing the module with website_mail

bzr revid: tde@openerp.com-20131011081215-jnsyqyk7zzrw22qg
2013-10-11 10:12:15 +02:00