Skip to Content
Menu
This question has been flagged
2 Replies
4708 Rodiniai

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

Portretas
Atmesti
Best Answer

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

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


Portretas
Atmesti
Best Answer

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

You found something?

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
spal. 24
1870
1
vas. 22
3582
1
liep. 24
7359
0
lapkr. 15
3857
0
kov. 15
4636