summaryrefslogtreecommitdiff
path: root/addons/document_page/wizard/document_page_show_diff_view.xml
diff options
context:
space:
mode:
authorSanjay Gohel (Open ERP) <sgo@tinyerp.com>2012-08-13 12:19:24 +0530
committerSanjay Gohel (Open ERP) <sgo@tinyerp.com>2012-08-13 12:19:24 +0530
commit03e6f93fcffa7775754bf5198478b5927d8ffe1c (patch)
treeb5c0637246cabb56f42d9f1e1ff37f75faa9f6c8 /addons/document_page/wizard/document_page_show_diff_view.xml
parent374b834d9a689a1a9a19bc5fd1cc1e2ed7e04bca (diff)
parent2d105770009ffd5cbd5a69346cbb4ac529d6d7e7 (diff)
[MERGE]merge with trunk
bzr revid: sgo@tinyerp.com-20120813064924-cvva3iqsxik3sn4q
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>