diff options
| author | jbm-odoo <jbm@odoo.com> | 2019-02-21 16:18:48 +0000 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2019-04-17 12:08:29 +0000 |
| commit | dbd6fb4e8c43ac0f7b406eebedcaa5d6da56a142 (patch) | |
| tree | 2e3eb348a6c5c1c3a2201c34a486169baea5d7f3 /addons/hr_contract/models | |
| parent | c159735a5493217d665865ccea5f86e9f26d80df (diff) | |
[IMP] l10n_be_hr_payroll: manage credit time during contract
In Belgium, we have the concept of time credit and parental leaves.
Globally the person keep full time rights and the initial contract
is always signed on a full time basis. But an avenant with the new
time schedule must be signed.
A new wizard on contract allows to manage credit time. We can
specify the start and stop date, the new calendar and the work
time ratio. The new wage will be computed.
After validation, the current contract will be duplicate two times,
one modified for the time credit contract and the second for after
the time credit period. The current contract will have end date at
the beginnig of the time credit period.
TaskID: 1924200
Diffstat (limited to 'addons/hr_contract/models')
| -rw-r--r-- | addons/hr_contract/models/hr_contract.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/hr_contract/models/hr_contract.py b/addons/hr_contract/models/hr_contract.py index bf1c5fbd58f..f41d4faba71 100644 --- a/addons/hr_contract/models/hr_contract.py +++ b/addons/hr_contract/models/hr_contract.py @@ -86,6 +86,8 @@ class Contract(models.Model): visa_expire = fields.Date('Visa Expire Date', related="employee_id.visa_expire", readonly=False) reported_to_secretariat = fields.Boolean('Social Secretariat', help='Green this button when the contract information has been transfered to the social secretariat.') + hr_responsible_id = fields.Many2one('res.users', 'HR Responsible', tracking=True, + help='Person responsible for validating the employee\'s contracts.') def _expand_states(self, states, domain, order): return [key for key, val in type(self).state.selection] |
