~openerp-dev/openerp-web/trunk-purchase-visibility-nco

« back to all changes in this revision

Viewing changes to addons/web/doc/module/6

  • Committer: Nimesh Contractor(OpenERP)
  • Date: 2013-04-19 04:58:24 UTC
  • mfrom: (3718.1.1 trunk)
  • Revision ID: nco@tinyerp.com-20130419045824-kwxrg66yoz7jnkww
[MERGE] with trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# HG changeset patch
 
2
# Parent 0026cb80097a724db8d36371bc00da993a51a06f
 
3
 
 
4
diff --git a/__openerp__.py b/__openerp__.py
 
5
--- a/__openerp__.py
 
6
+++ b/__openerp__.py
 
7
@@ -4,5 +4,6 @@
 
8
     'description': "Basic example of a (future) web module",
 
9
     'category': 'Hidden',
 
10
     'depends': ['web'],
 
11
+    'data': ['web_example.xml'],
 
12
     'js': ['static/src/js/first_module.js'],
 
13
 }
 
14
diff --git a/web_example.xml b/web_example.xml
 
15
new file mode 100644
 
16
--- /dev/null
 
17
+++ b/web_example.xml
 
18
@@ -0,0 +1,11 @@
 
19
+<!-- web_example/web_example.xml -->
 
20
+<openerp>
 
21
+    <data>
 
22
+        <record model="ir.actions.client" id="action_client_example">
 
23
+            <field name="name">Example Client Action</field>
 
24
+            <field name="tag">example.action</field>
 
25
+        </record>
 
26
+        <menuitem action="action_client_example"
 
27
+                  id="menu_client_example"/>
 
28
+    </data>
 
29
+</openerp>