~factorlibre/bhc/bhc-es-traslation

« back to all changes in this revision

Viewing changes to hr_holidays_cancel/hr_holidays.xml

  • Committer: Julien
  • Date: 2014-03-26 10:14:00 UTC
  • Revision ID: julien@bhc-debian-20140326101400-el3beaune5dvgq51
Add hr_holidays_cancel 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="edit_holiday_new_inh" model="ir.ui.view">
 
5
            <field name="name">Leave Request</field>
 
6
            <field name="model">hr.holidays</field>
 
7
            <field name="inherit_id" ref="hr_holidays.edit_holiday_new"/>
 
8
            <field name="arch" type="xml">
 
9
                    <button string="Reset to New" name="set_to_draft" states="refuse" type="object" groups="base.group_hr_user" position="replace">
 
10
                        <button string="Reset to New" name="set_to_draft" states="refuse,confirm,validate,validate1" type="object" groups="base.group_user" />
 
11
                    </button>
 
12
            </field>
 
13
        </record>
 
14
   </data>
 
15
</openerp>