~therp-nl/aeroo/openerp7-future

« back to all changes in this revision

Viewing changes to report_aeroo/wizard/remove_print_button_view.xml

  • Committer: root
  • Date: 2013-02-01 16:11:17 UTC
  • Revision ID: root@erp.kndati.lv-20130201161117-1n3261woqk45mw5c
1.1.0

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_aeroo_remove_print_button" model="ir.ui.view">
 
5
            <field name="name">Remove Print Button</field>
 
6
            <field name="model">aeroo.remove_print_button</field>
 
7
            <field name="arch" type="xml">
 
8
                <form string="Remove Print Button" version="7.0">
 
9
                    <group attrs="{'invisible':[('state','&lt;&gt;','remove')]}">
 
10
                        <label string="Or you want to remove print button for this report?"/>
 
11
                    </group>
 
12
                    <group attrs="{'invisible':[('state','&lt;&gt;','no_exist')]}">
 
13
                        <label string="No Report Action to delete for this report"/>
 
14
                    </group>
 
15
                    <group attrs="{'invisible':[('state','&lt;&gt;','done')]}">
 
16
                        <label string="The print button is successfully removed"/>
 
17
                    </group>
 
18
                    <separator colspan="4"/>
 
19
                    <footer>
 
20
                        <button name="do_action" string="_Ok" states="remove" type="object"/>
 
21
                        <button special="cancel" string="_No" states="remove"/>
 
22
                        <button special="cancel" string="_Cancel" states="no_exist,done" class="oe_link"/>
 
23
                    </footer>
 
24
                    <field name="state" invisible="1"/>
 
25
                </form>
 
26
            </field>
 
27
        </record>
 
28
 
 
29
       <act_window name="Remove Print Button"
 
30
            res_model="aeroo.remove_print_button"
 
31
            src_model="ir.actions.report.xml"
 
32
            view_mode="form"
 
33
            target="new"
 
34
            key2="client_action_multi"
 
35
            id="action_aeroo_remove_print_button"/>
 
36
 
 
37
    </data>
 
38
</openerp>