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.
 
 
 
 
 

75 lines
3.9 KiB

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record id="late_check_in_setting_view" model="ir.ui.view">
<field name="name">Late Check-in Configurations</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="//div[@data-key='hr_attendance']" position="inside">
<!-- <div class="app_settings_block" data-string="late_check_in" string="Late Check in" data-key="employee_late_check_in" groups="hr.group_hr_manager">-->
<h2>Late Check-in</h2>
<div class="row mt16 o_settings_container">
<div class="col-xs-12 col-md-6 o_setting_box">
<div class="o_setting_right_pane">
<label for="deduction_amount"/>
<div class="text-muted">
</div>
<div>
<div class="content-group mt16">
<!-- <group>-->
<field name="deduction_amount" colspan="4" nolabel="1"/>/<field name="deduction_type" style="width:100px;"/>
<!-- </group>-->
</div>
</div>
<label for="late_check_in_after"/>
<div class="text-muted">
</div>
<div>
<div class="content-group mt16">
<!-- <group>-->
<field name="late_check_in_after" colspan="4" nolabel="1"/>Minutes
<!-- </group>-->
</div>
</div>
</div>
</div>
<div class="col-xs-12 col-md-6 o_setting_box">
<div class="o_setting_right_pane">
<label for="maximum_minutes"/>
<div class="text-muted">
</div>
<div>
<div class="content-group mt16">
<field name="maximum_minutes" colspan="4" nolabel="1"/>
</div>
</div>
</div>
</div>
</div>
<!-- </div>-->
</xpath>
</field>
</record>
<!-- <record id="late_check_in_settings_action" model="ir.actions.act_window">-->
<!-- <field name="name">Late Check-in Configuration</field>-->
<!-- <field name="res_model">res.config.settings</field>-->
<!-- <field name="view_id" ref="late_check_in_setting_view"/>-->
<!-- <field name="view_mode">form</field>-->
<!-- <field name="target">inline</field>-->
<!-- <field name="context">{'module' : 'employee_late_check_in'}</field>-->
<!-- </record>-->
<!-- <menuitem id="employee_late_check_in_settings_menu" name="Late Check-in" sequence="60"-->
<!-- parent="hr_attendance.menu_hr_attendance_root"-->
<!-- action="late_check_in_settings_action"-->
<!-- web_icon=""/>-->
</data>
</odoo>