Before this commit:
It was complicated to manage the contracts as they were all displayed in
one view.
When the contract was a time credit one (which is by definition a temporary
situation) the data used was based on the time credit and not on the full time
equivalent. This usually forced the HR to create fake new contracts without
time credit for the appraisals.
After this commit:
A new report will ease the followup of contracts with the time running.
It comes with a new view that highlight the reference information which
allow to easily manage credit time. Simulation is also made on FTE data which
eases HR work.
This commit also fixes a bug in the simulation with the meal voucher (only one
was taken into account in the summary right panel.
The wage on signature is now populated when the document is signed.
Closes odoo/odoo#58120
Related PR: odoo/enterprise#13384, odoo/upgrade#1802
task-2326407
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
41 lines
2.1 KiB
XML
41 lines
2.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<data noupdate="1">
|
|
<record model="ir.module.category" id="base.module_category_human_resources_contracts">
|
|
<field name="description">Helps you manage your contracts.</field>
|
|
<field name="sequence">10</field>
|
|
</record>
|
|
|
|
<record id="hr_contract.group_hr_contract_manager" model="res.groups">
|
|
<field name="name">Administrator</field>
|
|
<field name="category_id" ref="base.module_category_human_resources_contracts"/>
|
|
<field name="implied_ids" eval="[(4, ref('base.group_user')), (4, ref('hr.group_hr_user'))]"/>
|
|
<field name="users" eval="[(4, ref('base.user_root')), (4, ref('base.user_admin'))]"/>
|
|
</record>
|
|
|
|
<record id="base.default_user" model="res.users">
|
|
<field name="groups_id" eval="[(4,ref('hr_contract.group_hr_contract_manager'))]"/>
|
|
</record>
|
|
|
|
<record id="ir_rule_hr_contract_history_multi_company" model="ir.rule">
|
|
<field name="name">HR Contract History: Multi Company</field>
|
|
<field name="model_id" ref="model_hr_contract_history"/>
|
|
<field name="domain_force">['|', ('employee_id.company_id', '=', False), ('employee_id.company_id', 'in', company_ids)]</field>
|
|
</record>
|
|
|
|
<record id="ir_rule_hr_contract_multi_company" model="ir.rule">
|
|
<field name="name">HR Contract: Multi Company</field>
|
|
<field name="model_id" ref="model_hr_contract"/>
|
|
<field name="domain_force">['|', ('company_id', '=', False), ('company_id', 'in', company_ids)]</field>
|
|
</record>
|
|
|
|
<record id="ir_rule_hr_payroll_structure_type_multi_company" model="ir.rule">
|
|
<field name="name">HR Payroll Structure Type: Multi Company</field>
|
|
<field name="model_id" ref="model_hr_payroll_structure_type"/>
|
|
<field name="global" eval="True"/>
|
|
<field name="domain_force">['|', ('country_id', '=', False), ('country_id', 'in', user.env.companies.mapped('country_id').ids)]</field>
|
|
</record>
|
|
|
|
</data>
|
|
</odoo>
|