summaryrefslogtreecommitdiff
path: root/addons/document_page/wizard/document_page_show_diff_view.xml
diff options
context:
space:
mode:
authorAtul Patel (OpenERP) <atp@tinyerp.com>2012-08-13 10:18:45 +0530
committerAtul Patel (OpenERP) <atp@tinyerp.com>2012-08-13 10:18:45 +0530
commit0135a1f08b7e4fc267baa00105db6ef4af098b07 (patch)
tree7e1772dcf0928d18a351ffc625a7e1fb58967b2b /addons/document_page/wizard/document_page_show_diff_view.xml
parentf2cb572602e3881a5699f0cb1754050488390d0e (diff)
parent9211174a6fbbec8d2637c7d9295714c1657dd8ee (diff)
[MERGE]: Merged with lp:openobject-addons
bzr revid: atp@tinyerp.com-20120813044845-b26ju3ux5yn4y0ij
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>