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.
45 lines
2.2 KiB
45 lines
2.2 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<!-- Form view of Settings-->
|
|
<record id="res_config_settings_view_form" model="ir.ui.view">
|
|
<field name="name">res.config.settings.view.form.inherit.automatic.payroll</field>
|
|
<field name="model">res.config.settings</field>
|
|
<field name="inherit_id"
|
|
ref="hr_payroll_community.res_config_settings_view_form"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//div[@data-key='hr_payroll_community']//div[hasclass('o_settings_container')]"
|
|
position="inside">
|
|
<div class="col-lg-6 col-12 o_setting_box">
|
|
<div class="o_setting_left_pane">
|
|
<field name="generate_payslip"/>
|
|
</div>
|
|
<div class="o_setting_right_pane">
|
|
<label string="Automatic Payroll"
|
|
for="generate_payslip"/>
|
|
<div class="text-muted">
|
|
Automatic Generation of Payslip batches and Payslips
|
|
</div>
|
|
<div class="content-group"
|
|
invisible="generate_payslip == False">
|
|
<group>
|
|
<field name="option" class="o_light_label"
|
|
widget="radio" required="True"/>
|
|
</group>
|
|
<div class="text-muted"
|
|
invisible="option in ['first','end']">
|
|
Note that, each month have either 30 or 31 days,
|
|
with the except for February,which had 29 days
|
|
and gained an extra day every fourth year.
|
|
</div>
|
|
<group col="2">
|
|
<field name="generate_day"
|
|
invisible="option in ['first','end']"
|
|
string="Day" type="object"/>
|
|
</group>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo>
|
|
|