Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
4703 Vues

Hi,

I'm using odoo 8.0 with hr_payroll module and i would like to calculate seniority in years using a python rule. Is this possible?

The starting date is referenced in contract.date_start

Avatar
Ignorer
Meilleure réponse

Sorry for the late response.
It can be done in days like this:

seniority = (contract.date_end - contract.date_start).days


Avatar
Ignorer
Meilleure réponse

I have exactly the same problem. I am looking for the solution for more than three weeks without finding.

You found something?

Avatar
Ignorer
Publications associées Réponses Vues Activité
1
oct. 24
1838
1
févr. 22
3570
1
juil. 24
7352
0
nov. 15
3852
0
mars 15
4622