[IMP] hr_payroll: Move wage_type/schedule_pay on contract

Purpose
=======

Currently the wage_type and the schedule pay are defined on the
salary structure type level, preventing users paying different
employees on the same structure with different salary types or
periodicity, which is a employee choice on certain countries,
like Mexico or the USA.

Specification
=============

Move the logic at the contract level, but keep the structure
type field definition to be used as default values.

Part-of: odoo/odoo#124222
This commit is contained in:
Yannick Tivisse
2023-08-17 10:32:48 +02:00
parent 00ab68201e
commit e7ba02b1b1
@@ -233,7 +233,7 @@
<label for="wage"/>
<div class="o_row mw-50" name="wage">
<field name="wage" class="oe_inline o_hr_narrow_field" nolabel="1"/>
<div class="mb-3">/ month</div>
<div class="mb-3" name="wage_period_label">/ month</div>
</div>
</group>
<group name="yearly_advantages"/>