You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.9 KiB
32 lines
1.9 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<!-- Adding fields in res.config.settings-->
|
|
<record id="res_config_settings_view_form" model="ir.ui.view">
|
|
<field name="name">res.config.settings.view.form.inherit.hr.biometric.attendance</field>
|
|
<field name="model">res.config.settings</field>
|
|
<field name="inherit_id"
|
|
ref="hr_attendance.res_config_settings_view_form"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//app[@name='hr_attendance']" position="inside">
|
|
<block title="Biometric Device">
|
|
<setting id="schedule_download" company_dependent="1"
|
|
help="If Schedule Download Enabled, You will get all the attendance and details from the Biometric device into your Odoo">
|
|
<field name="schedule_attendance_downloads"/>
|
|
<div class="mt16" invisible="not schedule_attendance_downloads"
|
|
required="schedule_attendance_downloads">
|
|
<div class="mt16 row"
|
|
title="Count of extra hours is considered from this date. Potential extra hours prior to this date are not considered.">
|
|
<label for="schedule_time_interval" string="Time Interval"
|
|
class="o_light_label col-lg-4"/>
|
|
<field name="schedule_time_interval" class="col-lg-2 w-30 " style="width:90px;"
|
|
required="schedule_attendance_downloads"/>
|
|
<field name="schedule_time_period" class="col-lg-2 w-30" style="width:190px;"
|
|
required="schedule_attendance_downloads"/>
|
|
</div>
|
|
</div>
|
|
</setting>
|
|
</block>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo>
|
|
|