diff options
| author | Thibault Delavallée <tde@openerp.com> | 2013-09-20 13:12:21 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2013-09-20 13:12:21 +0200 |
| commit | 901f57382605ccb3498666d2c2120ef5143f438d (patch) | |
| tree | 3dcb37f6263f3b36333a652e6d2dea1a46689989 /addons/document_page/document_page_data.xml | |
| parent | 8c265d7c981421ae6c2a6cf31b435d2141ac02d4 (diff) | |
[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
Diffstat (limited to 'addons/document_page/document_page_data.xml')
| -rw-r--r-- | addons/document_page/document_page_data.xml | 58 |
1 files changed, 23 insertions, 35 deletions
diff --git a/addons/document_page/document_page_data.xml b/addons/document_page/document_page_data.xml index 1cef65694d8..85e8aaed530 100644 --- a/addons/document_page/document_page_data.xml +++ b/addons/document_page/document_page_data.xml @@ -1,41 +1,29 @@ <?xml version="1.0" encoding="UTF-8"?> <openerp> - <data noupdate="1"> - <record id="wiki_wiki_main" model="document.page"> - <field name="name">The OpenERP wiki</field> - <field name="tags">help, quick start, wiki, formatting</field> - <field name="minor_edit">0</field> - <field name="index">1</field> - <field name="summary">Initial Page</field> - <field name="content">==The OpenERP wiki== - -[[File:http://www.openerp.com/sites/all/themes/openerp/logo.png OpenERP]] + <!-- <data noupdate="1"> --> + <data> -The OpenERP wiki allows you to manage your enterprise's contents using wiki -restructured texts. This module provides a collaborative way to manage internal -FAQs, quality manuals, technical references, etc. - -==Keypoints== -* Same formating style than MediaWiki, -* Any number of wiki group for different purposes, -* Detailed history on all pages, -* Integrated with the document management system. - -==Why you should use the OpenERP integrated wiki than a separate wiki system ?== -* Allows links to any document of the system, -* Uses the access controls of OpenERP for uniq access rights management, -* Use it to describe projects, tasks, products, -* Integrated with customer portal to provide restricted external accesses, -* Linked to users processes for quality manuals. - -==To get more information== -* [[Basic Wiki Editing]] -* [[Wiki Documentation]] -* [http://openerp.com The OpenERP website] - - -</field> - <field name="parent_id" ref="wiki_groups_wikiformatting0"/> + <!-- Post-related subtypes for messaging / Chatter --> + <record id="mt_blog_post_new" model="mail.message.subtype"> + <field name="name">New Post</field> + <field name="res_model">blog.post</field> + <field name="default" eval="True"/> + <field name="description">New Post</field> + </record> + <record id="mt_blog_post_published" model="mail.message.subtype"> + <field name="name">Post Published</field> + <field name="res_model">blog.post</field> + <field name="default" eval="False"/> + <field name="description">Post Published</field> </record> + <!-- Project-related subtypes for messaging / Chatter --> + <record id="mt_blog_category_post_new" model="mail.message.subtype"> + <field name="name">New Post</field> + <field name="res_model">blog.category</field> + <field name="default" eval="True"/> + <field name="parent_id" eval="ref('mt_blog_post_new')"/> + <field name="relation_field">category_id</field> + </record> + </data> </openerp> |
