[IMP] hr_payroll: improve user experience

The commit brings various features to the payroll app :
- visual improvements
- choice to recreate the original after a work schedule change
- after a new contract is sign, its differences with the last one is displayed in the chatter

TaskID : 2762038 [Payroll] Misc improvements

closes odoo/odoo#85581

Related: odoo/enterprise#24873
Signed-off-by: Kevin Baptiste <kba@odoo.com>
This commit is contained in:
Dossogne Bertrand
2022-04-26 09:57:43 +02:00
parent 7a7ca7d631
commit f10b59c964
@@ -115,7 +115,12 @@
<field name="res_model">hr.contract.history</field>
<field name="view_mode">tree,kanban,form</field>
<field name="search_view_id" ref="hr_contract_history_view_search"/>
<field name="context">{'search_default_active_employees': 1}</field>
<field name="context">
{
'search_default_active_employees': 1,
'search_default_group_by_state': 1
}
</field>
</record>
<record id="hr_contract_history_to_review_view_list_action" model="ir.actions.act_window">
<field name="name">Contracts to Review</field>