Files
enterprise-addons/l10n_ae_hr_payroll/views/hr_contract_template_views.xml
T

52 lines
2.8 KiB
XML

<odoo>
<record id="hr_contract_template_view_form" model="ir.ui.view">
<field name="name">hr.contract.template.view.form.inherit.l10_ae_hr_payroll</field>
<field name="model">hr.version</field>
<field name="inherit_id" ref="hr.hr_contract_template_form_view"/>
<field name="arch" type="xml">
<group name="salary_info" position="inside">
<group string="Allowances" invisible="country_code != 'AE'">
<label for="l10n_ae_housing_allowance" string="Housing"/>
<div class="o_row" name="l10n_ae_housing_allowance">
<field name="l10n_ae_housing_allowance" class="o_hr_narrow_field"/>
<span>/ month</span>
</div>
<label for="l10n_ae_transportation_allowance" string="Transportation"/>
<div class="o_row" name="l10n_ae_transportation_allowance">
<field name="l10n_ae_transportation_allowance" class="o_hr_narrow_field"/>
<span>/ month</span>
</div>
<label for="l10n_ae_other_allowances" string="Other"/>
<div class="o_row" name="l10n_ae_other_allowances">
<field name="l10n_ae_other_allowances" class="o_hr_narrow_field"/>
<span>/ month</span>
</div>
<label for="l10n_ae_total_salary"/>
<div class="o_row" name="l10n_ae_total_salary">
<field name="l10n_ae_total_salary" class="o_hr_narrow_field"/>
<span>/ month</span>
</div>
<separator string="Annual Leave Provision"/>
<label for="l10n_ae_number_of_leave_days" string="Leaves"/>
<div class="o_row" name="l10n_ae_number_of_leave_days">
<field name="l10n_ae_number_of_leave_days" class="o_hr_narrow_field"/>
<span>days</span>
</div>
<separator string="DEWS Benefits"/>
<field name="l10n_ae_is_dews_applied"/>
<separator string="End Of Service"/>
<label for="l10n_ae_is_computed_based_on_daily_salary"/>
<div name="o_row">
<field name="l10n_ae_is_computed_based_on_daily_salary" class="me-1"/>
<field name="l10n_ae_eos_daily_salary" invisible="not l10n_ae_is_computed_based_on_daily_salary" class="o_hr_narrow_field" widget="monetary"/>
<span invisible="not l10n_ae_is_computed_based_on_daily_salary">/ day</span>
</div>
</group>
</group>
</field>
</record>
</odoo>