2010-04-12 12:41:47 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
|
|
|
|
2012-08-10 00:09:08 +00:00
|
|
|
<!-- Create Index Form view -->
|
2012-06-09 22:12:48 +00:00
|
|
|
<record id="view_wiki_show_diff" model="ir.ui.view">
|
2010-04-12 12:41:47 +00:00
|
|
|
<field name="name">Show Difference</field>
|
[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
2013-09-20 11:12:21 +00:00
|
|
|
<field name="model">blog.post.history.show_diff</field>
|
2010-04-12 12:41:47 +00:00
|
|
|
<field name="arch" type="xml">
|
2014-06-12 07:09:59 +00:00
|
|
|
<form string="Difference">
|
2012-10-09 14:34:33 +00:00
|
|
|
<field name="diff" widget="html" options='{"safe": True}'/>
|
2012-07-10 16:40:11 +00:00
|
|
|
<footer>
|
|
|
|
<button string="Cancel" class="oe_link" special="cancel" />
|
|
|
|
</footer>
|
2012-06-15 10:31:43 +00:00
|
|
|
</form>
|
2010-04-12 12:41:47 +00:00
|
|
|
</field>
|
2012-06-09 22:12:48 +00:00
|
|
|
</record>
|
2012-08-10 00:09:08 +00:00
|
|
|
<!-- Create Index Action -->
|
2012-06-09 22:12:48 +00:00
|
|
|
<record id="action_view_wiki_show_diff" model="ir.actions.act_window">
|
2010-04-12 12:41:47 +00:00
|
|
|
<field name="name">Difference</field>
|
|
|
|
<field name="type">ir.actions.act_window</field>
|
[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
2013-09-20 11:12:21 +00:00
|
|
|
<field name="res_model">blog.post.history.show_diff</field>
|
2010-04-12 12:41:47 +00:00
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">form</field>
|
|
|
|
<field name="target">new</field>
|
2012-06-09 22:12:48 +00:00
|
|
|
</record>
|
2012-08-10 00:09:08 +00:00
|
|
|
<!-- Create Index Action Window -->
|
|
|
|
<act_window
|
|
|
|
id="action_view_wiki_show_diff_values"
|
|
|
|
key2="client_action_multi"
|
|
|
|
name="Difference"
|
[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
2013-09-20 11:12:21 +00:00
|
|
|
res_model="blog.post.history.show_diff"
|
|
|
|
src_model="blog.post.history"
|
2012-08-10 00:09:08 +00:00
|
|
|
view_mode="form"
|
|
|
|
target="new"
|
|
|
|
view_type="form"/>
|
2010-04-12 12:41:47 +00:00
|
|
|
|
|
|
|
</data>
|
2012-06-09 22:12:48 +00:00
|
|
|
</openerp>
|