İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
4650 Görünümler

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
Vazgeç
En İyi Yanıt

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

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


Avatar
Vazgeç
En İyi Yanıt

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

You found something?

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Eki 24
1708
1
Şub 22
3476
1
Tem 24
7243
0
Kas 15
3754
0
Mar 15
4496