Skip to Content
मेन्यू
This question has been flagged
2 Replies
4648 Views

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
Discard
Best Answer

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

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


Avatar
Discard
Best Answer

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

You found something?

Avatar
Discard
Related Posts Replies Views Activity
1
अक्तू॰ 24
1708
1
फ़र॰ 22
3475
1
जुल॰ 24
7240
0
नव॰ 15
3751
0
मार्च 15
4492