summaryrefslogtreecommitdiff
path: root/addons/document_page/wizard/document_page_show_diff_view.xml
diff options
context:
space:
mode:
authorAntony Lesuisse <al@openerp.com>2012-08-12 16:47:30 +0200
committerAntony Lesuisse <al@openerp.com>2012-08-12 16:47:30 +0200
commit9211174a6fbbec8d2637c7d9295714c1657dd8ee (patch)
tree6c6a7dd3c2adf448b7139e1e353649e235e09ad3 /addons/document_page/wizard/document_page_show_diff_view.xml
parentd9624f3e76b2e6a7130a4c678ad99f00ac08db50 (diff)
parent0de43d05c237d0691525af2b89178c3028f985e0 (diff)
[MERGE] document_page aka wiki
it still uses the wiki syntax, switch to full html will occur after the autosizing of cleditor bzr revid: al@openerp.com-20120812144730-nxgxz8c77afczfr9
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.xml40
1 files changed, 40 insertions, 0 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
new file mode 100644
index 00000000000..c6066669dca
--- /dev/null
+++ b/addons/document_page/wizard/document_page_show_diff_view.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="utf-8"?>
+<openerp>
+ <data>
+
+ <!-- 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="type">form</field>
+ <field name="arch" type="xml">
+ <form string="Difference" version="7.0">
+ <field name="diff"/>
+ <footer>
+ <button string="Cancel" class="oe_link" special="cancel" />
+ </footer>
+ </form>
+ </field>
+ </record>
+ <!-- Create Index Action -->
+ <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="view_type">form</field>
+ <field name="view_mode">form</field>
+ <field name="target">new</field>
+ </record>
+ <!-- Create Index Action Window -->
+ <act_window
+ 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"
+ view_mode="form"
+ target="new"
+ view_type="form"/>
+
+ </data>
+</openerp>