Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
4670 Tampilan

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
Buang
Jawaban Terbai

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

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


Avatar
Buang
Jawaban Terbai

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

You found something?

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Okt 24
1753
1
Feb 22
3502
1
Jul 24
7277
0
Nov 15
3792
0
Mar 15
4534