summaryrefslogtreecommitdiff
path: root/addons/document_page/wizard/document_page_show_diff_view.xml
diff options
context:
space:
mode:
authorThibault Delavallée <tde@openerp.com>2013-09-20 13:12:21 +0200
committerThibault Delavallée <tde@openerp.com>2013-09-20 13:12:21 +0200
commit901f57382605ccb3498666d2c2120ef5143f438d (patch)
tree3dcb37f6263f3b36333a652e6d2dea1a46689989 /addons/document_page/wizard/document_page_show_diff_view.xml
parent8c265d7c981421ae6c2a6cf31b435d2141ac02d4 (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/wizard/document_page_show_diff_view.xml')
-rw-r--r--addons/document_page/wizard/document_page_show_diff_view.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/addons/document_page/wizard/document_page_show_diff_view.xml b/addons/document_page/wizard/document_page_show_diff_view.xml
index e2d5ef1af4b..3693af7caad 100644
--- a/addons/document_page/wizard/document_page_show_diff_view.xml
+++ b/addons/document_page/wizard/document_page_show_diff_view.xml
@@ -5,7 +5,7 @@
<!-- Create Index Form view -->
<record id="view_wiki_show_diff" model="ir.ui.view">
<field name="name">Show Difference</field>
- <field name="model">wizard.document.page.history.show_diff</field>
+ <field name="model">blog.post.history.show_diff</field>
<field name="arch" type="xml">
<form string="Difference" version="7.0">
<field name="diff" widget="html" options='{"safe": True}'/>
@@ -19,7 +19,7 @@
<record id="action_view_wiki_show_diff" model="ir.actions.act_window">
<field name="name">Difference</field>
<field name="type">ir.actions.act_window</field>
- <field name="res_model">wizard.document.page.history.show_diff</field>
+ <field name="res_model">blog.post.history.show_diff</field>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="target">new</field>
@@ -29,8 +29,8 @@
id="action_view_wiki_show_diff_values"
key2="client_action_multi"
name="Difference"
- res_model="wizard.document.page.history.show_diff"
- src_model="document.page.history"
+ res_model="blog.post.history.show_diff"
+ src_model="blog.post.history"
view_mode="form"
target="new"
view_type="form"/>