~vauxoo/addons-vauxoo/7.0-addons-vauxoo-email_template_followers-dev-julio

« back to all changes in this revision

Viewing changes to ir_values_menu/ir_values_view.xml

  • Committer: Isaac Lopez
  • Date: 2012-07-30 21:33:56 UTC
  • mto: (525.1.14 vaddons)
  • mto: This revision was merged to the branch mainline in revision 527.
  • Revision ID: isaac@vauxoo.com-20120730213356-ky4kcyp426lcpqmb
[ADD][ir_values_menu] Add new module

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="utf-8"?>
 
2
<openerp>
 
3
    <data>
 
4
        <record id="view_ir_values_default_form" model="ir.ui.view">
 
5
            <field name="name">view.ir.values.default.form</field>
 
6
            <field name="model">ir.values</field>
 
7
            <field name="type">form</field>
 
8
            <field name="arch" type="xml">
 
9
                <form string="Defaults Values">
 
10
                    <field name="name"/>
 
11
                    <field name="model"/>
 
12
                    <field name="key"/>
 
13
                    <field name="key2"/>
 
14
                    <field name="object"/>
 
15
                    <field name="res_id"/>
 
16
                    <field name="user_id"/>
 
17
                    <field name="company_id"/>
 
18
                    <field name="value_unpickle"/>
 
19
                    <field name="meta_unpickle"/>
 
20
                </form>
 
21
            </field>
 
22
        </record>
 
23
        <record id="view_ir_values_default_tree" model="ir.ui.view">
 
24
            <field name="name">view.ir.values.default.tree</field>
 
25
            <field name="model">ir.values</field>
 
26
            <field name="type">tree</field>
 
27
            <field name="arch" type="xml">
 
28
                <tree string="Defaults Values">
 
29
                    <field name="name"/>
 
30
                    <field name="model"/>
 
31
                    <field name="key"/>
 
32
                    <field name="key2"/>
 
33
                    <field name="user_id"/>
 
34
                    <field name="company_id"/>
 
35
                </tree>
 
36
            </field>
 
37
        </record>
 
38
        
 
39
        <record id="action_default_values" model="ir.actions.act_window">
 
40
            <field name="name">Defaults Values</field>
 
41
            <field name="res_model">ir.values</field>
 
42
            <field name="view_type">form</field>
 
43
            <field name="domain">[('key','=','default')]</field>
 
44
            <field name="view_mode">tree,form</field>
 
45
        </record>
 
46
        <menuitem id="defaults_values" name="Defaults Values" parent="base.menu_config" action="action_default_values"/>
 
47
<!--
 
48
        <menuitem action="action_params_pac"   id="menu_params_pac" parent="menu_pacs"/>
 
49
-->
 
50
 
 
51
    </data>
 
52
</openerp>