~unifield-team/unifield-wm/us-826

« back to all changes in this revision

Viewing changes to msf_audittrail/wizard/audittrail_view_log_view.xml

  • Committer: Quentin THEURET
  • Date: 2011-11-23 15:09:52 UTC
  • mto: This revision was merged to the branch mainline in revision 498.
  • Revision ID: qt@tempo-consulting.fr-20111123150952-tbia3tjs1sdvlvyc
[ADD] Added msf_audittrail module
[FIX] Fixed a bug on object_query module
[FIX] Fixed the bug which hides the Links on left toolbar

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
    
 
5
    <!-- Audittrail View Log  wizard-->
 
6
    
 
7
                <record id="view_audittrail_view_log" model="ir.ui.view">
 
8
            <field name="name">audittrail.view.log.form</field>
 
9
            <field name="model">audittrail.view.log</field>
 
10
            <field name="type">form</field>
 
11
            <field name="arch" type="xml">
 
12
                <form string="Audit Logs">
 
13
                        <group colspan="4" >
 
14
                                 <field name="from" colspan="4"/>
 
15
                                 <newline/>
 
16
                                 <field name="to" colspan="4"/>   
 
17
                    </group>
 
18
                        <separator string="" colspan="4" />
 
19
                    <group colspan="4" col="6">
 
20
                        <button icon="gtk-cancel" special="cancel"
 
21
                                string="Cancel" />
 
22
                        <button icon="gtk-open" string="Open Logs"
 
23
                                name="log_open_window" type="object" />
 
24
                    </group>
 
25
               </form>
 
26
            </field>
 
27
                </record>
 
28
  
 
29
  <!-- action for audittrail view log wizard -->
 
30
                
 
31
        <record id="action_audittrail_view_log" model="ir.actions.act_window">
 
32
            <field name="name">View log</field>
 
33
            <field name="res_model">audittrail.view.log</field>
 
34
            <field name="view_type">form</field>
 
35
            <field name="view_mode">tree,form</field>
 
36
           <field name="view_id" ref="view_audittrail_view_log"/> 
 
37
           <field name="target">new</field>
 
38
        </record>
 
39
        
 
40
    </data>
 
41
</openerp>