2012-04-02 05:44:18 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
|
|
|
<record id="view_hr_timehseet_config_settings" model="ir.ui.view">
|
2012-04-10 10:56:32 +00:00
|
|
|
<field name="name">hr settings for timesheets</field>
|
|
|
|
<field name="model">hr.config.settings</field>
|
2012-04-02 05:44:18 +00:00
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="inherit_id" ref="hr.view_human_resources_configuration"/>
|
|
|
|
<field name="arch" type="xml">
|
2012-07-19 11:21:03 +00:00
|
|
|
<xpath expr="//div[@name='hr_timesheet']" position="after">
|
|
|
|
<div>
|
|
|
|
<label for="timesheet_range" attrs="{'invisible': [('module_hr_timesheet_sheet','=',False)]}"/>
|
|
|
|
<field name="timesheet_range" attrs="{'invisible': [('module_hr_timesheet_sheet','=',False)], 'required': [('module_hr_timesheet_sheet','=',True)]}" class="oe_inline"/>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<label for="timesheet_max_difference" attrs="{'invisible': [('module_hr_timesheet_sheet','=',False)]}"/>
|
|
|
|
<field name="timesheet_max_difference" attrs="{'invisible': [('module_hr_timesheet_sheet','=',False)], 'required': [('module_hr_timesheet_sheet','=',True)]}" class="oe_inline"/>
|
|
|
|
</div>
|
|
|
|
</xpath>
|
2012-04-02 05:44:18 +00:00
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
</data>
|
|
|
|
</openerp>
|