[REF] document_page: refactored the module, towards using it in website_blog
authorThibault Delavallée <tde@openerp.com>
Fri, 20 Sep 2013 11:12:21 +0000 (13:12 +0200)
committerThibault Delavallée <tde@openerp.com>
Fri, 20 Sep 2013 11:12:21 +0000 (13:12 +0200)
commit901f57382605ccb3498666d2c2120ef5143f438d
tree3dcb37f6263f3b36333a652e6d2dea1a46689989
parent8c265d7c981421ae6c2a6cf31b435d2141ac02d4
[REF] document_page: refactored the module, towards using it in website_blog
Main modifications:
- category is now a blog.catory object, instead of a document.page with type='category'
- added blog.tag model, to be able to tag posts
- cleaned document.page, now blog.post model, removing type and unnecessary features
- added chatter on blog.post, blog.category
- added subtypes to enable direct follow of posts when following a category
- updated document.page.history (now blog.post.history)
- commented menu creation, because this does not seem to be necessary anymore considering the new website
- updated wizard.document.page.history.show_diff, now blog.post.history.show_diff
- updated all views accordingly, as well as demo data
- removed the use of document_user group, simplified rules on blog.post (not done for new models)
- misc cleaning

Next step: merge with website_mail

bzr revid: tde@openerp.com-20130920111221-qy3x5eoyih26axn8
12 files changed:
addons/document_page/__openerp__.py
addons/document_page/document_page.py
addons/document_page/document_page_data.xml
addons/document_page/document_page_demo.xml
addons/document_page/document_page_view.xml
addons/document_page/security/document_page_security.xml
addons/document_page/security/ir.model.access.csv
addons/document_page/static/src/css/document_page.css
addons/document_page/test/document_page_test00.yml
addons/document_page/wizard/__init__.py
addons/document_page/wizard/document_page_show_diff.py
addons/document_page/wizard/document_page_show_diff_view.xml