Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
4836 Zobrazení

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
Zrušit
Nejlepší odpověď

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

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


Avatar
Zrušit
Nejlepší odpověď

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

You found something?

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
říj 24
2117
1
úno 22
3784
1
čvc 24
7578
0
lis 15
4066
0
bře 15
4854