1
<?xml version="1.0" encoding="utf-8"?>
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','<>','remove')]}">
10
<label string="Or you want to remove print button for this report?"/>
12
<group attrs="{'invisible':[('state','<>','no_exist')]}">
13
<label string="No Report Action to delete for this report"/>
15
<group attrs="{'invisible':[('state','<>','done')]}">
16
<label string="The print button is successfully removed"/>
18
<separator colspan="4"/>
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"/>
24
<field name="state" invisible="1"/>
29
<act_window name="Remove Print Button"
30
res_model="aeroo.remove_print_button"
31
src_model="ir.actions.report.xml"
34
key2="client_action_multi"
35
id="action_aeroo_remove_print_button"/>